Skip to content

Commit

Permalink
Add hook into Chipyard build system for FireSim
Browse files Browse the repository at this point in the history
  • Loading branch information
abejgonzalez committed Jul 31, 2024
1 parent 302d607 commit 0a29d4c
Show file tree
Hide file tree
Showing 2 changed files with 46 additions and 0 deletions.
3 changes: 3 additions & 0 deletions sims/firesim-wrapper/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
*
!.gitignore
!Makefile
43 changes: 43 additions & 0 deletions sims/firesim-wrapper/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
#########################################################################################
# firesim-wrapper makefile
#########################################################################################

#########################################################################################
# general path variables
#########################################################################################
base_dir=$(abspath ../..)
sim_dir=$(abspath .)

#########################################################################################
# include shared variables
#########################################################################################
include $(base_dir)/variables.mk

#########################################################################################
# entrypoint
#########################################################################################
.PHONY: default
default: $(FIRRTL_FILE) $(ANNO_FILE)

#########################################################################################
# unused
#########################################################################################
sim_name = unused
sim_prefix = unused
sim = unused
sim_debug = unused

$(sim_files): | $(build_dir)
touch $@

#########################################################################################
# import other necessary rules and variables
#########################################################################################
include $(base_dir)/common.mk

#########################################################################################
# general cleanup rules
#########################################################################################
.PHONY: clean
clean:
rm -rf $(CLASSPATH_CACHE) $(gen_dir)

0 comments on commit 0a29d4c

Please # to comment.