You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Author Name: Am A
Original Redmine Issue: 802 from https://www.veripool.org
Original Date: 2014-07-09
If I declare and instantiate an interface as in the attached files, then Verilog::Netlist gives the following errors:
%Error: my_if.sv:17: Signal declaration outside of module definition
%Error: my_if.sv:17: Signal declaration outside of module definition
%Error: my_if.sv:17: Signal declaration outside of module definition
%Error: my_if.sv:25: Signal declaration outside of module definition
Exiting due to errors
I'm going to take a guess and say that passing the interface through two modules causes the error. Without the second module (another_module), the errors no longer appear.
Sorry for the simplistic example. Please let me know if there are any issues with it.
If it helps, the example compiles and simulates fine in QuestaSim.
Original Redmine Comment
Author Name: Wilson Snyder (@wsnyder)
Original Date: 2014-07-09T12:09:32Z
There is support for all of system verilog so this should work fine. I run your example and it works. Your problem is probably identical to #�, whatever that is.
Author Name: Am A
Original Redmine Issue: 802 from https://www.veripool.org
Original Date: 2014-07-09
If I declare and instantiate an interface as in the attached files, then Verilog::Netlist gives the following errors:
I'm going to take a guess and say that passing the interface through two modules causes the error. Without the second module (another_module), the errors no longer appear.
Sorry for the simplistic example. Please let me know if there are any issues with it.
If it helps, the example compiles and simulates fine in QuestaSim.
Thanks!
Here are the files for reference:
The text was updated successfully, but these errors were encountered: