blob: 198c2a72bcd8dee26960aee2ee6570a712dc898d [file] [log] [blame]
# Copyright 2022 GlobalFoundries PDK Authors
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#=========================================================================
# ---------------------------------- LVS ---------------------------------
#=========================================================================
SHELL := /bin/bash
Testing_DIR ?= $(shell pwd)
.DEFAULT_GOAL := all
all: test-LVS
test-LVS: test-LVS-main
#=================================
# ----- test-LVS_regression ------
#=================================
.ONESHELL:
test-LVS-main: test-LVS-MOS test-LVS-BJT test-LVS-DIODE test-LVS-RES test-LVS-MIMCAP test-LVS-PN_VARACTOR test-LVS-MOS_VARACTOR
.ONESHELL:
test-LVS-%:
@ python3 run_regression.py --device_name=$*
#=================================
# -------- test-LVS-switch -------
#=================================
.ONESHELL:
test-LVS-switch:
@cd $(Testing_DIR)
@cd ..
@echo "========== LVS-Switch testing =========="
@python3 run_lvs.py --design=testing/extraction_checking/sample_nfet_03v3.gds --net=sample_nfet_03v3.cir --gf180ic=A
@python3 run_lvs.py --design=testing/extraction_checking/sample_nfet_03v3.gds --net=sample_nfet_03v3.cir --gf180ic=B
@python3 run_lvs.py --design=testing/extraction_checking/sample_nfet_03v3.gds --net=sample_nfet_03v3.cir --gf180ic=C