mirror of https://github.com/YosysHQ/yosys.git
12 lines
152 B
Plaintext
12 lines
152 B
Plaintext
|
read_verilog <<EOT
|
||
|
module foo(inout a, b);
|
||
|
assign a = b;
|
||
|
endmodule
|
||
|
module bar(output c);
|
||
|
foo f(c, 1'b0);
|
||
|
endmodule
|
||
|
EOT
|
||
|
|
||
|
hierarchy -auto-top
|
||
|
flatten
|