mirror of
https://github.com/YosysHQ/yosys
synced 2025-08-06 19:21:23 +00:00
flowmap: cleanup for clarity. NFCI.
This commit is contained in:
parent
fd21564deb
commit
9bc5cf0844
3 changed files with 185 additions and 113 deletions
16
passes/tests/flowmap/flowp.v
Normal file
16
passes/tests/flowmap/flowp.v
Normal file
|
@ -0,0 +1,16 @@
|
|||
// Like flow.v, but results in a network identical to Figure 2(b).
|
||||
module top(...);
|
||||
input a,b,c,d,e,f;
|
||||
wire A = b&c;
|
||||
wire B = c|d;
|
||||
wire C = e&f;
|
||||
wire D = A|B;
|
||||
wire E = a&D;
|
||||
wire F = D&C;
|
||||
wire G = F|B;
|
||||
wire H = a&F;
|
||||
wire I = E|G;
|
||||
wire J = G&C;
|
||||
output p = H&I;
|
||||
output q = A|J;
|
||||
endmodule
|
Loading…
Add table
Add a link
Reference in a new issue