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

Symbiflow-classroom: "Multiple include causes error" #265

Open
nelsobe opened this issue Mar 9, 2022 · 3 comments
Open

Symbiflow-classroom: "Multiple include causes error" #265

nelsobe opened this issue Mar 9, 2022 · 3 comments

Comments

@nelsobe
Copy link

nelsobe commented Mar 9, 2022

SYMBIFLOW-CLASSROOM-PROJECT

Using the include macro to include the same module more than once in a project (perhaps from different locations in the files) causes an error. While bad practice, this causes an error for the tools while Vivado just redefines the module.

@nelsobe
Copy link
Author

nelsobe commented Mar 9, 2022

@mithro @acomodi @tmichalak @mkurc-ant Would be interested in any feedback you can provide.

@rkapuscik
Copy link
Contributor

Could you specify the tool you're using and the exact error?

I've created this test. It does fail in Yosys with Verilog frontend, but passes in UHDM frontend. I tested it also in Surelog and Verilator and they issue only a warning in this case.

@nelsobe
Copy link
Author

nelsobe commented Mar 9, 2022

Using original Yosys frontend.

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

3 participants