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

submodules verilog #316

Open
CarrolXC opened this issue Dec 26, 2022 · 2 comments
Open

submodules verilog #316

CarrolXC opened this issue Dec 26, 2022 · 2 comments
Labels

Comments

@CarrolXC
Copy link

Hi , I am generating verilog file through gen.py and I did see a top level verilog file in the "build" folder. However , I found I missed all the submodules used in the top level, like "BUFG"or "IOBUF" which I could trace to some other python file.Does anyone have ideas on how to generate all the verilog files needed including all the submodules.Sincerely appreciate any suggestion!

@smosanu
Copy link

smosanu commented Jan 2, 2023

Some submodules like "BUFG" or "IOBUF" are specific to the tools for the board you use (in this case I assume it is the Xilinx tools?) and you shouldn't need to Verilog code for them...

@enjoy-digital
Copy link
Owner

Hi @CarrolXC,

these primitives are indeed Xilinx's primitives with models available in Unisim: https://github.com/Xilinx/XilinxUnisimLibrary. You'll be able to simulate them with Xilinx simulator of by also compiling these models with your simulator (should work with iverilog, would need to be tested with Verilator).

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

No branches or pull requests

3 participants