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