deleting spacing, add ci test, fixing merge error

This commit is contained in:
FriedrichWu 2024-12-22 12:14:57 +01:00
parent 74cab87782
commit 70ed2a506e
5 changed files with 78 additions and 58 deletions

20
.gitlab-ci.yml Normal file
View File

@ -0,0 +1,20 @@
default:
image: ubuntu:latest
before_script:
- apt-get update && apt-get install -y git wget make gcc curl
- git checkout ci_test
- git pull origin ci_test
- chmod +x ./install_conda.sh
- ./install_conda.sh
- echo "export OPENRAM_HOME="/builds/asic_non_nda/openramenhanced/compiler"" >> ~/.bashrc
- echo "export OPENRAM_TECH="/builds/asic_non_nda/openramenhance/technology"" >> ~/.bashrc
- echo "export PYTHONPATH=$OPENRAM_HOME" >> ~/.bashrc
- source ~/.bashrc
- source miniconda/bin/activate
- make sky130-pdk
- make sky130-install
script:
- pwd
- cd ./macros
- make sky130_sram_1rw_tiny

View File

@ -2171,7 +2171,7 @@ class layout():
pin = self.add_power_pin(name="vdd", pin = self.add_power_pin(name="vdd",
loc=loc, loc=loc,
start_layer="li") start_layer="li")
elif route_option == "fast": elif route_option == "quality":
pin = self.add_power_pin_m2(name="vdd", pin = self.add_power_pin_m2(name="vdd",
loc=loc, loc=loc,
start_layer="li") start_layer="li")
@ -2197,7 +2197,7 @@ class layout():
pin = self.add_power_pin(name="vdd", pin = self.add_power_pin(name="vdd",
loc=loc, loc=loc,
start_layer="li") start_layer="li")
elif route_option == "fast": elif route_option == "quality":
pin = self.add_power_pin_m2(name="vdd", pin = self.add_power_pin_m2(name="vdd",
loc=loc, loc=loc,
start_layer="li") start_layer="li")

View File

@ -1135,7 +1135,7 @@ class sram_1bank(design, verilog, lef):
if OPTS.route_supplies: if OPTS.route_supplies:
if route_option == "classic": if route_option == "classic":
self.route_supplies(init_bbox) self.route_supplies(init_bbox)
else: # quality elif route_option == "quality": # quality
self.route_supplies_constructive(init_bbox) self.route_supplies_constructive(init_bbox)
def route_dffs(self, add_routes=True): def route_dffs(self, add_routes=True):