-
Notifications
You must be signed in to change notification settings - Fork 663
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remove GenerateSimFiles and use make instead #879
Changes from all commits
1d52899
9cdd0e1
95f55a6
eb85415
a0de9a0
453b1b5
2874c98
383d11c
16cdc88
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -73,6 +73,21 @@ default: $(mcs) | |
fpga_dir := $(base_dir)/fpga/fpga-shells/$(FPGA_BRAND) | ||
fpga_common_script_dir := $(fpga_dir)/common/tcl | ||
|
||
######################################################################################### | ||
# setup misc. sim files | ||
######################################################################################### | ||
SIM_FILE_REQS += \ | ||
$(ROCKETCHIP_RSRCS_DIR)/vsrc/EICG_wrapper.v | ||
|
||
# copy files but ignore *.h files in *.f (match vcs) | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Are you trying to match vcs here or are you assuming that all FPGA synthesis tools will support There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This matches what |
||
$(sim_files): $(SIM_FILE_REQS) | $(build_dir) | ||
cp -f $^ $(build_dir) | ||
$(foreach file,\ | ||
$^,\ | ||
$(if $(filter %.h,$(file)),\ | ||
,\ | ||
echo "$(addprefix $(build_dir)/, $(notdir $(file)))" >> $@;)) | ||
|
||
######################################################################################### | ||
# import other necessary rules and variables | ||
######################################################################################### | ||
|
This file was deleted.
This file was deleted.
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -21,3 +21,6 @@ SIM_LDFLAGS = \ | |
-lfesvr \ | ||
-ldramsim \ | ||
$(EXTRA_SIM_LDFLAGS) | ||
|
||
SIM_FILE_REQS += \ | ||
$(ROCKETCHIP_RSRCS_DIR)/vsrc/EICG_wrapper.v | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Note: If chipsalliance/rocket-chip#2810 goes through then this is unnecessary. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice. Everything I see this I have to remind myself why we need this. Glad to see it getting removed