aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEddie Hung <eddie@fpgeh.com>2019-07-10 16:12:33 -0700
committerEddie Hung <eddie@fpgeh.com>2019-07-10 16:12:33 -0700
commit73c8f1a59e69c5c2f06827d365afc6504fdfad82 (patch)
treee0a084bb8b37f6f519db565a81241ad96a1dea54
parent052060f10906ca859d2313b86800e110bd34b79f (diff)
downloadyosys-73c8f1a59e69c5c2f06827d365afc6504fdfad82.tar.gz
yosys-73c8f1a59e69c5c2f06827d365afc6504fdfad82.tar.bz2
yosys-73c8f1a59e69c5c2f06827d365afc6504fdfad82.zip
Fix box numbering
-rw-r--r--techlibs/xilinx/abc_ff.v2
-rw-r--r--techlibs/xilinx/abc_xc7.box8
2 files changed, 5 insertions, 5 deletions
diff --git a/techlibs/xilinx/abc_ff.v b/techlibs/xilinx/abc_ff.v
index a91720260..8bbdff6f4 100644
--- a/techlibs/xilinx/abc_ff.v
+++ b/techlibs/xilinx/abc_ff.v
@@ -23,7 +23,7 @@
module \$__ABC_FF_ (input C, D, output Q);
endmodule
-(* abc_box_id = 7, lib_whitebox, abc_flop = "FDRE,D,Q,\\$pastQ" *)
+(* abc_box_id = 8, lib_whitebox, abc_flop = "FDRE,D,Q,\\$pastQ" *)
module \$__ABC_FDRE (output Q, input C, CE, D, R, \$pastQ );
parameter [0:0] INIT = 1'b0;
//parameter [0:0] IS_C_INVERTED = 1'b0;
diff --git a/techlibs/xilinx/abc_xc7.box b/techlibs/xilinx/abc_xc7.box
index 69ff9aeab..1e1afbc1d 100644
--- a/techlibs/xilinx/abc_xc7.box
+++ b/techlibs/xilinx/abc_xc7.box
@@ -59,20 +59,20 @@ RAM128X1D 7 0 17 2
# Inputs: C CE D R \$pastQ
# Outputs: Q
-FDRE 7 1 5 1
+FDRE 8 1 5 1
- 109 -46 358 0
# Inputs: C CE D S \$pastQ
# Outputs: Q
-FDSE 8 0 5 1
+FDSE 9 0 5 1
- 109 -46 358 0
# Inputs: C CE CLR D \$pastQ
# Outputs: Q
-FDCE 9 0 5 1
+FDCE 10 0 5 1
- 109 - -46 0
# Inputs: C CE D PRE \$pastQ
# Outputs: Q
-FDPE 10 0 5 1
+FDPE 11 0 5 1
- 109 -46 - 0