Created
October 13, 2023 08:49
-
-
Save MasWag/68df474bd5d1b398d17ca8673d6aff44 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| FROM --platform=linux/amd64 ubuntu:18.04 | |
| # ModelSim requires i386 support | |
| RUN dpkg --add-architecture i386 | |
| # Install required packages | |
| RUN apt-get update && \ | |
| apt-get install -y xserver-xorg x11-apps \ | |
| locales libglib2.0-0 libfreetype6 \ | |
| libsm6 libxrender1 libfontconfig1 libxext6 xinit \ | |
| libc6:i386 libstdc++6:i386 libx11-6:i386 libxext6:i386 \ | |
| libxft2:i386 libncurses5:i386 | |
| RUN apt-get -y --no-install-recommends install libtcmalloc-minimal4 | |
| RUN echo "en_US.UTF-8 UTF-8" > /etc/locale.gen && \ | |
| locale-gen en_US.UTF-8 && \ | |
| /usr/sbin/update-locale LANG=en_US.UTF-8 | |
| COPY ./Quartus-lite-20.1.0.711-linux.tar /tmp/Quartus-lite-20.1.0.711-linux.tar | |
| WORKDIR /tmp | |
| RUN tar xvf Quartus-lite-20.1.0.711-linux.tar && \ | |
| /tmp/setup.sh --accept_eula 1 --mode unattended | |
| ENV LD_PRELOAD=/usr/lib/x86_64-linux-gnu/libtcmalloc_minimal.so.4 | |
| CMD ["/root/intelFPGA_lite/20.1/quartus/bin/quartus"] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/sh | |
| docker run --rm -it -e DISPLAY="$(hostname)":0 \ | |
| -v ~/.Xauthority:/root/.Xauthority \ | |
| -v "${PWD}/workdir:/root/workdir" \ | |
| quartus-ubuntu "/root/intelFPGA_lite/20.1/quartus/bin/quartus" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/sh | |
| docker run --rm -it -e DISPLAY="$(hostname)":0 \ | |
| -v ~/.Xauthority:/root/.Xauthority \ | |
| -v "${PWD}/workdir:/root/workdir" \ | |
| quartus-ubuntu /bin/bash | |
| # cd /root/workdir/ | |
| # for file in *.bdf; do /root/intelFPGA_lite/20.1/quartus/bin/quartus_map alu --convert_bdf_to_verilog=$file; done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment