You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+21-11Lines changed: 21 additions & 11 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -102,23 +102,33 @@ To compatible with SoC test, All types of TreeCore have same memory map range:
102
102
This section introduces how to set up development environment and runs unit test for your own riscv processor. Project directory is:
103
103
```bash
104
104
env ->
105
-
| hello_world_tb.gtkw
106
-
| hello_world_tb.sh
107
-
| hello_world_tb.v
105
+
| hello_world_tb.gtkw# gtkwave wave config
106
+
| hello_world_tb.sh# compile script
107
+
| hello_world_tb.v# hello world verilog module
108
108
fpga ->
109
-
| bare_metal
109
+
| bare_metal/ # bare metal verilog module for fpga
110
110
report ->
111
-
| tc_l2.md
111
+
| tc_l2.md# treecore l2 wiki
112
112
rtl ->
113
-
|
114
-
tests
115
-
tools
113
+
| Makefile # main Makefile for rtl test
114
+
| scripts/ # tool scripts called from main Makefile
115
+
| build.sc # chisel config
116
+
| tc_l(x)[1, 2, 3] # rtl project
117
+
tests ->
118
+
| compile_rtl.py # bare metal module compile script
119
+
| compliance_test.py # isa compliance test
120
+
| run_all_isa_test.py # run all isa test
121
+
tools ->
122
+
| bin2mem.py # convert bin file to mem file
123
+
| bin2mif.py # convert bin file to mif file
116
124
```
117
125
118
126
### Enviroment Setup
119
127
> NOTE: All of the components and tools are installed under linux operation system. To gurantee the compatibility and stability, I strongly recommend using `ubuntu 20.04 LTS`. `ubuntu 18.04` and `ubuntu 16.04` is not supported official.
120
128
121
-
If you're new to TreeCore project, we suggest you start with the install section. Remeber you only need to install once time. First, you need to install verilator, mill and other dependency libraries:
129
+
If you're new to TreeCore project, we suggest you start with the install section. Remeber you **ONLY** need to install the below libraries once.
130
+
131
+
First, you need to install verilator, mill, difftest, abstract-machine and other dependency libraries:
0 commit comments