From b4a831803fe8f32b877c5857509f63301c9889b6 Mon Sep 17 00:00:00 2001 From: Yehowshua Date: Mon, 4 May 2020 16:29:56 +0100 Subject: [PATCH] --- index.mdwn | 39 ++++++++++++++++++--------------------- 1 file changed, 18 insertions(+), 21 deletions(-) diff --git a/index.mdwn b/index.mdwn index ec7f0aa68..cc9483690 100644 --- a/index.mdwn +++ b/index.mdwn @@ -100,27 +100,24 @@ Also note that you can edit this wiki. You can experiment in the [[Sandbox]]. Here is an example process of how to play with the soc code: -
-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 --recursive 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 ..
-
-# play with the decoder
-python3 soc/src/soc/decoder/power_decoder.py
-
-# after installing yosys
-yosys -p "read_ilang decoder.il; show dec31"
-
+ 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" + + ## How can I learn? -- 2.30.2