resync files with mpw-one-b
diff --git a/utils/MAGIC.txt b/utils/MAGIC.txt
index aeefbb2..78b4d56 100644
--- a/utils/MAGIC.txt
+++ b/utils/MAGIC.txt
@@ -1,3 +1,19 @@
+# SPDX-FileCopyrightText: 2020 Efabless Corporation
+#
+# 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.
+#
+# SPDX-License-Identifier: Apache-2.0
+
####
1) You must set the PDK_ROOT variable
diff --git a/utils/README.txt b/utils/README.txt
index aeefbb2..78b4d56 100644
--- a/utils/README.txt
+++ b/utils/README.txt
@@ -1,3 +1,19 @@
+# SPDX-FileCopyrightText: 2020 Efabless Corporation
+#
+# 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.
+#
+# SPDX-License-Identifier: Apache-2.0
+
####
1) You must set the PDK_ROOT variable
diff --git a/utils/addmpwseal.tcl b/utils/addmpwseal.tcl
index 7874eff..b562f93 100644
--- a/utils/addmpwseal.tcl
+++ b/utils/addmpwseal.tcl
@@ -1,3 +1,18 @@
+# SPDX-FileCopyrightText: 2020 Efabless Corporation
+#
+# 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.
+# SPDX-License-Identifier: Apache-2.0
+
drc off
gds readonly true
gds rescale false
diff --git a/utils/core_scripts/README.md b/utils/core_scripts/README.md
index daa5515..b14c1db 100644
--- a/utils/core_scripts/README.md
+++ b/utils/core_scripts/README.md
@@ -1,3 +1,20 @@
+<!---
+# SPDX-FileCopyrightText: 2020 Efabless Corporation
+#
+# 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.
+#
+# SPDX-License-Identifier: Apache-2.0
+-->
# What is this?
Core scripts are doing the actual work, scripts under ../scripts are the ones that should be used.
\ No newline at end of file
diff --git a/utils/core_scripts/magic-drc.sh b/utils/core_scripts/magic-drc.sh
index d2d6549..5f5068d 100644
--- a/utils/core_scripts/magic-drc.sh
+++ b/utils/core_scripts/magic-drc.sh
@@ -1,5 +1,5 @@
#!/bin/bash
-# Copyright 2020 Efabless Corporation
+# SPDX-FileCopyrightText: 2020 Efabless Corporation
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
@@ -12,6 +12,7 @@
# 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.
+# SPDX-License-Identifier: Apache-2.0
# To call: ./magic-drc.sh <target_path> <design_name> <pdk-root> <target-type> <pdk-name> <output_path>
diff --git a/utils/core_scripts/magic-drc.tcl b/utils/core_scripts/magic-drc.tcl
index 3db318e..6768d3c 100755
--- a/utils/core_scripts/magic-drc.tcl
+++ b/utils/core_scripts/magic-drc.tcl
@@ -1,4 +1,4 @@
-# Copyright 2020 Efabless Corporation
+# SPDX-FileCopyrightText: 2020 Efabless Corporation
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
@@ -11,6 +11,7 @@
# 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.
+# SPDX-License-Identifier: Apache-2.0
if { $::env(TARGET_TYPE) == "gds"} {
gds read $::env(TARGET_DIR)/$::env(DESIGN_NAME).gds
diff --git a/utils/core_scripts/magic-ext.sh b/utils/core_scripts/magic-ext.sh
index bd51abd..68bfc39 100644
--- a/utils/core_scripts/magic-ext.sh
+++ b/utils/core_scripts/magic-ext.sh
@@ -1,5 +1,5 @@
#!/bin/bash
-# Copyright 2020 Efabless Corporation
+# SPDX-FileCopyrightText: 2020 Efabless Corporation
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
@@ -12,6 +12,7 @@
# 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.
+# SPDX-License-Identifier: Apache-2.0
# To call: ./magic-ext.sh <target_path> <design_name> <pdk-root> <target-type> <pdk-name> <output_path>
diff --git a/utils/core_scripts/magic-ext.tcl b/utils/core_scripts/magic-ext.tcl
index a67ba3b..5a05dcb 100644
--- a/utils/core_scripts/magic-ext.tcl
+++ b/utils/core_scripts/magic-ext.tcl
@@ -1,5 +1,5 @@
#!/usr/bin/tclsh
-# Copyright 2020 Efabless Corporation
+# SPDX-FileCopyrightText: 2020 Efabless Corporation
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
@@ -12,6 +12,7 @@
# 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.
+# SPDX-License-Identifier: Apache-2.0
puts "Performing Spice Extractions..."
diff --git a/utils/drc-def-sky130A.sh b/utils/drc-def-sky130A.sh
index 5e009ec..671b14a 100644
--- a/utils/drc-def-sky130A.sh
+++ b/utils/drc-def-sky130A.sh
@@ -1,5 +1,5 @@
#!/bin/bash
-# Copyright 2020 Efabless Corporation
+# SPDX-FileCopyrightText: 2020 Efabless Corporation
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
@@ -12,6 +12,7 @@
# 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.
+# SPDX-License-Identifier: Apache-2.0
# To call: ./drc-def-sky130A.sh <target_path> <design_name> <pdk-root> [<output_path> default is <target_path>/results/]
diff --git a/utils/drc-gds-sky130A.sh b/utils/drc-gds-sky130A.sh
index aff4cec..4c1d6d8 100644
--- a/utils/drc-gds-sky130A.sh
+++ b/utils/drc-gds-sky130A.sh
@@ -1,5 +1,5 @@
#!/bin/bash
-# Copyright 2020 Efabless Corporation
+# SPDX-FileCopyrightText: 2020 Efabless Corporation
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
@@ -12,6 +12,7 @@
# 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.
+# SPDX-License-Identifier: Apache-2.0
# To call: ./drc-gds-sky130A.sh <target_path> <design_name> <pdk-root> [<output_path> default is <target_path>/results/]
diff --git a/utils/drc-mag-sky130A.sh b/utils/drc-mag-sky130A.sh
index 9fedad3..2bbecd3 100644
--- a/utils/drc-mag-sky130A.sh
+++ b/utils/drc-mag-sky130A.sh
@@ -1,5 +1,5 @@
#!/bin/bash
-# Copyright 2020 Efabless Corporation
+# SPDX-FileCopyrightText: 2020 Efabless Corporation
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
@@ -12,6 +12,7 @@
# 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.
+# SPDX-License-Identifier: Apache-2.0
# To call: ./drc-mag-sky130A.sh <target_path> <design_name> <pdk-root> [<output_path> default is <target_path>/results/]
diff --git a/utils/examples/README.md b/utils/examples/README.md
index c81d547..10f7a37 100644
--- a/utils/examples/README.md
+++ b/utils/examples/README.md
@@ -1,2 +1,19 @@
+<!---
+# SPDX-FileCopyrightText: 2020 Efabless Corporation
+#
+# 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.
+#
+# SPDX-License-Identifier: Apache-2.0
+-->
This folder contains miscelleneous useful scripts
THIS IS STILL WORK IN PROGRESSS - SUGGESTIONS ARE WELCOME THROUGH ISSUES
diff --git a/utils/examples/addmpwseal.tcl b/utils/examples/addmpwseal.tcl
index 695ced2..79e4b9e 100644
--- a/utils/examples/addmpwseal.tcl
+++ b/utils/examples/addmpwseal.tcl
@@ -1,3 +1,18 @@
+# SPDX-FileCopyrightText: 2020 Efabless Corporation
+#
+# 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.
+# SPDX-License-Identifier: Apache-2.0
+
drc off
gds readonly true
gds read ../gds/sram_1rw1r_32_256_8_sky130_lp1.gds
diff --git a/utils/examples/create-project.sh b/utils/examples/create-project.sh
index 6817239..5b5b69c 100755
--- a/utils/examples/create-project.sh
+++ b/utils/examples/create-project.sh
@@ -1,4 +1,19 @@
#!/bin/sh
+# SPDX-FileCopyrightText: 2020 Efabless Corporation
+#
+# 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.
+# SPDX-License-Identifier: Apache-2.0
+
cat <<'EOT' > .gitignore
.DS_Store
*.vcd
diff --git a/utils/examples/dot.magicrc b/utils/examples/dot.magicrc
index 029ee93..42f2fb2 100644
--- a/utils/examples/dot.magicrc
+++ b/utils/examples/dot.magicrc
@@ -1,3 +1,19 @@
+# SPDX-FileCopyrightText: 2020 Efabless Corporation
+#
+# 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.
+#
+# SPDX-License-Identifier: Apache-2.0
+
puts stdout "Sourcing design .magicrc for technology sky130A ..."
# Put grid on 0.005 pitch. This is important, as some commands don't
diff --git a/utils/examples/drc-mag.sh b/utils/examples/drc-mag.sh
index 075ce5a..7229f45 100644
--- a/utils/examples/drc-mag.sh
+++ b/utils/examples/drc-mag.sh
@@ -1,4 +1,19 @@
#!/bin/bash
+# SPDX-FileCopyrightText: 2020 Efabless Corporation
+#
+# 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.
+# SPDX-License-Identifier: Apache-2.0
+
export MAGTYPE=mag ;
export BASE=/home/mk/zooz/ ;
diff --git a/utils/examples/drc-maglef.sh b/utils/examples/drc-maglef.sh
index 6289f0b..42f622f 100644
--- a/utils/examples/drc-maglef.sh
+++ b/utils/examples/drc-maglef.sh
@@ -1,4 +1,19 @@
#!/bin/bash
+# SPDX-FileCopyrightText: 2020 Efabless Corporation
+#
+# 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.
+# SPDX-License-Identifier: Apache-2.0
+
export MAGTYPE=maglef ;
export BASE=/home/mk/zooz/ ;
diff --git a/utils/examples/drc.sh b/utils/examples/drc.sh
index 075ce5a..7229f45 100755
--- a/utils/examples/drc.sh
+++ b/utils/examples/drc.sh
@@ -1,4 +1,19 @@
#!/bin/bash
+# SPDX-FileCopyrightText: 2020 Efabless Corporation
+#
+# 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.
+# SPDX-License-Identifier: Apache-2.0
+
export MAGTYPE=mag ;
export BASE=/home/mk/zooz/ ;
diff --git a/utils/examples/edit.tcl b/utils/examples/edit.tcl
index 7b30db2..f1766ad 100644
--- a/utils/examples/edit.tcl
+++ b/utils/examples/edit.tcl
@@ -1,3 +1,18 @@
+# SPDX-FileCopyrightText: 2020 Efabless Corporation
+#
+# 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.
+# SPDX-License-Identifier: Apache-2.0
+
drc off
puts "Small delay..."
set macro_mags "digital_pll.mag lvlshiftdown.mag striVe2_soc.mag striVe_clkrst.mag striVe_spi.mag"
diff --git a/utils/examples/ext-gds.sh b/utils/examples/ext-gds.sh
index b528d63..c3efd7e 100644
--- a/utils/examples/ext-gds.sh
+++ b/utils/examples/ext-gds.sh
@@ -1,4 +1,19 @@
#!/bin/bash
+# SPDX-FileCopyrightText: 2020 Efabless Corporation
+#
+# 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.
+# SPDX-License-Identifier: Apache-2.0
+
export MAGTYPE=maglef ;
export BASE=/home/mk/zooz/ ;
diff --git a/utils/examples/ext-mag.sh b/utils/examples/ext-mag.sh
index cb3cfcc..a62a831 100644
--- a/utils/examples/ext-mag.sh
+++ b/utils/examples/ext-mag.sh
@@ -1,4 +1,19 @@
#!/bin/bash
+# SPDX-FileCopyrightText: 2020 Efabless Corporation
+#
+# 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.
+# SPDX-License-Identifier: Apache-2.0
+
export MAGTYPE=mag ;
export BASE=/home/mk/zooz/ ;
diff --git a/utils/examples/ext.sh b/utils/examples/ext.sh
index 3a68b67..b414e8b 100644
--- a/utils/examples/ext.sh
+++ b/utils/examples/ext.sh
@@ -1,4 +1,19 @@
#!/bin/bash
+# SPDX-FileCopyrightText: 2020 Efabless Corporation
+#
+# 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.
+# SPDX-License-Identifier: Apache-2.0
+
export MAGTYPE=maglef ;
export BASE=/home/mk/zooz/ ;
diff --git a/utils/examples/extract.tcl b/utils/examples/extract.tcl
index e043e66..a38c9cb 100644
--- a/utils/examples/extract.tcl
+++ b/utils/examples/extract.tcl
@@ -1,3 +1,18 @@
+# SPDX-FileCopyrightText: 2020 Efabless Corporation
+#
+# 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.
+# SPDX-License-Identifier: Apache-2.0
+
lef read $::env(PDKPATH)/libs.ref/techLEF/scs8hd/scs8hd_tech.lef
set macro_mags "openram_tc_core.mag"
diff --git a/utils/examples/lvs.sh b/utils/examples/lvs.sh
index 33d010f..3a5043e 100755
--- a/utils/examples/lvs.sh
+++ b/utils/examples/lvs.sh
@@ -1,4 +1,19 @@
#!/bin/sh
+# SPDX-FileCopyrightText: 2020 Efabless Corporation
+#
+# 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.
+# SPDX-License-Identifier: Apache-2.0
+
/ef/apps/bin/netgen -noconsole << EOF
readnet spice $1.spice
readnet spice $1.sp
diff --git a/utils/examples/mag2gds.tcl b/utils/examples/mag2gds.tcl
index 372a3a3..8d7057d 100644
--- a/utils/examples/mag2gds.tcl
+++ b/utils/examples/mag2gds.tcl
@@ -1,3 +1,18 @@
+# SPDX-FileCopyrightText: 2020 Efabless Corporation
+#
+# 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.
+# SPDX-License-Identifier: Apache-2.0
+
# assumes an /ef tree or at least a symlink
drc off
gds readonly true
diff --git a/utils/examples/magic_drc.tcl b/utils/examples/magic_drc.tcl
index 9ea88fa..554a4c6 100755
--- a/utils/examples/magic_drc.tcl
+++ b/utils/examples/magic_drc.tcl
@@ -1,4 +1,4 @@
-# Copyright 2020 Efabless Corporation
+# SPDX-FileCopyrightText: 2020 Efabless Corporation
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
@@ -11,6 +11,7 @@
# 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.
+# SPDX-License-Identifier: Apache-2.0
set ::env(DESIGN_NAME) openram_tc_1kb
drc off
lef read ../lef/sram_1rw1r_32_256_8_sky130_lp1.lef
diff --git a/utils/examples/pfg.sh b/utils/examples/pfg.sh
index 5cc71b4..9d8def1 100755
--- a/utils/examples/pfg.sh
+++ b/utils/examples/pfg.sh
@@ -1,4 +1,19 @@
#!/bin/bash
+# SPDX-FileCopyrightText: 2020 Efabless Corporation
+#
+# 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.
+# SPDX-License-Identifier: Apache-2.0
+
export PDKPATH=/home/mk/zooz/pdks/ef-skywater-s8/EFS8A
export MAGTYPE=mag
diff --git a/utils/examples/run_openram_tc_1kb.sh b/utils/examples/run_openram_tc_1kb.sh
index d520971..408ce96 100755
--- a/utils/examples/run_openram_tc_1kb.sh
+++ b/utils/examples/run_openram_tc_1kb.sh
@@ -1,4 +1,19 @@
#!/bin/bash
+# SPDX-FileCopyrightText: 2020 Efabless Corporation
+#
+# 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.
+# SPDX-License-Identifier: Apache-2.0
+
#
# Run netgen on striVe (top level)
#
diff --git a/utils/examples/setup.tcl b/utils/examples/setup.tcl
index c90e3bb..193dd2f 100644
--- a/utils/examples/setup.tcl
+++ b/utils/examples/setup.tcl
@@ -1,3 +1,18 @@
+# SPDX-FileCopyrightText: 2020 Efabless Corporation
+#
+# 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.
+# SPDX-License-Identifier: Apache-2.0
+
# We must flatten these because the ports are disconnected
flatten class {-circuit1 dummy_cell_6t}
flatten class {-circuit1 dummy_cell_1rw_1r}
diff --git a/utils/examples/wrap.tcl b/utils/examples/wrap.tcl
index a8e5593..fc2c87e 100644
--- a/utils/examples/wrap.tcl
+++ b/utils/examples/wrap.tcl
@@ -1,3 +1,18 @@
+# SPDX-FileCopyrightText: 2020 Efabless Corporation
+#
+# 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.
+# SPDX-License-Identifier: Apache-2.0
+
drc off
gds readonly yes
gds rescale no
diff --git a/utils/examples/wrap2.tcl b/utils/examples/wrap2.tcl
index 5ed83f1..db1db3c 100644
--- a/utils/examples/wrap2.tcl
+++ b/utils/examples/wrap2.tcl
@@ -1,3 +1,18 @@
+# SPDX-FileCopyrightText: 2020 Efabless Corporation
+#
+# 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.
+# SPDX-License-Identifier: Apache-2.0
+
drc off
gds readonly yes
gds rescale no
diff --git a/utils/examples/xor.sh b/utils/examples/xor.sh
index aca6c48..6911062 100755
--- a/utils/examples/xor.sh
+++ b/utils/examples/xor.sh
@@ -1,4 +1,19 @@
#!/bin/sh
+# SPDX-FileCopyrightText: 2020 Efabless Corporation
+#
+# 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.
+# SPDX-License-Identifier: Apache-2.0
+
: ${1?"Usage: $0 file1.gds file2.gds <top_level_module_name>"}
: ${2?"Usage: $0 file1.gds file2.gds <top_level_module_name>"}
diff --git a/utils/ext-def-sky130A.sh b/utils/ext-def-sky130A.sh
index 0977ccf..51ec955 100644
--- a/utils/ext-def-sky130A.sh
+++ b/utils/ext-def-sky130A.sh
@@ -1,5 +1,5 @@
#!/bin/bash
-# Copyright 2020 Efabless Corporation
+# SPDX-FileCopyrightText: 2020 Efabless Corporation
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
@@ -12,6 +12,7 @@
# 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.
+# SPDX-License-Identifier: Apache-2.0
# To call: ./ext-def-sky130A.sh <target_path> <design_name> <pdk-root> [<output_path> default is <target_path>/results/]
diff --git a/utils/ext-gds-sky130A.sh b/utils/ext-gds-sky130A.sh
index d7ddb64..35071b8 100644
--- a/utils/ext-gds-sky130A.sh
+++ b/utils/ext-gds-sky130A.sh
@@ -1,5 +1,5 @@
#!/bin/bash
-# Copyright 2020 Efabless Corporation
+# SPDX-FileCopyrightText: 2020 Efabless Corporation
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
@@ -12,6 +12,7 @@
# 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.
+# SPDX-License-Identifier: Apache-2.0
# To call: ./ext-gds-sky130A.sh <target_path> <design_name> <pdk-root> [<output_path> default is <target_path>/results/]
diff --git a/utils/ext-mag-sky130A.sh b/utils/ext-mag-sky130A.sh
index 16f110f..b57ec31 100644
--- a/utils/ext-mag-sky130A.sh
+++ b/utils/ext-mag-sky130A.sh
@@ -1,5 +1,5 @@
#!/bin/bash
-# Copyright 2020 Efabless Corporation
+# SPDX-FileCopyrightText: 2020 Efabless Corporation
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
@@ -12,6 +12,7 @@
# 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.
+# SPDX-License-Identifier: Apache-2.0
# To call: ./ext-mag-sky130A.sh <target_path> <design_name> <pdk-root> [<output_path> default is <target_path>/results/]
diff --git a/utils/gds2mag-mag.local.sh b/utils/gds2mag-mag.local.sh
index 617c7c2..110358b 100755
--- a/utils/gds2mag-mag.local.sh
+++ b/utils/gds2mag-mag.local.sh
@@ -1,4 +1,19 @@
#!/bin/sh
+# SPDX-FileCopyrightText: 2020 Efabless Corporation
+#
+# 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.
+# SPDX-License-Identifier: Apache-2.0
+
export PDK_ROOT=~/foss/pdks/open_pdks/sky130;
export MAGTYPE=mag ;
export PDKPATH=$PDK_ROOT/sky130A ;
diff --git a/utils/gds2mag-mag.sh b/utils/gds2mag-mag.sh
index 79257df..d53b156 100755
--- a/utils/gds2mag-mag.sh
+++ b/utils/gds2mag-mag.sh
@@ -1,4 +1,19 @@
#!/bin/sh
+# SPDX-FileCopyrightText: 2020 Efabless Corporation
+#
+# 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.
+# SPDX-License-Identifier: Apache-2.0
+
export PDK_ROOT=~/foss/pdks/open_pdks/sky130;
export MAGTYPE=mag ;
export PDKPATH=$PDK_ROOT/sky130A ;
diff --git a/utils/lef2maglef.sh b/utils/lef2maglef.sh
index 109dd36..455c4a6 100755
--- a/utils/lef2maglef.sh
+++ b/utils/lef2maglef.sh
@@ -1,4 +1,19 @@
#!/bin/bash
+# SPDX-FileCopyrightText: 2020 Efabless Corporation
+#
+# 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.
+# SPDX-License-Identifier: Apache-2.0
+
export PDK_ROOT=~/foss/pdks/open_pdks/sky130;
export MAGTYPE=mag ;
diff --git a/utils/mag2maglef-mag.sh b/utils/mag2maglef-mag.sh
index 51082fd..2934887 100755
--- a/utils/mag2maglef-mag.sh
+++ b/utils/mag2maglef-mag.sh
@@ -1,4 +1,19 @@
#!/bin/bash
+# SPDX-FileCopyrightText: 2020 Efabless Corporation
+#
+# 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.
+# SPDX-License-Identifier: Apache-2.0
+
export PDK_ROOT=~/foss/pdks/open_pdks/sky130;
export MAGTYPE=mag ;
diff --git a/utils/mag2maglef-maglef.localrc.sh b/utils/mag2maglef-maglef.localrc.sh
index 6c50ffa..f167252 100755
--- a/utils/mag2maglef-maglef.localrc.sh
+++ b/utils/mag2maglef-maglef.localrc.sh
@@ -1,4 +1,19 @@
#!/bin/bash
+# SPDX-FileCopyrightText: 2020 Efabless Corporation
+#
+# 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.
+# SPDX-License-Identifier: Apache-2.0
+
export PDK_ROOT=~/foss/pdks/open_pdks/sky130;
export MAGTYPE=maglef ;
diff --git a/utils/mag2maglef-maglef.sh b/utils/mag2maglef-maglef.sh
index 48f3735..e70fbd3 100755
--- a/utils/mag2maglef-maglef.sh
+++ b/utils/mag2maglef-maglef.sh
@@ -1,4 +1,19 @@
#!/bin/bash
+# SPDX-FileCopyrightText: 2020 Efabless Corporation
+#
+# 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.
+# SPDX-License-Identifier: Apache-2.0
+
export PDK_ROOT=~/foss/pdks/open_pdks/sky130;
export MAGTYPE=maglef ;
diff --git a/utils/magicDrc b/utils/magicDrc
index 94b0b7b..fa6f783 100755
--- a/utils/magicDrc
+++ b/utils/magicDrc
@@ -1,4 +1,19 @@
#!/bin/bash
+# SPDX-FileCopyrightText: 2015, 2020 Efabless Corporation
+#
+# 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.
+#
+# SPDX-License-Identifier: Apache-2.0
# Copyright (C) 2015, 2020 efabless Corporation. All Rights Reserved.
# filter out most options, so magic Natively sees/handles *only* -T <file>.
# for-bash\
diff --git a/utils/magicGdrc b/utils/magicGdrc
index c6330b3..88280ee 100755
--- a/utils/magicGdrc
+++ b/utils/magicGdrc
@@ -1,4 +1,19 @@
#!/bin/sh
+# SPDX-FileCopyrightText: 2014, 2015, 2020 Efabless Corporation
+#
+# 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.
+#
+# SPDX-License-Identifier: Apache-2.0
# Copyright (C) 2014, 2015, 2020 efabless Corporation. All Rights Reserved.
# send a very-first -T FILE to magic's startup, hide all other args from magic-startup
# for-bash\