-
Notifications
You must be signed in to change notification settings - Fork 385
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
629b664
commit a8a5f05
Showing
5 changed files
with
29 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
set ::env(DESIGN_NAME) inverter | ||
|
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 @@ | ||
package require openlane; | ||
|
||
prep -design $::env(TEST_DIR) {*}$argv | ||
|
||
set ::env(signoff_results) $::env(TEST_DIR) | ||
run_klayout_gds_xor |
Binary file not shown.
Binary file not shown.
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,21 @@ | ||
import os | ||
import subprocess | ||
import sys | ||
|
||
args = sys.argv[1:] | ||
exit_code = args[1] | ||
run_folder = args[0] | ||
|
||
assert exit_code != 0, "OpenLane did not throw non zero exit code" | ||
log_path = os.path.join(run_folder, "openlane.log") | ||
assert ( | ||
subprocess.call( | ||
[ | ||
"grep", | ||
"-i", | ||
"There are XOR differences in the design", | ||
log_path, | ||
] | ||
) | ||
== 0 | ||
), "OpenLane did not report the existence of XOR violations correctly" |