mirror of
https://github.com/YosysHQ/yosys
synced 2025-04-22 16:45:32 +00:00
12 lines
183 B
Text
12 lines
183 B
Text
read_verilog <<EOT
|
|
module top();
|
|
wire array[0:0];
|
|
wire out;
|
|
sub #(.d(1)) inst(
|
|
.in(array[0]),
|
|
.out(out)
|
|
);
|
|
endmodule
|
|
EOT
|
|
|
|
hierarchy -top top -libdir .
|