Skip to content

Commit efaf943

Browse files
committed
Merge branch 'master' into ma@update4
Signed-off-by: louiic <[email protected]>
2 parents fbea293 + f03b5fa commit efaf943

File tree

12 files changed

+24
-546
lines changed

12 files changed

+24
-546
lines changed

etc/DependencyInstaller.sh

Lines changed: 21 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -82,25 +82,28 @@ _installUbuntuPackages() {
8282
libqt5multimediawidgets5 \
8383
libqt5svg5-dev
8484

85-
lastDir="$(pwd)"
86-
87-
# temp dir to download and compile
88-
baseDir=/tmp/installers
89-
mkdir -p "${baseDir}"
90-
cd ${baseDir}
9185

9286
# install KLayout
93-
if [[ $1 == 20.04 ]]; then
94-
klayoutChecksum=15a26f74cf396d8a10b7985ed70ab135
87+
if _versionCompare $1 -ge 23.04; then
88+
apt-get install klayout python3-pandas
9589
else
96-
klayoutChecksum=db751264399706a23d20455bb7624264
90+
if [[ $1 == 20.04 ]]; then
91+
klayoutChecksum=15a26f74cf396d8a10b7985ed70ab135
92+
else
93+
klayoutChecksum=db751264399706a23d20455bb7624264
94+
fi
95+
lastDir="$(pwd)"
96+
# temp dir to download and compile
97+
baseDir=/tmp/installers
98+
mkdir -p "${baseDir}"
99+
cd ${baseDir}
100+
101+
wget https://www.klayout.org/downloads/Ubuntu-${1%.*}/klayout_${klayoutVersion}-1_amd64.deb
102+
md5sum -c <(echo "${klayoutChecksum} klayout_${klayoutVersion}-1_amd64.deb") || exit 1
103+
dpkg -i klayout_${klayoutVersion}-1_amd64.deb
104+
cd ${lastDir}
105+
rm -rf "${baseDir}"
97106
fi
98-
wget https://www.klayout.org/downloads/Ubuntu-${1%.*}/klayout_${klayoutVersion}-1_amd64.deb
99-
md5sum -c <(echo "${klayoutChecksum} klayout_${klayoutVersion}-1_amd64.deb") || exit 1
100-
dpkg -i klayout_${klayoutVersion}-1_amd64.deb
101-
102-
cd ${lastDir}
103-
rm -rf "${baseDir}"
104107
}
105108

106109
_installDarwinPackages() {
@@ -221,7 +224,9 @@ case "${os}" in
221224
_installUbuntuCleanUp
222225
fi
223226
if [[ "${option}" == "common" || "${option}" == "all" ]]; then
224-
_installCommon
227+
if _versionCompare ${version} -lt 23.04 ; then
228+
_installCommon
229+
fi
225230
fi
226231
;;
227232
"Darwin" )

flow/Makefile

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,6 @@
8080
# DESIGN_CONFIG=./designs/asap7/riscv32i/config.mk
8181
# DESIGN_CONFIG=./designs/asap7/sha3/config.mk
8282
# DESIGN_CONFIG=./designs/asap7/swerv_wrapper/config.mk
83-
# DESIGN_CONFIG=./designs/asap7/uart-blocks/config.mk
8483
# DESIGN_CONFIG=./designs/asap7/uart/config.mk
8584

8685
# DESIGN_CONFIG=./designs/intel16/aes/config.mk
@@ -350,11 +349,11 @@ $(OBJECTS_DIR)/klayout_tech.lef: $(TECH_LEF)
350349
@mkdir -p $(OBJECTS_DIR)
351350
sed '/OR_DEFAULT/d' $< > $@
352351

353-
$(OBJECTS_DIR)/klayout.lyt: $(KLAYOUT_TECH_FILE) $(OBJECTS_DIR)/klayout_tech.lef
354-
sed 's,<lef-files>.*</lef-files>,$(foreach file, $(OBJECTS_DIR)/klayout_tech.lef $(SC_LEF) $(ADDITIONAL_LEFS),<lef-files>$(abspath $(file))</lef-files>),g' $< > $@
352+
$(OBJECTS_DIR)/klayout.lyt: $(KLAYOUT_TECH_FILE) $(OBJECTS_DIR)/klayout_tech.lef
353+
sed 's,<lef-files>.*</lef-files>,$(foreach file, $(OBJECTS_DIR)/klayout_tech.lef $(SC_LEF) $(ADDITIONAL_LEFS),<lef-files>$(shell realpath --relative-to=$(RESULTS_DIR) $(file))</lef-files>),g' $< > $@
355354

356355
$(OBJECTS_DIR)/klayout_wrap.lyt: $(KLAYOUT_TECH_FILE) $(OBJECTS_DIR)/klayout_tech.lef
357-
sed 's,<lef-files>.*</lef-files>,$(foreach file, $(OBJECTS_DIR)/klayout_tech.lef $(WRAP_LEFS),<lef-files>$(abspath $(file))</lef-files>),g' $< > $@
356+
sed 's,<lef-files>.*</lef-files>,$(foreach file, $(OBJECTS_DIR)/klayout_tech.lef $(WRAP_LEFS),<lef-files>$(shell realpath --relative-to=$(RESULTS_DIR) $(file))</lef-files>),g' $< > $@
358357
# Create Macro wrappers (if necessary)
359358
# ==============================================================================
360359
WRAP_CFG = $(PLATFORM_DIR)/wrapper.cfg

flow/designs/asap7/uart-blocks/BLOCKS_grid_strategy.tcl

Lines changed: 0 additions & 29 deletions
This file was deleted.

flow/designs/asap7/uart-blocks/config.mk

Lines changed: 0 additions & 19 deletions
This file was deleted.

flow/designs/asap7/uart-blocks/constraint.sdc

Lines changed: 0 additions & 13 deletions
This file was deleted.

0 commit comments

Comments
 (0)