mirror of
https://github.com/YosysHQ/yosys
synced 2025-04-07 09:55:20 +00:00
12 lines
211 B
Verilog
12 lines
211 B
Verilog
// Like pack1.v, but results in a simpler network.
|
|
module top(...);
|
|
input a,b,c,d,e,f,g,h;
|
|
wire x = c|d;
|
|
wire y = e&f;
|
|
wire u = a&b;
|
|
wire v = x|y;
|
|
wire w = g&h;
|
|
output s = u|v;
|
|
output t = v|w;
|
|
endmodule
|