Add BRAM arrival times
authorEddie Hung <eddie@fpgeh.com>
Mon, 19 Aug 2019 19:46:35 +0000 (12:46 -0700)
committerEddie Hung <eddie@fpgeh.com>
Mon, 19 Aug 2019 19:46:35 +0000 (12:46 -0700)
techlibs/xilinx/xc7_brams_bb.v

index a682ba4a72926b7ae506673edcdd5874fa4a4bb6..0e8cb406c4f63e083bea952f7ac00ea18120acf4 100644 (file)
@@ -1,3 +1,5 @@
+// Max delays from https://github.com/SymbiFlow/prjxray-db/blob/f8e0364116b2983ac72a3dc8c509ea1cc79e2e3d/artix7/timings/BRAM_L.sdf#L138-L147
+
 module RAMB18E1 (
        input CLKARDCLK,
        input CLKBWRCLK,
@@ -19,10 +21,10 @@ module RAMB18E1 (
        input [1:0] WEA,
        input [3:0] WEBWE,
 
-       output [15:0] DOADO,
-       output [15:0] DOBDO,
-       output [1:0] DOPADOP,
-       output [1:0] DOPBDOP
+       (* abc_arrival=2454 *) output [15:0] DOADO,
+       (* abc_arrival=2454 *) output [15:0] DOBDO,
+       (* abc_arrival=2454 *) output [1:0] DOPADOP,
+       (* abc_arrival=2454 *) output [1:0] DOPBDOP
 );
        parameter INITP_00 = 256'h0000000000000000000000000000000000000000000000000000000000000000;
        parameter INITP_01 = 256'h0000000000000000000000000000000000000000000000000000000000000000;
@@ -143,10 +145,10 @@ module RAMB36E1 (
        input [3:0] WEA,
        input [7:0] WEBWE,
 
-       output [31:0] DOADO,
-       output [31:0] DOBDO,
-       output [3:0] DOPADOP,
-       output [3:0] DOPBDOP
+       (* abc_arrival=2454 *) output [31:0] DOADO,
+       (* abc_arrival=2454 *) output [31:0] DOBDO,
+       (* abc_arrival=2454 *) output [3:0] DOPADOP,
+       (* abc_arrival=2454 *) output [3:0] DOPBDOP
 );
        parameter INITP_00 = 256'h0000000000000000000000000000000000000000000000000000000000000000;
        parameter INITP_01 = 256'h0000000000000000000000000000000000000000000000000000000000000000;