Documentation

Codebase Structure

The SOC is partitioned into three repositories at the moments.

Git Repo Documentation
SOC SOC Docs
FPU --
nmutil --

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"