From: Yehowshua Date: Tue, 5 May 2020 05:20:01 +0000 (+0100) Subject: Add getting started instruction. A bit redundant, but I think it makes sense. X-Git-Tag: convert-csv-opcode-to-binary~2729 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=85c307e6b0f804cc8ee0004abda9d8f6ce41271c;p=libreriscv.git Add getting started instruction. A bit redundant, but I think it makes sense. --- diff --git a/Documentation/index.md.mdwn b/Documentation/index.md.mdwn index aa66cb712..8f39ae819 100644 --- a/Documentation/index.md.mdwn +++ b/Documentation/index.md.mdwn @@ -1,3 +1,6 @@ +# Documentation +## Codebase Structure + The SOC is partitioned into three repositories at the moments. | Git Repo | Documentation | @@ -5,3 +8,22 @@ The SOC is partitioned into three repositories at the moments. | [SOC](https://git.libre-soc.org/?p=soc.git;a=tree) | [SOC Docs](../SOC/index.md) | | [FPU](https://git.libre-soc.org/?p=ieee754fpu.git;a=tree) | -- | | [nmutil](https://git.libre-soc.org/?p=nmutil.git;a=tree) | -- | + +## Installing the Codebase + + pip3 install virtualenv requests + mkdir ~/.virtualenvs && cd ~/.virtualenvs + python3 -m venv libresoc + source ~/.virtualenvs/bin/activate + + cd ~; mkdir libresoc; cd libresoc + git clone https://git.libre-riscv.org/git/nmutil.git + git clone https://git.libre-riscv.org/git/ieee754fpu.git + git clone https://git.libre-riscv.org/git/soc.git + + cd nmutil; pip3 install -e .; cd .. + cd ieee754fpu; pip3 install -e .; cd .. + cd soc; pip3 install -e .; cd .. + + python3 soc/src/soc/decoder/power_decoder.py + yosys -p "read_ilang decoder.il; show dec31"