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:
parent
5b989b53f5
commit
60ae44dae8
7 changed files with 105 additions and 0 deletions
12
tests/verilog/port_rename_error_2.ys
Normal file
12
tests/verilog/port_rename_error_2.ys
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
# Multiple names for the same input port
|
||||
logger -expect error "Missing details for module port" 1
|
||||
read_verilog << EOF
|
||||
module gate_multi_inout (
|
||||
.i(a),
|
||||
.j(a)
|
||||
);
|
||||
input a;
|
||||
endmodule
|
||||
EOF
|
||||
logger -check-expected
|
||||
design -reset
|
||||
Loading…
Add table
Add a link
Reference in a new issue