got dia files to work, they're autoconverted to tex
[libreriscv.git] / HDL_workflow / litex_ls180.mdwn
1 # Commits for litex:
2
3 See <https://bugs.libre-soc.org/show_bug.cgi?id=700> for more
4 specific commits of litex sub-packages
5
6 the following have been identified as working with sim.py. dependencies:
7
8 litex commit 35929c0f8a8f1cc098a6b6ebb569caca8df8c08d
9 litedram commit 198bcbab676e2b4065e5b6a7dc8a7733bae8315a
10 pythondata-cpu-microwatt commit ba76652320e9dc23d9b2c64a62d0a752c870a215
11 pythondata-misc-tapcfg commit 25c97a4a9ff9af85248028fe01e2c65b2e3640ee
12
13 apt-get install libjson-c-dev
14 apt-get install libevent-dev
15 apt-get install verilator
16
17 # build process for litex sim
18
19 very simple:
20
21 make run_sim
22
23 # build process for ls180
24
25 for the variant without 4k srams:
26
27 cd soc
28 make ls180_verilog
29 cd src/soc/litex/florent
30 make ls180
31 cp ls180.il /tmp
32
33 at this point you can copy ls180.il over to the coriolis2 chroot,
34 into soclayout experiments9:
35
36 soclayout/experiments9/non_generated/full_core_ls180.il
37
38 and you can then begin the build process inside the coriolis2 chroot:
39
40 cd soclayout/experiments9
41 nohup ./build_full.sh &
42
43 **note that you will need yosys checkout 049e3abf9 for the coriolis2 build**
44 this is encoded into the dev-env-setup script which automates the chroot
45 creation <https://git.libre-soc.org/?p=dev-env-setup.git;a=blob;f=coriolis2-chroot;hb=HEAD>
46
47 # build process for ls180 with 4k srams
48
49 for the variant with 4k srams:
50
51 cd soc
52 make ls180_4k_verilog
53 cd src/soc/litex/florent
54 make ls1804k
55 cp ls180.il /tmp
56
57 at this point you can copy ls180.il over to the coriolis2 chroot,
58 into soclayout experiments9 in a **different** location from the
59 above:
60
61 soclayout/experiments9/non_generated/full_core_4_4ksram_ls180.il
62
63 and you can then begin the build process inside the coriolis2 chroot:
64
65 cd soclayout/experiments9
66 nohup ./build_full_4ksram.sh &
67
68 **note that you will need yosys checkout 049e3abf9 for the coriolis2 build**
69 this is encoded into the dev-env-setup script which automates the chroot
70 creation <https://git.libre-soc.org/?p=dev-env-setup.git;a=blob;f=coriolis2-chroot;hb=HEAD>