Skip to content

Commit 4f046ca

Browse files
committed
[#92448] rmp: resolve epsilon assert violation
Cherry-pick lsils/mockturtle#683 Signed-off-by: Bartłomiej Chmiel <bchmiel@antmicro.com>
1 parent ba4eb64 commit 4f046ca

3 files changed

Lines changed: 154 additions & 150 deletions

File tree

src/rmp/test/emap_aes_asap7.ok

Lines changed: 97 additions & 101 deletions
Original file line numberDiff line numberDiff line change
@@ -91,97 +91,97 @@ tns max -191.30
9191
[i] WARNING: library does not contain cells that could match the delay of output pin 2 of multi-output cell HAxp5_ASAP7_75t_R
9292
[i] WARNING: technology mapping using multi-output cells with warnings might generate required time violations or circuits with dangling pins
9393
Extended technology mapping stats:
94-
area: 837.3700034804642
95-
delay: 306.5299997329712
96-
power: 0
97-
inverters: 0
98-
multioutput gates: 39
94+
area: 837.370
95+
delay: 306.530
96+
power: 0.000
97+
inverters: 0
98+
multioutput gates: 39
9999

100100
[i] Report cells usage:
101-
[i] A2O1A1Ixp33_ASAP7_75t_R Instance = 420 Area = 37.80 4.51 %
102-
[i] A2O1A1O1Ixp25_ASAP7_75t_R Instance = 116 Area = 15.08 1.80 %
103-
[i] AO21x1_ASAP7_75t_R Instance = 167 Area = 15.03 1.79 %
104-
[i] AO22x1_ASAP7_75t_R Instance = 4 Area = 0.52 0.06 %
105-
[i] AO32x1_ASAP7_75t_R Instance = 7 Area = 0.84 0.10 %
106-
[i] AOI211xp5_ASAP7_75t_R Instance = 304 Area = 27.36 3.27 %
107-
[i] AOI21xp33_ASAP7_75t_R Instance = 1500 Area = 105.00 12.54 %
108-
[i] AOI221xp5_ASAP7_75t_R Instance = 21 Area = 2.10 0.25 %
109-
[i] AOI22xp33_ASAP7_75t_R Instance = 52 Area = 4.68 0.56 %
110-
[i] AOI311xp33_ASAP7_75t_R Instance = 48 Area = 4.80 0.57 %
111-
[i] AOI31xp33_ASAP7_75t_R Instance = 417 Area = 37.53 4.48 %
112-
[i] AOI321xp33_ASAP7_75t_R Instance = 13 Area = 1.56 0.19 %
113-
[i] AOI32xp33_ASAP7_75t_R Instance = 9 Area = 0.90 0.11 %
114-
[i] AOI33xp33_ASAP7_75t_R Instance = 2 Area = 0.24 0.03 %
115-
[i] INVx1_ASAP7_75t_R Instance = 1204 Area = 48.16 5.75 %
116-
[i] O2A1O1Ixp33_ASAP7_75t_R Instance = 392 Area = 35.28 4.21 %
117-
[i] OA211x2_ASAP7_75t_R Instance = 13 Area = 1.56 0.19 %
118-
[i] OA21x2_ASAP7_75t_R Instance = 95 Area = 9.50 1.13 %
119-
[i] OA33x2_ASAP7_75t_R Instance = 1 Area = 0.15 0.02 %
120-
[i] OAI211xp5_ASAP7_75t_R Instance = 293 Area = 26.37 3.15 %
121-
[i] OAI21xp33_ASAP7_75t_R Instance = 1877 Area = 131.39 15.69 %
122-
[i] OAI221xp5_ASAP7_75t_R Instance = 31 Area = 3.10 0.37 %
123-
[i] OAI22xp33_ASAP7_75t_R Instance = 89 Area = 8.01 0.96 %
124-
[i] OAI311xp33_ASAP7_75t_R Instance = 56 Area = 5.60 0.67 %
125-
[i] OAI31xp33_ASAP7_75t_R Instance = 480 Area = 43.20 5.16 %
126-
[i] OAI321xp33_ASAP7_75t_R Instance = 25 Area = 3.00 0.36 %
127-
[i] OAI32xp33_ASAP7_75t_R Instance = 30 Area = 3.00 0.36 %
128-
[i] OAI33xp33_ASAP7_75t_R Instance = 2 Area = 0.24 0.03 %
129-
[i] AND2x2_ASAP7_75t_R Instance = 14 Area = 1.26 0.15 %
130-
[i] AND3x1_ASAP7_75t_R Instance = 16 Area = 1.44 0.17 %
131-
[i] AND4x1_ASAP7_75t_R Instance = 7 Area = 0.70 0.08 %
132-
[i] AND5x1_ASAP7_75t_R Instance = 1 Area = 0.12 0.01 %
133-
[i] HAxp5_ASAP7_75t_R Instance = 39 Area = 5.07 0.61 %
134-
[i] MAJIxp5_ASAP7_75t_R Instance = 1 Area = 0.10 0.01 %
135-
[i] NAND2xp33_ASAP7_75t_R Instance = 1080 Area = 64.80 7.74 %
136-
[i] NAND3xp33_ASAP7_75t_R Instance = 313 Area = 21.91 2.62 %
137-
[i] NAND4xp25_ASAP7_75t_R Instance = 16 Area = 1.44 0.17 %
138-
[i] NAND5xp2_ASAP7_75t_R Instance = 1 Area = 0.10 0.01 %
139-
[i] NOR2xp33_ASAP7_75t_R Instance = 867 Area = 52.02 6.21 %
140-
[i] NOR3xp33_ASAP7_75t_R Instance = 331 Area = 23.17 2.77 %
141-
[i] NOR4xp25_ASAP7_75t_R Instance = 27 Area = 2.43 0.29 %
142-
[i] NOR5xp2_ASAP7_75t_R Instance = 2 Area = 0.20 0.02 %
143-
[i] OR2x2_ASAP7_75t_R Instance = 4 Area = 0.36 0.04 %
144-
[i] OR3x1_ASAP7_75t_R Instance = 15 Area = 1.35 0.16 %
145-
[i] OR4x1_ASAP7_75t_R Instance = 5 Area = 0.50 0.06 %
146-
[i] XNOR2xp5_ASAP7_75t_R Instance = 435 Area = 56.55 6.75 %
147-
[i] XOR2xp5_ASAP7_75t_R Instance = 245 Area = 31.85 3.80 %
148-
[i] TOTAL Instance = 11087 Area = 837.37 100.00 %
101+
[i] A2O1A1Ixp33_ASAP7_75t_R Instance = 420 Area = 37.80 4.51 %
102+
[i] A2O1A1O1Ixp25_ASAP7_75t_R Instance = 116 Area = 15.08 1.80 %
103+
[i] AO21x1_ASAP7_75t_R Instance = 165 Area = 14.85 1.77 %
104+
[i] AO22x1_ASAP7_75t_R Instance = 4 Area = 0.52 0.06 %
105+
[i] AO32x1_ASAP7_75t_R Instance = 7 Area = 0.84 0.10 %
106+
[i] AOI211xp5_ASAP7_75t_R Instance = 305 Area = 27.45 3.28 %
107+
[i] AOI21xp33_ASAP7_75t_R Instance = 1501 Area = 105.07 12.55 %
108+
[i] AOI221xp5_ASAP7_75t_R Instance = 21 Area = 2.10 0.25 %
109+
[i] AOI22xp33_ASAP7_75t_R Instance = 51 Area = 4.59 0.55 %
110+
[i] AOI311xp33_ASAP7_75t_R Instance = 48 Area = 4.80 0.57 %
111+
[i] AOI31xp33_ASAP7_75t_R Instance = 417 Area = 37.53 4.48 %
112+
[i] AOI321xp33_ASAP7_75t_R Instance = 13 Area = 1.56 0.19 %
113+
[i] AOI32xp33_ASAP7_75t_R Instance = 9 Area = 0.90 0.11 %
114+
[i] AOI33xp33_ASAP7_75t_R Instance = 2 Area = 0.24 0.03 %
115+
[i] INVx1_ASAP7_75t_R Instance = 1206 Area = 48.24 5.76 %
116+
[i] O2A1O1Ixp33_ASAP7_75t_R Instance = 392 Area = 35.28 4.21 %
117+
[i] OA211x2_ASAP7_75t_R Instance = 13 Area = 1.56 0.19 %
118+
[i] OA21x2_ASAP7_75t_R Instance = 95 Area = 9.50 1.13 %
119+
[i] OA33x2_ASAP7_75t_R Instance = 1 Area = 0.15 0.02 %
120+
[i] OAI211xp5_ASAP7_75t_R Instance = 293 Area = 26.37 3.15 %
121+
[i] OAI21xp33_ASAP7_75t_R Instance = 1878 Area = 131.46 15.70 %
122+
[i] OAI221xp5_ASAP7_75t_R Instance = 31 Area = 3.10 0.37 %
123+
[i] OAI22xp33_ASAP7_75t_R Instance = 90 Area = 8.10 0.97 %
124+
[i] OAI311xp33_ASAP7_75t_R Instance = 56 Area = 5.60 0.67 %
125+
[i] OAI31xp33_ASAP7_75t_R Instance = 480 Area = 43.20 5.16 %
126+
[i] OAI321xp33_ASAP7_75t_R Instance = 25 Area = 3.00 0.36 %
127+
[i] OAI32xp33_ASAP7_75t_R Instance = 30 Area = 3.00 0.36 %
128+
[i] OAI33xp33_ASAP7_75t_R Instance = 2 Area = 0.24 0.03 %
129+
[i] AND2x2_ASAP7_75t_R Instance = 14 Area = 1.26 0.15 %
130+
[i] AND3x1_ASAP7_75t_R Instance = 16 Area = 1.44 0.17 %
131+
[i] AND4x1_ASAP7_75t_R Instance = 7 Area = 0.70 0.08 %
132+
[i] AND5x1_ASAP7_75t_R Instance = 1 Area = 0.12 0.01 %
133+
[i] HAxp5_ASAP7_75t_R Instance = 39 Area = 5.07 0.61 %
134+
[i] MAJIxp5_ASAP7_75t_R Instance = 1 Area = 0.10 0.01 %
135+
[i] NAND2xp33_ASAP7_75t_R Instance = 1083 Area = 64.98 7.76 %
136+
[i] NAND3xp33_ASAP7_75t_R Instance = 313 Area = 21.91 2.62 %
137+
[i] NAND4xp25_ASAP7_75t_R Instance = 16 Area = 1.44 0.17 %
138+
[i] NAND5xp2_ASAP7_75t_R Instance = 1 Area = 0.10 0.01 %
139+
[i] NOR2xp33_ASAP7_75t_R Instance = 864 Area = 51.84 6.19 %
140+
[i] NOR3xp33_ASAP7_75t_R Instance = 331 Area = 23.17 2.77 %
141+
[i] NOR4xp25_ASAP7_75t_R Instance = 27 Area = 2.43 0.29 %
142+
[i] NOR5xp2_ASAP7_75t_R Instance = 2 Area = 0.20 0.02 %
143+
[i] OR2x2_ASAP7_75t_R Instance = 4 Area = 0.36 0.04 %
144+
[i] OR3x1_ASAP7_75t_R Instance = 15 Area = 1.35 0.16 %
145+
[i] OR4x1_ASAP7_75t_R Instance = 5 Area = 0.50 0.06 %
146+
[i] XNOR2xp5_ASAP7_75t_R Instance = 455 Area = 59.15 7.06 %
147+
[i] XOR2xp5_ASAP7_75t_R Instance = 224 Area = 29.12 3.48 %
148+
[i] TOTAL Instance = 11089 Area = 837.37 100.00 %
149149
[i] Report stats: area = 837.37; delay = 306.53;
150150
[WARNING EST-0027] no estimated parasitics. Using wire load models.
151-
[INFO RSZ-0100] Repair move sequence: UnbufferMove SizeUpMove SwapPinsMove BufferMove CloneMove SplitLoadMove
151+
[INFO RSZ-0100] Repair move sequence: UnbufferMove SizeUpMove SwapPinsMove BufferMove CloneMove SplitLoadMove
152152
[INFO RSZ-0094] Found 174 endpoints with setup violations.
153153
[INFO RSZ-0099] Repairing 174 out of 174 (100.00%) violating endpoints...
154154
Iter | Removed | Resized | Inserted | Cloned | Pin | Area | WNS | TNS | Viol | Worst
155155
| Buffers | Gates | Buffers | Gates | Swaps | | | | Endpts | Endpt
156156
--------------------------------------------------------------------------------------------------------------
157-
0 | 0 | 0 | 0 | 0 | 0 | +0.0% | -1734.310 | -187712.5 | 174 | sa00_sr[3]$_DFF_P_/D
158-
final | 0 | 268 | 9 | 17 | 9 | +0.6% | -1.046 | -2.5 | 0 | u0/subword[11]$_DFF_P_/D
157+
0 | 0 | 0 | 0 | 0 | 0 | +0.0% | -1727.126 | -187900.6 | 174 | sa00_sr[3]$_DFF_P_/D
158+
final | 0 | 261 | 9 | 19 | 8 | +0.6% | -25.919 | -62.7 | 5 | u0/subword[5]$_DFF_P_/D
159159
--------------------------------------------------------------------------------------------------------------
160160
[INFO RSZ-0045] Inserted 9 buffers, 9 to split loads.
161-
[INFO RSZ-0051] Resized 268 instances: 268 up, 0 up match, 0 down, 0 VT
162-
[INFO RSZ-0043] Swapped pins on 9 instances.
163-
[INFO RSZ-0049] Cloned 17 instances.
161+
[INFO RSZ-0051] Resized 261 instances: 261 up, 0 up match, 0 down, 0 VT
162+
[INFO RSZ-0043] Swapped pins on 8 instances.
163+
[INFO RSZ-0049] Cloned 19 instances.
164164
[WARNING RSZ-0062] Unable to repair all setup violations.
165165
[INFO RSZ-0033] No hold violations found.
166166
Cell type report: Count Area
167-
Timing Repair Buffer 9 0.77
168-
Inverter 1204 53.42
169-
Timing Repair inverter 12 0.52
167+
Timing Repair Buffer 9 0.74
168+
Inverter 1206 53.51
169+
Timing Repair inverter 14 0.61
170170
Sequential cell 562 163.91
171-
Multi-Input combinational cell 9888 795.95
172-
Total 11675 1014.58
173-
[ -1.046, 83.297): ********************* (150)
174-
[ 83.297, 167.641): * (10)
175-
[167.641, 251.984): * (4)
176-
[251.984, 336.327): * (7)
177-
[336.327, 420.671): * (7)
178-
[420.671, 505.014): * (4)
179-
[505.014, 589.357): * (9)
180-
[589.357, 673.701): ** (15)
181-
[673.701, 758.044): ************************************************** (356)
182-
[758.044, 842.387]: ****************** (129)
171+
Multi-Input combinational cell 9888 795.76
172+
Total 11679 1014.53
173+
[-25.919, 60.912): ****************** (128)
174+
[ 60.912, 147.742): **** (32)
175+
[147.742, 234.573): * (4)
176+
[234.573, 321.404): * (7)
177+
[321.404, 408.234): * (6)
178+
[408.234, 495.065): * (4)
179+
[495.065, 581.895): * (9)
180+
[581.895, 668.726): ** (12)
181+
[668.726, 755.557): ************************************************** (360)
182+
[755.557, 842.387]: ****************** (129)
183183
Startpoint: ld (input port clocked by core_clock)
184-
Endpoint: u0/subword[11]$_DFF_P_
184+
Endpoint: u0/subword[5]$_DFF_P_
185185
(rising edge-triggered flip-flop clocked by core_clock)
186186
Path Group: core_clock
187187
Path Type: max
@@ -191,38 +191,34 @@ Corner: slow
191191
---------------------------------------------------------
192192
0.00 0.00 clock core_clock (rise edge)
193193
0.00 0.00 clock network delay (ideal)
194-
200.00 200.00 v input external delay
195-
0.00 200.00 v ld (in)
196-
71.60 271.60 ^ n_831/Y (INVx3_ASAP7_75t_R)
197-
46.16 317.76 v n_1839/Y (NOR2xp33_ASAP7_75t_R)
198-
116.54 434.29 ^ n_1840/Y (AOI21xp33_ASAP7_75t_R)
199-
79.48 513.78 v n_1841/Y (INVx1_ASAP7_75t_R)
200-
75.02 588.80 ^ n_1872/Y (XNOR2xp5_ASAP7_75t_R)
201-
66.07 654.87 v n_1895/Y (NOR2xp33_ASAP7_75t_R)
202-
90.25 745.12 ^ n_1896/Y (NOR2xp33_ASAP7_75t_R)
203-
34.06 779.17 v n_2096/Y (AOI21xp33_ASAP7_75t_R)
204-
31.63 810.81 ^ n_2097/Y (NOR3xp33_ASAP7_75t_R)
205-
26.00 836.81 v n_2098/Y (OAI21xp33_ASAP7_75t_R)
206-
44.57 881.38 ^ n_2099/Y (AOI31xp33_ASAP7_75t_R)
207-
31.65 913.03 v n_2100/Y (AOI211xp5_ASAP7_75t_R)
208-
41.12 954.15 ^ n_2101/Y (AOI21xp33_ASAP7_75t_R)
209-
29.20 983.35 v n_2121/Y (OAI21xp33_ASAP7_75t_R)
210-
0.00 983.35 v u0/subword[11]$_DFF_P_/D (DFFHQNx1_ASAP7_75t_R)
211-
983.35 data arrival time
194+
200.00 200.00 ^ input external delay
195+
0.00 200.00 ^ ld (in)
196+
52.74 252.74 v n_831/Y (INVx3_ASAP7_75t_R)
197+
264.64 517.38 ^ n_2309/Y (OAI21xp5_ASAP7_75t_R)
198+
250.72 768.10 v n_2310/Y (INVx1_ASAP7_75t_R)
199+
51.54 819.65 ^ n_2722/Y (OAI21xp33_ASAP7_75t_R)
200+
23.86 843.51 v n_2723/Y (A2O1A1Ixp33_ASAP7_75t_R)
201+
42.18 885.69 ^ n_2724/Y (AOI21xp33_ASAP7_75t_R)
202+
24.47 910.16 v n_2725/Y (AOI31xp33_ASAP7_75t_R)
203+
32.65 942.81 ^ n_2726/Y (AOI21xp33_ASAP7_75t_R)
204+
24.52 967.33 v n_2727/Y (OAI21xp33_ASAP7_75t_R)
205+
26.03 993.36 ^ n_2728/Y (OAI21xp33_ASAP7_75t_R)
206+
0.00 993.36 ^ u0/subword[5]$_DFF_P_/D (DFFHQNx1_ASAP7_75t_R)
207+
993.36 data arrival time
212208

213209
1000.00 1000.00 clock core_clock (rise edge)
214210
0.00 1000.00 clock network delay (ideal)
215211
0.00 1000.00 clock reconvergence pessimism
216-
1000.00 ^ u0/subword[11]$_DFF_P_/CLK (DFFHQNx1_ASAP7_75t_R)
217-
-17.70 982.30 library setup time
218-
982.30 data required time
212+
1000.00 ^ u0/subword[5]$_DFF_P_/CLK (DFFHQNx1_ASAP7_75t_R)
213+
-32.56 967.44 library setup time
214+
967.44 data required time
219215
---------------------------------------------------------
220-
982.30 data required time
221-
-983.35 data arrival time
216+
967.44 data required time
217+
-993.36 data arrival time
222218
---------------------------------------------------------
223-
-1.05 slack (VIOLATED)
219+
-25.92 slack (VIOLATED)
224220

225221

226-
wns max -1.05
227-
tns max -2.54
222+
wns max -25.92
223+
tns max -62.67
228224
Repair timing output passed/skipped equivalence test

0 commit comments

Comments
 (0)