first commit
This commit is contained in:
33
Dockerfile
Normal file
33
Dockerfile
Normal file
@@ -0,0 +1,33 @@
|
|||||||
|
# verilog-tool v1.0
|
||||||
|
# TODO: Enable Gitea Container Registry, put on gitea
|
||||||
|
#
|
||||||
|
|
||||||
|
FROM ubuntu:24.04
|
||||||
|
|
||||||
|
# === Basic ===
|
||||||
|
RUN apt-get update && \
|
||||||
|
apt-get install -y --no-install-recommends \
|
||||||
|
build-essential make git wget curl \
|
||||||
|
python3 python3-pip python3-dev python3.12-dev \
|
||||||
|
iverilog gtkwave verilator yosys \
|
||||||
|
gcc gdb binutils \
|
||||||
|
qemu-utils qemu-system-arm qemu-system-misc qemu-system-riscv64 qemu-system-riscv32 \
|
||||||
|
&& rm -rf /var/lib/apt/lists/*
|
||||||
|
|
||||||
|
# === Python + cocotb ===
|
||||||
|
RUN pip3 install --no-cache-dir --break-system-packages cocotb pytest cocotb-test numpy matplotlib scipy
|
||||||
|
|
||||||
|
|
||||||
|
# === RISC-V GCC (riscv64-unknown-elf-gcc) ===
|
||||||
|
RUN apt-get update && \
|
||||||
|
apt-get install -y gcc-riscv64-unknown-elf binutils-riscv64-unknown-elf && \
|
||||||
|
rm -rf /var/lib/apt/lists/*
|
||||||
|
|
||||||
|
# === ARM GCC (arm-none-eabi-gcc) ===
|
||||||
|
RUN apt-get update && \
|
||||||
|
apt-get install -y gcc-arm-none-eabi binutils-arm-none-eabi gdb-multiarch && \
|
||||||
|
rm -rf /var/lib/apt/lists/*
|
||||||
|
|
||||||
|
# === workspace ===
|
||||||
|
WORKDIR /workspace
|
||||||
|
CMD ["/bin/bash"]
|
||||||
3
README.md
Normal file
3
README.md
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
```docker run -it --rm -v /Users/oushiha/chip_design:/workspace swangnice/verilog-toolbox:latest```
|
||||||
|
|
||||||
|
```docker run -it --rm -e -e DISPLAY=host.docker.internal:0 -v /Users/oushiha/Desktop/server_buffer/chip_design/rv32i:/workspace swangnice/verilog-toolbox:latest ```
|
||||||
1
RV32V01S
Submodule
1
RV32V01S
Submodule
Submodule RV32V01S added at 311bd35bb6
Reference in New Issue
Block a user