forked from The-OpenROAD-Project/OpenROAD
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added unit test for reapirhold. Signed-off-by: Andy Fox <[email protected]>
Signed-off-by: andyfox-rushc <[email protected]>
- Loading branch information
1 parent
c5c8316
commit d7fce14
Showing
7 changed files
with
167 additions
and
34 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
record_tests { | ||
resize1_hier | ||
repair_hold1_hier | ||
buffer_ports1 | ||
buffer_ports3 | ||
buffer_ports4 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
[INFO ODB-0227] LEF file: Nangate45/Nangate45.lef, created 22 layers, 27 vias, 135 library cells | ||
(clk ^) r -0.03:1.91 f -0.03:1.91 | ||
[INFO RSZ-0046] Found 1 endpoints with hold violations. | ||
[INFO RSZ-0032] Inserted 2 hold buffers. | ||
(clk ^) r 0.02:1.89 f 0.02:1.88 | ||
No differences found. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,57 @@ | ||
module top (clk, | ||
in1, | ||
in2, | ||
out); | ||
input clk; | ||
input in1; | ||
input in2; | ||
output out; | ||
|
||
|
||
CLKBUF_X1 hold2 (.A(u2z), | ||
.Z(u2z)); | ||
BUF_X1 i1 (.A(clk), | ||
.Z(i1z)); | ||
BUF_X1 i2 (.A(i1z), | ||
.Z(i2z)); | ||
BUF_X1 i3 (.A(i2z), | ||
.Z(i3z)); | ||
BUF_X1 i4 (.A(i3z), | ||
.Z(i4z)); | ||
BUF_X1 i5 (.A(i4z), | ||
.Z(i5z)); | ||
BUF_X1 i6 (.A(i5z), | ||
.Z(i6z)); | ||
BUF_X1 i7 (.A(i6z), | ||
.Z(i7z)); | ||
BUF_X1 i8 (.A(i7z), | ||
.Z(i8z)); | ||
DFF_X1 r2 (.D(in2), | ||
.CK(i4z), | ||
.Q(r2q)); | ||
DFF_X1 r3 (.D(u2z), | ||
.CK(i8z), | ||
.Q(out)); | ||
BUF_X1 u1 (.A(r2q), | ||
.Z(u1z)); | ||
AND2_X1 u2 (.A1(r1q), | ||
.A2(u1z), | ||
.ZN(u2z)); | ||
hier1 h1 (.in1(in1), | ||
.i1z(i1z), | ||
.op(r1q)); | ||
endmodule | ||
module hier1 (in1, | ||
i1z, | ||
op); | ||
input in1; | ||
input i1z; | ||
output op; | ||
|
||
|
||
CLKBUF_X1 hold1 (.A(r1q), | ||
.Z(op)); | ||
DFF_X1 \h1/r1 (.D(in1), | ||
.CK(i1z), | ||
.Q(r1q)); | ||
endmodule |