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

Mixed synthesis with a Verilog top-level fails when parameters are specified #136

Open
rodrigomelo9 opened this issue Oct 11, 2020 · 2 comments

Comments

@rodrigomelo9
Copy link
Contributor

Hi. We (@eine) were testing mixed synthesis cases.

  • Verilog + VHDL (top) works (note: the Verilog module must be specified as component into the VHDL).
  • VHDL + Verilog (top) works when generics are not specified in the instantiation
  • VHDL + Verilog (top) fails when generics are specified in the instantiation:
ERROR: Module `Blinking' referenced in module `Top' in cell `dut' does not have a parameter named 'SECS'.

I tried also with lowercases (changed to secs), without success.

Files to reproduce the issue here (you can execute run.sh, which uses ghdl/synth:beta).

@AndrewD
Copy link

AndrewD commented Oct 12, 2021

I'm integrating a VHDL module into litex that uses generics - any pointers to if this is a relatively isolated issue I can look in to in the GHDL plugin? Otherwise I'll hack it together with Python in the litex integration...

@tgingold
Copy link
Member

tgingold commented Oct 13, 2021 via email

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

No branches or pull requests

3 participants