mirror of
https://github.com/YosysHQ/yosys
synced 2025-07-24 13:18:56 +00:00
Added avail params to ilang format, check module params in 'hierarchy -check'
This commit is contained in:
parent
3655d7fea7
commit
aa72262330
4 changed files with 25 additions and 3 deletions
|
@ -112,7 +112,13 @@ module_body:
|
|||
/* empty */;
|
||||
|
||||
module_stmt:
|
||||
attr_stmt | wire_stmt | memory_stmt | cell_stmt | proc_stmt | conn_stmt;
|
||||
param_stmt | attr_stmt | wire_stmt | memory_stmt | cell_stmt | proc_stmt | conn_stmt;
|
||||
|
||||
param_stmt:
|
||||
TOK_PARAMETER TOK_ID EOL {
|
||||
current_module->avail_parameters.insert($2);
|
||||
free($2);
|
||||
};
|
||||
|
||||
attr_stmt:
|
||||
TOK_ATTRIBUTE TOK_ID constant EOL {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue