yosys/tests/various/design.ys

18 lines
255 B
Plaintext

read_verilog <<EOT
(* blackbox *)
module bb(input i, output o);
endmodule
(* whitebox *)
module wb(input i, output o);
assign o = ~i;
endmodule
module top(input i, output o);
assign o = ~i;
endmodule
EOT
design -stash gate
design -import gate -as gate