Matthew Guthaus
11/14/2021, 3:33 AM[11/13/21 18:09:23 PST] EXCEPTION
Script error code: 1
What does that mean?Matthew Guthaus
11/14/2021, 3:41 AMTim Edwards
11/14/2021, 3:23 PMMatthew Guthaus
11/14/2021, 3:47 PMMatthew Guthaus
11/14/2021, 3:47 PMMatthew Guthaus
11/14/2021, 4:18 PMjeffdi
Matthew Guthaus
11/14/2021, 4:48 PMMatthew Guthaus
11/14/2021, 7:14 PMCannot open /project/openlane/user_project_wrapper/../../gds/sky130_sram_1kbyte_1rw1r_32x256_8.gds.gds, /project/ope\
nlane/user_project_wrapper/../../gds/sky130_sram_1kbyte_1rw1r_32x256_8.gds.strm or /project/openlane/user_project_wr\
apper/../../gds/sky130_sram_1kbyte_1rw1r_32x256_8.gds to read GDS-II stream input.
...
Warning: Writing abstract view of "sky130_sram_4kbyte_1rw_32x1024_8" to GDS. This is probably not what you want to\
do.
jeffdi
Matthew Guthaus
11/14/2021, 7:16 PMReading LEF data from file /project/openlane/user_project_wrapper/../../lef/sky130_sram_1kbyte_1rw1r_32x256_8.lef.
This action cannot be undone.
Matthew Guthaus
11/14/2021, 7:17 PMMatthew Guthaus
11/14/2021, 7:19 PMMatthew Guthaus
11/14/2021, 7:19 PMTim Edwards
11/14/2021, 7:20 PMMatthew Guthaus
11/14/2021, 7:20 PMMatthew Guthaus
11/14/2021, 7:21 PMTim Edwards
11/14/2021, 7:22 PMMatthew Guthaus
11/14/2021, 7:23 PMMatthew Guthaus
11/14/2021, 7:24 PMMatthew Guthaus
11/14/2021, 7:26 PMjeffdi
Matthew Guthaus
11/14/2021, 7:29 PMjeffdi
Matthew Guthaus
11/14/2021, 7:29 PMjeffdi
Matthew Guthaus
11/14/2021, 7:31 PMdiff --git a/scripts/utils/utils.tcl b/scripts/utils/utils.tcl
index 14e2b45..bca914a 100755
--- a/scripts/utils/utils.tcl
+++ b/scripts/utils/utils.tcl
@@ -138,7 +138,12 @@ proc parse_key_args {cmd arg_var key_var options {flag_var ""} {flags {}} {consu
# puts a variable in a log file
proc set_log {var val filepath log_flag} {
set cmd "set ${var} \"${val}\""
- uplevel #0 ${cmd}
+ if { [string first {[} "$val"] != -1 } {
+ set cmd "set ${var} \{${val}\}"
+ } else {
+ set cmd "set ${var} \"${val}\""
+ }
+ uplevel #0 ${cmd}
set global_cfg_file [open $filepath a+]
if { $log_flag } {
puts $global_cfg_file $cmd
and these changes to openram_testchip/caravel so that it mounts the correct openlane copy to get the above change:
diff --git a/openlane/Makefile b/openlane/Makefile
index d1ac633..bd4246a 100644
--- a/openlane/Makefile
+++ b/openlane/Makefile
@@ -42,7 +42,7 @@ endif
@sleep 1
@if [ -f ./$*/interactive.tcl ]; then\
- docker run -it -v $(OPENLANE_ROOT):/openLANE_flow \
+ docker run -it -v $(OPENLANE_ROOT):/openlane \
-v $(PDK_ROOT):$(PDK_ROOT) \
-v $(PWD)/..:/project \
-v $(CARAVEL_ROOT):$(CARAVEL_ROOT) \
@@ -51,7 +51,7 @@ endif
-u $(shell id -u $(USER)):$(shell id -g $(USER)) \
$(OPENLANE_IMAGE_NAME) sh -c $(OPENLANE_INTERACTIVE_COMMAND);\
else\
- docker run -it -v $(OPENLANE_ROOT):/openLANE_flow \
+ docker run -it -v $(OPENLANE_ROOT):/openlane \
-v $(PDK_ROOT):$(PDK_ROOT) \
-v $(PWD)/..:/project \
-v $(CARAVEL_ROOT):$(CARAVEL_ROOT) \
And then things should work.jeffdi
Matthew Guthaus
11/14/2021, 7:35 PMMatthew Guthaus
11/14/2021, 7:35 PM-v $(PWD)/..:/project
Matthew Guthaus
11/14/2021, 7:35 PMMatthew Guthaus
11/14/2021, 7:36 PMjeffdi
Matthew Guthaus
11/14/2021, 7:37 PMbash-4.2$ ls -al /project/gds
total 568340
drwxrwxr-x 2 1000 1000 4096 Nov 14 16:11 .
drwxrwxr-x 17 1000 1000 4096 Nov 14 19:13 ..
-rw-rw-r-- 1 1000 1000 9567894 Nov 9 19:22 sky130_sram_1kbyte_1rw1r_32x256_8.gds
-rw-rw-r-- 1 1000 1000 8989284 Nov 9 19:22 sky130_sram_1kbyte_1rw1r_8x1024_8.gds
-rw-rw-r-- 1 1000 1000 7137166 Nov 9 19:22 sky130_sram_1kbyte_1rw_32x256_8.gds
-rw-rw-r-- 1 1000 1000 14736862 Nov 9 19:22 sky130_sram_2kbyte_1rw1r_32x512_8.gds
-rw-rw-r-- 1 1000 1000 11669176 Nov 9 19:22 sky130_sram_2kbyte_1rw_32x512_8.gds
-rw-rw-r-- 1 1000 1000 25566744 Nov 9 19:22 sky130_sram_4kbyte_1rw1r_32x1024_8.gds
-rw-rw-r-- 1 1000 1000 20674660 Nov 9 19:22 sky130_sram_4kbyte_1rw_32x1024_8.gds
-rw-rw-r-- 1 1000 1000 21308330 Nov 9 19:22 sky130_sram_4kbyte_1rw_64x512_8.gds
-rw-rw-r-- 1 1000 1000 43809422 Nov 9 19:22 sky130_sram_8kbyte_1rw1r_32x2048_8.gds
-rw-rw-r-- 1 1000 1000 38103446 Nov 9 19:22 sky130_sram_8kbyte_1rw_64x1024_8.gds
jeffdi
Matthew Guthaus
11/14/2021, 7:39 PMbash-4.2$ ls -al /project/openlane/user_project_wrapper/../../gds/sky130_sram_1kbyte_1rw1r_32x256_8.gds
-rw-rw-r-- 1 1000 1000 9567894 Nov 9 19:22 /project/openlane/user_project_wrapper/../../gds/sky130_sram_1kbyte_1rw1r_32x256_8.gds
jeffdi
Matthew Guthaus
11/14/2021, 7:44 PMMatthew Guthaus
11/14/2021, 7:45 PMMatthew Guthaus
11/14/2021, 7:46 PMMatthew Guthaus
11/14/2021, 7:49 PMMatthew Guthaus
11/14/2021, 7:49 PMjeffdi
Matthew Guthaus
11/14/2021, 7:49 PMjeffdi
Matthew Guthaus
11/14/2021, 7:49 PMMatthew Guthaus
11/14/2021, 7:50 PMjeffdi
Matthew Guthaus
11/14/2021, 9:02 PM