Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# EBMC 5.9

* Verilog: fix for typed parameter ports
* SystemVerilog: fix for type parameters
* SMV: word constants
* SMV: IVAR declarations
Expand Down
5 changes: 2 additions & 3 deletions regression/verilog/modules/parameter_ports5.desc
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
KNOWNBUG
parameter_ports5.v
CORE
parameter_ports5.sv

^EXIT=0$
^SIGNAL=0$
--
The type of the parameter is ignored.
2 changes: 1 addition & 1 deletion src/verilog/verilog_elaborate.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -989,7 +989,7 @@ verilog_typecheckt::elaborate(const verilog_module_sourcet &module_source)
// At the top level of the module, include the parameter ports.
for(auto &declaration : module_source.parameter_port_decls())
for(auto &declarator : declaration.declarators())
collect_symbols(typet(ID_nil), declarator);
collect_symbols(declaration.type(), declarator);

// At the top level of the module, include the non-parameter module port
// module items.
Expand Down
Loading