2021-01-20 15:20:12 -06:00
|
|
|
FROM ghcr.io/lnis-uofu/openfpga-env
|
2021-01-22 17:27:55 -06:00
|
|
|
RUN mkdir /opt/openfpga /opt/openfpga/openfpga /opt/openfpga/abc /opt/openfpga/ace2 /opt/openfpga/vpr /opt/openfpga/yosys
|
|
|
|
COPY openfpga/openfpga /opt/openfpga/openfpga/openfpga
|
2021-01-21 17:40:09 -06:00
|
|
|
COPY abc/abc /opt/openfpga/abc/
|
|
|
|
COPY ace2/ace /opt/openfpga/ace2/
|
|
|
|
COPY vpr/vpr /opt/openfpga/vpr/
|
|
|
|
COPY yosys/yosys yosys/yosys-abc yosys/yosys-config yosys/yosys-filterlib yosys/yosys-smtbmc /opt/openfpga/yosys/
|
|
|
|
COPY yosys/share /opt/openfpga/yosys/share
|
2021-01-22 17:36:19 -06:00
|
|
|
RUN cd /opt/openfpga && chmod +x abc/abc ace2/ace openfpga/openfpga vpr/vpr yosys/yosys yosys/yosys-abc yosys/yosys-config yosys/yosys-filterlib yosys/yosys-smtbmc
|
2021-01-22 16:37:45 -06:00
|
|
|
COPY openfpga_flow /opt/openfpga/openfpga_flow
|
2021-01-22 20:50:23 -06:00
|
|
|
COPY openfpga.sh /opt/openfpga/openfpga.sh
|
2021-01-22 17:27:55 -06:00
|
|
|
ENV PATH="/opt/openfpga/openfpga:/opt/openfpga/yosys:/opt/openfpga/ace2:/opt/openfpga/abc:/opt/openfpga/vpr:${PATH}"
|
2021-01-25 11:28:47 -06:00
|
|
|
ENV OPENFPGA_PATH="/opt/openfpga"
|
2021-01-22 17:27:55 -06:00
|
|
|
WORKDIR /opt/openfpga
|