Skip to content

Commit 7a3affc

Browse files
committed
Re-add synlig, but with a new approach
1 parent 3f9c4ac commit 7a3affc

File tree

2 files changed

+15
-0
lines changed

2 files changed

+15
-0
lines changed

recipes/synthesis

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,10 @@ RUN apt update -qq \
2020
libffi-dev \
2121
pkg-config \
2222
python3 \
23+
# Synlig
24+
cmake \
25+
default-jre \
26+
python3-orderedmultidict \
2327
&& apt autoclean && apt clean && apt -y autoremove \
2428
&& rm -rf /var/lib/apt/lists/*
2529

@@ -48,6 +52,15 @@ RUN git clone --depth 1 https://github.com/ghdl/ghdl-yosys-plugin.git \
4852
&& cd ghdl-yosys-plugin && git submodule update --init \
4953
&& make -j$(nproc) && make install
5054

55+
#
56+
# Synlig
57+
#
58+
59+
RUN git clone --depth 1 https://github.com/chipsalliance/synlig.git && cd synlig \
60+
&& git submodule update --init --depth 1 --recursive third_party/surelog \
61+
&& git submodule update --init --depth 1 --recursive third_party/yosys \
62+
&& make install -j$(nproc)
63+
5164
#
5265
# Clean-up
5366
#
@@ -71,3 +84,4 @@ COPY --from=build /usr/local/bin /usr/local/bin
7184
COPY --from=build /usr/local/lib /usr/local/lib
7285
COPY --from=build /usr/local/include/ghdl /usr/local/include/ghdl
7386
COPY --from=build /usr/local/share/yosys /usr/local/share/yosys
87+
COPY --from=build /usr/local/share/synlig /usr/local/share/synlig

tests.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,4 @@
22
set -e
33
bash run.sh synthesis 'ghdl --version'
44
bash run.sh synthesis 'yosys -m ghdl -V'
5+
bash run.sh synthesis 'synlig -V'

0 commit comments

Comments
 (0)