3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-11-25 15:09:34 +00:00

verilog_parser: add port renaming tests

This commit is contained in:
xiota 2025-10-18 01:03:41 +00:00
parent 5b989b53f5
commit 60ae44dae8
7 changed files with 105 additions and 0 deletions

View file

@ -0,0 +1,14 @@
# ANSI-style renaming
logger -expect error "syntax error" 1
read_verilog << EOF
module gate_ansi (
input .alias_a(a),
output .alias_b(b)
);
wire a;
wire b;
assign b = a;
endmodule
EOF
logger -check-expected
design -reset