We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5c83c53 commit 24a1339Copy full SHA for 24a1339
regression/verilog/modules/parameter_ports5.desc
@@ -1,7 +1,6 @@
1
-KNOWNBUG
+CORE
2
parameter_ports5.v
3
4
^EXIT=0$
5
^SIGNAL=0$
6
--
7
-The type of the parameter is ignored.
src/verilog/verilog_elaborate.cpp
@@ -989,7 +989,7 @@ verilog_typecheckt::elaborate(const verilog_module_sourcet &module_source)
989
// At the top level of the module, include the parameter ports.
990
for(auto &declaration : module_source.parameter_port_decls())
991
for(auto &declarator : declaration.declarators())
992
- collect_symbols(typet(ID_nil), declarator);
+ collect_symbols(declaration.type(), declarator);
993
994
// At the top level of the module, include the non-parameter module port
995
// module items.
0 commit comments