-
Notifications
You must be signed in to change notification settings - Fork 17
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
Added top_defines_gen template and made top_defines non-templated #101
Conversation
common/hdl/top_defines.vhd
Outdated
@@ -1,7 +1,11 @@ | |||
-- AUTOGENERATED |
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.
Probably should remove the autogenerated header, as this file no longer is. I think this file should be moved to the defines directory as well?
@@ -301,8 +301,8 @@ def generate_soft_blocks(self): | |||
"soft_blocks.vhd") | |||
self.expand_template("addr_defines.vhd.jinja2", context, hdl_dir, | |||
"addr_defines.vhd") | |||
self.expand_template("top_defines.vhd.jinja2", context, hdl_dir, | |||
"top_defines.vhd") | |||
self.expand_template("top_defines_gen.vhd.jinja2", context, hdl_dir, |
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.
Can you also make sure this file gets generated for the testbenches. Maybe at the same time as the module.tcl? You may need to generate some dummy parameters for total_pos_bus_length
Seeing as the makefile always generates the app I have just added the generated top_defines_gen.vhd path to both the tcl scripts. I'm not 100% sure this is a good idea though as this won't work in an instance where the test scripts are ever completely separated from the app generation... |
This will resolve #82 |
No description provided.