Skip to content
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

Multiple Verilog input files #1849

Closed
jgoeders opened this issue Sep 15, 2021 · 2 comments
Closed

Multiple Verilog input files #1849

jgoeders opened this issue Sep 15, 2021 · 2 comments
Labels
enhancement Feature enhancement Odin Odin II Logic Synthesis Tool: Unsorted item VTR Flow VTR Design Flow (scripts/benchmarks/architectures)

Comments

@jgoeders
Copy link
Contributor

It's my understanding that we don't currently support having multiple Verilog source files. Is that true? We talked about having the Edalize runner (olofk/edalize#263) support this.

I don't believe ODIN II currently supports it. I wasn't sure if the plan was to:
a) Update ODIN II to support it, or
b) Update run_vtr_flow.py to accept and concatenate these files before passing to ODIN II>

@jgoeders jgoeders added enhancement Feature enhancement Odin Odin II Logic Synthesis Tool: Unsorted item VTR Flow VTR Design Flow (scripts/benchmarks/architectures) labels Sep 15, 2021
@sdamghan
Copy link
Member

@jgoeders
Odin-II currently does support multiple Verilog and Verilog Header files. You would need to pass all files as the same as the following command:

./odin_II -V file1.v file2.v file3.vh ...

Regarding the run_vtr_flow script, new options, named include_list_add and include_dir are recently added to VTR task config file, so you would be able to pass additional Verilog files to the main design. However, you would need to know that each include_list_add file is considered for all circuit_list_add files, as the same as the architecture file. For more information I would recommend you to have a look at hdl_include task and Verilog files.

@jgoeders
Copy link
Contributor Author

OK, thanks. Didn't realize this existed. I'll close this since it sounds like the functionality is there. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Feature enhancement Odin Odin II Logic Synthesis Tool: Unsorted item VTR Flow VTR Design Flow (scripts/benchmarks/architectures)
Projects
None yet
Development

No branches or pull requests

2 participants