Skip to content

Commit

Permalink
Merge pull request #17 from mabrains/moving_ip_testcases
Browse files Browse the repository at this point in the history
Moving the SRAM test cases to a ip_testcases directory
  • Loading branch information
mithro authored Aug 10, 2022
2 parents 2e2eb4a + 787614a commit 4e9e291
Show file tree
Hide file tree
Showing 109 changed files with 133 additions and 157 deletions.
2 changes: 1 addition & 1 deletion README.rst
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
GlobalFoundries 180um MCU primitive libraries
GlobalFoundries 180nm MCU primitive libraries
=============================================

This repository contains the "primitive cells" implementation as part of
Expand Down
14 changes: 7 additions & 7 deletions rules/klayout/drc/testing/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -39,19 +39,19 @@ test-DRC-gf180mcu_fd_ip_sram:
@cd $(Testing_DIR)
@echo "========== DRC-gf180mcu_fd_ip_sram testing =========="
@ python3 run_sc_regression.py \
--path=sc_testcases/gf180mcu_fd_ip_sram__sram64x8m8wm1.gds \
--path=sc_testcases/gf180mcu_fd_ip_sram__sram128x8m8wm1.gds \
--path=sc_testcases/gf180mcu_fd_ip_sram__sram256x8m8wm1.gds \
--path=sc_testcases/gf180mcu_fd_ip_sram__sram512x8m8wm1.gds
--path=ip_testcases/gf180mcu_fd_ip_sram__sram64x8m8wm1.gds \
--path=ip_testcases/gf180mcu_fd_ip_sram__sram128x8m8wm1.gds \
--path=ip_testcases/gf180mcu_fd_ip_sram__sram256x8m8wm1.gds \
--path=ip_testcases/gf180mcu_fd_ip_sram__sram512x8m8wm1.gds

.ONESHELL:
test-DRC-gf180mcu_fd_io:
@cd $(Testing_DIR)
@echo "========== DRC-gf180mcu_fd_io testing =========="
@ python3 run_sc_regression.py \
--path=sc_testcases/gf180mcu_fd_io_3lm.gds \
--path=sc_testcases/gf180mcu_fd_io_4lm.gds \
--path=sc_testcases/gf180mcu_fd_io_5lm.gds
--path=ip_testcases/gf180mcu_fd_io_3lm.gds \
--path=ip_testcases/gf180mcu_fd_io_4lm.gds \
--path=ip_testcases/gf180mcu_fd_io_5lm.gds

.ONESHELL:
test-DRC-gf180mcu_fd_sc_mcu7t5v0:
Expand Down
6 changes: 3 additions & 3 deletions rules/klayout/drc/testing/run_sc_regression.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@
run_sc_regression.py (--path=<file_path>)... [--thr=<thr>]
Options:
--help -h Print this help message
--path=<file_path> The input GDS file path.
--thr=<thr> The number of threads used in run.
--help -h Print this help message
--path=<file_path> The input GDS file path.
--thr=<thr> The number of threads used in run.
"""
from docopt import docopt
Expand Down
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
18 changes: 14 additions & 4 deletions rules/klayout/lvs/testing/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -33,24 +33,34 @@ test-LVS: Add_run-dir test-LVS_switch test-LVS-gf180mcu_fd_sc test-LVS_main
.ONESHELL:
Add_run-dir:
@cd $(Testing_DIR)
@ mkdir -p $(run_folder)/switch_checking $(run_folder)/main $(run_folder)/gf180mcu_fd_sc_mcu7t5v0 $(run_folder)/gf180mcu_fd_sc_mcu9t5v0
@ mkdir -p $(run_folder)/switch_checking $(run_folder)/main $(run_folder)/gf180mcu_fd_sc_mcu7t5v0 $(run_folder)/gf180mcu_fd_sc_mcu9t5v0 $(run_folder)/gf180mcu_fd_io $(run_folder)/gf180mcu_fd_ip_sram

#=================================
# --------- test-LVS_SC ----------
#=================================

.ONESHELL:
test-LVS-gf180mcu_fd_sc: test-LVS-gf180mcu_fd_sc_mcu7t5v0 test-LVS-gf180mcu_fd_sc_mcu9t5v0
test-LVS-gf180mcu_fd_sc: test-LVS-gf180mcu_fd_sc_mcu7t5v0 test-LVS-gf180mcu_fd_sc_mcu9t5v0 test-LVS-gf180mcu_fd_io test-LVS-gf180mcu_fd_ip_sram

.ONESHELL:
test-LVS-gf180mcu_fd_io: Add_run-dir
@cd $(Testing_DIR)
@ python3 run_sc_regression.py --path=ip_testcases/gf180mcu_fd_io_3lm --path=ip_testcases/gf180mcu_fd_io_4lm --path=ip_testcases/gf180mcu_fd_io_5lm --run_dir=$(run_folder)/gf180mcu_fd_io |& tee $(run_folder)/gf180mcu_fd_io/results.log

.ONESHELL:
test-LVS-gf180mcu_fd_ip_sram: Add_run-dir
@cd $(Testing_DIR)
@ python3 run_sc_regression.py --path=ip_testcases/gf180mcu_fd_ip_sram__sram64x8m8wm1 --path=ip_testcases/gf180mcu_fd_ip_sram__sram128x8m8wm1 --path=ip_testcases/gf180mcu_fd_ip_sram__sram256x8m8wm1 --path=ip_testcases/gf180mcu_fd_ip_sram__sram512x8m8wm1 --run_dir=$(run_folder)/gf180mcu_fd_ip_sram |& tee $(run_folder)/gf180mcu_fd_ip_sram/results.log

.ONESHELL:
test-LVS-gf180mcu_fd_sc_mcu7t5v0: Add_run-dir
@cd $(Testing_DIR)
@ python3 run_sc_regression.py --cell_lib=gf180mcu_fd_sc_mcu7t5v0 --run_dir=$(run_folder)/gf180mcu_fd_sc_mcu7t5v0 |& tee $(run_folder)/gf180mcu_fd_sc_mcu7t5v0/results.log
@ python3 run_sc_regression.py --path=sc_testcases/gf180mcu_fd_sc_mcu7t5v0 --run_dir=$(run_folder)/gf180mcu_fd_sc_mcu7t5v0 |& tee $(run_folder)/gf180mcu_fd_sc_mcu7t5v0/results.log

.ONESHELL:
test-LVS-gf180mcu_fd_sc_mcu9t5v0: Add_run-dir
@cd $(Testing_DIR)
@ python3 run_sc_regression.py --cell_lib=gf180mcu_fd_sc_mcu9t5v0 --run_dir=$(run_folder)/gf180mcu_fd_sc_mcu9t5v0 |& tee $(run_folder)/gf180mcu_fd_sc_mcu9t5v0/results.log
@ python3 run_sc_regression.py --path=sc_testcases/gf180mcu_fd_sc_mcu9t5v0 --run_dir=$(run_folder)/gf180mcu_fd_sc_mcu9t5v0 |& tee $(run_folder)/gf180mcu_fd_sc_mcu9t5v0/results.log

#=================================
# ----- test-LVS_regression ------
Expand Down
45 changes: 0 additions & 45 deletions rules/klayout/lvs/testing/run_full_regression.py

This file was deleted.

Loading

0 comments on commit 4e9e291

Please sign in to comment.