## Quick peek at the code
-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/openpower-isa.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 develop; cd ..
- cd openpower-isa; make develop; cd ..
- cd ieee754fpu; make develop; cd ..
- cd soc; make gitupdate; make develop
-
- python3 src/soc/decoder/power_decoder.py
- yosys -p "read_ilang decoder.il; show dec31"
-
The full install process may be automated using scripts found
here: <https://git.libre-soc.org/?p=dev-env-setup.git;a=summary>
which you can clone with:
git clone https://git.libre-soc.org/git/dev-env-setup.git
-A convenient page which gives step-by-step instructions is:
-[[HDL_workflow/devscripts]]
+A convenient page which gives easy step-by-step instructions is:
+[[HDL_workflow/devscripts]], and you can get started with a
+[[docs/firststeps]] tutorial.
## How can I learn?