mirror of
https://github.com/YosysHQ/yosys.git
synced 2026-08-28 17:14:11 +02:00
flowmap: cleanup for clarity. NFCI.
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
// Exact reproduction of Figure 2(a) from 10.1109/43.273754.
|
||||
module top(...);
|
||||
input a,b,c,d,e,f;
|
||||
wire nA = b&c;
|
||||
wire A = !nA;
|
||||
wire nB = c|d;
|
||||
wire B = !nB;
|
||||
wire nC = e&f;
|
||||
wire C = !nC;
|
||||
wire D = A|B;
|
||||
wire E = a&D;
|
||||
wire nF = D&C;
|
||||
wire F = !nF;
|
||||
wire nG = F|B;
|
||||
wire G = !nG;
|
||||
wire H = a&F;
|
||||
wire I = E|G;
|
||||
wire J = G&C;
|
||||
wire np = H&I;
|
||||
output p = !np;
|
||||
output q = A|J;
|
||||
endmodule
|
||||
Reference in New Issue
Block a user