-
Notifications
You must be signed in to change notification settings - Fork 415
Adding includes_dir and include_list_add to task config file #1772
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
Adding includes_dir and include_list_add to task config file #1772
Conversation
43e8a43
to
8bf8da1
Compare
There are some CI failures.
|
The too many branches and too many statements lint errors are about long functions and would usually be fixed with helper functions, e.g.: https://pycodequ.al/docs/pylint-messages/r0912-too-many-branches.html |
vtr_flow/tasks/regression_tests/vtr_reg_basic/basic_no_timing/config/config.txt
Outdated
Show resolved
Hide resolved
8bf8da1
to
6aeaba8
Compare
vtr_flow/tasks/regression_tests/vtr_reg_basic/basic_no_timing/config/config.txt
Outdated
Show resolved
Hide resolved
6aeaba8
to
abe100a
Compare
vtr_flow/tasks/regression_tests/vtr_reg_basic/hdl_include/config/config.txt
Show resolved
Hide resolved
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.
Thanks for the enhanced comments. I have some additional feedback (not too big). Also, CI is failing so there seems to be an issue with the include files. E.g.
File "/home/runner/work/vtr-verilog-to-routing/vtr-verilog-to-routing/vtr_flow/scripts/python_libs/vtr/task.py", line 462, in create_jobs
includes,
UnboundLocalError: local variable 'includes' referenced before assignment
Error: Process completed with exit code 1.
4181954
to
e258a99
Compare
Anytime @vaughnbetz , thanks for your time providing good comments. Dear @aman26kbm , hoping this would ease the recent work for integrating the Koios benchmark in the VTR flow :) That would be great if you have the include feature tested with Koios circuits. Please let me know if you face any errors during this process. |
Thanks, @sdamghan . I'll use this for Koios when this PR gets merged and let you know if I face any issues :) |
Looks good. One last typo to fix (flagged above) but that's not merge-gating (but good to fix after the merge if you don't get to it before). |
…ask config file Signed-off-by: Seyed Alireza Damghani <[email protected]>
…insic into multiple files - Adding hdl_include to vtr_reg_basic, to validate the include capability for tasks config file Signed-off-by: Seyed Alireza Damghani <[email protected]>
Signed-off-by: Seyed Alireza Damghani <[email protected]>
e258a99
to
bb87df4
Compare
CI passed successfully, merging to remove the barrier for Koios benchmark PR. |
Description
includes_dir
andinclude_list_add
have been added to task config files as optional parameters. Users can pass additional (.v) or (.vh) files including some extra feature to the VTR flow.Usage:
-include 1.v 2.vh ...
includes_dir
andinclude_list_add
need to be specified in the task config.txtRelated Issue
PR #1753
PR #1774
Motivation and Context
Support a new feature to add separate files than the main circuit design to cover additional design supports like macro definitons
How Has This Been Tested?
run_vtr_task
run_vtr_flow
run_reg_test
Types of changes
Checklist: