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