mirror of
https://github.com/YosysHQ/yosys
synced 2025-08-04 18:30:25 +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/pack2.v
Normal file
15
passes/tests/flowmap/pack2.v
Normal file
|
@ -0,0 +1,15 @@
|
|||
// Exact reproduction of Figure 4(a) from 10.1109/92.285741.
|
||||
module top(...);
|
||||
(* $flowmap_level=1 *) input a;
|
||||
(* $flowmap_level=1 *) input b;
|
||||
(* $flowmap_level=2 *) input c;
|
||||
(* $flowmap_level=1 *) input d;
|
||||
(* $flowmap_level=3 *) input e;
|
||||
(* $flowmap_level=1 *) input f;
|
||||
wire u = !(a&b);
|
||||
wire w = !(c|d);
|
||||
wire v = !(u|w);
|
||||
wire n0 = !(w&e);
|
||||
wire n1 = !(n0|f);
|
||||
output n2 = !(v&n1);
|
||||
endmodule
|
Loading…
Add table
Add a link
Reference in a new issue