mirror of
https://github.com/YosysHQ/yosys
synced 2025-08-11 13:40:53 +00:00
flowmap: implement depth relaxation.
This commit is contained in:
parent
f042559e9d
commit
211c26a4c9
7 changed files with 762 additions and 22 deletions
15
passes/tests/flowmap/pack3p.v
Normal file
15
passes/tests/flowmap/pack3p.v
Normal file
|
@ -0,0 +1,15 @@
|
|||
// Like pack2.v, but results in a simpler network.
|
||||
module top(...);
|
||||
input a,b,c,d,e,f,g,h,i,j;
|
||||
wire x = a&b;
|
||||
wire y = c|d;
|
||||
wire z = e|f;
|
||||
wire n0 = g&h;
|
||||
wire n1 = i|j;
|
||||
wire w = x&y;
|
||||
wire n2 = z&n0;
|
||||
wire n3 = n0|n1;
|
||||
wire n4 = n2|n3;
|
||||
wire v = w|n5;
|
||||
output u = w&v;
|
||||
endmodule
|
Loading…
Add table
Add a link
Reference in a new issue