Skip to content

Conversation

kroening
Copy link
Collaborator

This removes one of the four representations for Verilog modules.

@kroening kroening force-pushed the remove_verilog_modulet branch 2 times, most recently from 7f35dd1 to d6ee5f1 Compare August 24, 2024 23:19
@kroening kroening marked this pull request as ready for review August 24, 2024 23:26
Comment on lines 38 to 40
verilog_module_sourcet new_module;

new_module.name=name.id();
new_module.parameter_port_list.swap(parameter_port_list);
new_module.ports.swap(ports);
new_module.location=((const exprt &)module_keyword).source_location();
new_module.module_items.swap(module_items);
new_module.base_name(name.id());
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could verilog_module_sourcet be altered so that it at least requires a base name upon construction?

This removes one of the four representations for Verilog modules.
@kroening kroening force-pushed the remove_verilog_modulet branch from d6ee5f1 to c76c90b Compare August 26, 2024 19:50
@kroening kroening merged commit 7491a72 into main Aug 26, 2024
8 checks passed
@kroening kroening deleted the remove_verilog_modulet branch August 26, 2024 19:53
Romy15200 pushed a commit to Romy15200/nws that referenced this pull request Aug 19, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants