Skip to content

Commit fa14b47

Browse files
committed
Add yosys-slang submodule
Signed-off-by: Martin Povišer <[email protected]>
1 parent 7598c89 commit fa14b47

File tree

3 files changed

+9
-2
lines changed

3 files changed

+9
-2
lines changed

.gitmodules

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,6 @@
44
[submodule "tools/OpenROAD"]
55
path = tools/OpenROAD
66
url = ../OpenROAD.git
7+
[submodule "tools/yosys-slang"]
8+
path = tools/yosys-slang
9+
url = https://github.com/povik/yosys-slang.git

build_openroad.sh

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ OPENROAD_APP_BRANCH="master"
2121
INSTALL_PATH="$(pwd)/tools/install"
2222

2323
YOSYS_USER_ARGS=""
24-
YOSYS_ARGS="CONFIG=clang"
24+
YOSYS_ARGS=""
2525

2626
OPENROAD_APP_USER_ARGS=""
2727
OPENROAD_APP_ARGS=""
@@ -246,6 +246,9 @@ __local_build()
246246
echo "[INFO FLW-0017] Compiling Yosys."
247247
${NICE} make install -C tools/yosys -j "${PROC}" ${YOSYS_ARGS}
248248

249+
echo "[INFO FLW-0030] Compiling yosys-slang."
250+
${NICE} make install -C tools/yosys-slang -j "${PROC}" YOSYS_PREFIX="${INSTALL_PATH}/yosys/bin/"
251+
249252
echo "[INFO FLW-0018] Compiling OpenROAD."
250253
eval ${NICE} ./tools/OpenROAD/etc/Build.sh -dir="$DIR/tools/OpenROAD/build" -threads=${PROC} -cmake=\'${OPENROAD_APP_ARGS}\'
251254
${NICE} cmake --build tools/OpenROAD/build --target install -j "${PROC}"
@@ -340,7 +343,7 @@ __common_setup
340343

341344
# Choose install method
342345
if [ -z "${LOCAL_BUILD+x}" ] && command -v docker &> /dev/null; then
343-
echo -n "[INFO FLW-0000] Using docker build method."
346+
echo "[INFO FLW-0000] Using docker build method."
344347
__docker_build
345348
else
346349
echo -n "[INFO FLW-0001] Using local build method."

tools/yosys-slang

Submodule yosys-slang added at a95ef24

0 commit comments

Comments
 (0)