mirror of
https://github.com/YosysHQ/yosys
synced 2025-11-22 13:41:27 +00:00
14 lines
242 B
Text
14 lines
242 B
Text
# 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
|