mirror of
https://github.com/YosysHQ/yosys
synced 2025-04-22 16:45:32 +00:00
17 lines
255 B
Text
17 lines
255 B
Text
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
|