mirror of
https://github.com/YosysHQ/yosys
synced 2025-04-13 04:28:18 +00:00
Fix wire width
This commit is contained in:
parent
5e487b103c
commit
6318e3ce6d
|
@ -1,8 +1,8 @@
|
||||||
read_verilog <<EOT
|
read_verilog <<EOT
|
||||||
module top(input a, output [1:0] b);
|
module top(input a, output b);
|
||||||
wire c;
|
wire c;
|
||||||
(* submod="bar" *) sub s1(a, c);
|
(* submod="bar" *) sub s1(a, c);
|
||||||
assign b[0] = c;
|
assign b = c;
|
||||||
endmodule
|
endmodule
|
||||||
|
|
||||||
module sub(input a, output c);
|
module sub(input a, output c);
|
||||||
|
|
Loading…
Reference in a new issue