-Here is an example process of how to play with the soc code. The last
-step you will have needed to install yosys:
-
- pip3 install virtualenv requests
- mkdir ~/.virtualenvs && cd ~/.virtualenvs
- python3 -m venv libresoc
- source ~/.virtualenvs/libresoc/bin/activate
-
- cd ~; mkdir libresoc; cd libresoc
- git clone https://git.libre-soc.org/git/nmigen.git
- git clone https://git.libre-soc.org/git/nmigen-soc.git
- git clone https://git.libre-soc.org/git/nmutil.git
- git clone https://git.libre-soc.org/git/c4m-jtag.git
- git clone https://git.libre-soc.org/git/ieee754fpu.git
- git clone https://git.libre-soc.org/git/soc.git
-
- cd nmigen; python setup.py develop; cd ..
- cd nmigen-soc; python setup.py develop; cd ..
- cd c4m-jtag; python setup.py develop; cd ..
- cd nmutil; make install; cd ..
- cd ieee754fpu; make install; cd ..
- cd soc; make gitupdate; make install; cd ..
-
- python3 soc/src/soc/decoder/power_decoder.py
- yosys -p "read_ilang decoder.il; show dec31"
-