mirror of
https://github.com/YosysHQ/yosys
synced 2025-06-06 14:13:23 +00:00
Merge pull request #2024 from YosysHQ/eddie/primitive_src
verilog: set src attribute for primitives
This commit is contained in:
commit
7a62ee57b4
3 changed files with 22 additions and 2 deletions
|
@ -1749,7 +1749,9 @@ single_prim:
|
|||
/* no name */ {
|
||||
astbuf2 = astbuf1->clone();
|
||||
ast_stack.back()->children.push_back(astbuf2);
|
||||
} '(' cell_port_list ')';
|
||||
} '(' cell_port_list ')' {
|
||||
SET_AST_NODE_LOC(astbuf2, @1, @$);
|
||||
}
|
||||
|
||||
cell_parameter_list_opt:
|
||||
'#' '(' cell_parameter_list ')' | /* empty */;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue