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

Verilog Header files support #159

Open
alessandrothea opened this issue Apr 21, 2022 · 6 comments
Open

Verilog Header files support #159

alessandrothea opened this issue Apr 21, 2022 · 6 comments
Assignees

Comments

@alessandrothea
Copy link
Collaborator

Add .vh among the file types known to ipbb

@tj710
Copy link

tj710 commented Apr 25, 2022

This works for me. One additional feature that could be useful would be to allow to specify verilog header in the dep file, as we do with —vhdl2008, as some files that need to be set as verilog headers are left with just the .v suffix. However, it is not essential as this can be done later in the setup.tcl.

@tj710
Copy link

tj710 commented Apr 26, 2022

In fact, it does not work using the build.tcl and settings.tcl scripts referenced in the dep file, for example, because the files are not yet added to the project. Is there an easy way to run a tcl script with ipbb after "proj create" has finished? Thanks!

@tj710
Copy link

tj710 commented Apr 27, 2022

closing and will open a new issue for corresponding source file attribute

@alessandrothea
Copy link
Collaborator Author

Yes, there's a way: the -f/--finalize setup command flag, i.e. setup -f abc.tcl will execute abc.tcl after all sources have been imported.

@tj710
Copy link

tj710 commented May 3, 2022

hmm, I still have issues e.g
I put in my dep file:
setup --finalise ../cfg presynth.tcl
where presynth.tcl contains "get_files -all"
but at ipbb vivado project, when the file is sources, it reports:

generate-project | # get_files -all
generate-project | WARNING: [Vivado 12-818] No files matched '*'

Perhaps I am doing something else wrong.

@tj710
Copy link

tj710 commented May 6, 2022

Ok I got this working by adding the setup call in projects/examples/sb852/firmware/cfg/top.dep rather than in the board.dep file. Feel free to close issue. thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants