|
1 | 1 | <p align="center">
|
2 | 2 | <img width="200px" src="./.images/tree_core_logo.svg" align="center" alt="Tree Core CPU" />
|
3 | 3 | <h1 align="center">TreeCore CPU</h1>
|
4 |
| - <p align="center">A series of RISCV soft core processor written from scratch</p> |
| 4 | + <p align="center">A series of RISCV soft core processors written from scratch</p> |
5 | 5 | </p>
|
6 | 6 | <p align="center">
|
7 | 7 | <a href="./LICENSE">
|
|
19 | 19 | </p>
|
20 | 20 |
|
21 | 21 | ## Overview
|
22 |
| -the TreeCore L2 is the riscv64 software core developed under the [Open Source Chip Project by University (OSCPU)](https://github.com/OSCPU). OSCPU was initiated by ICTCAS(**_Institute of computing Technology, Chinese Academy of Sciences_**), which aims to make students use all open-source toolchain to design, develop open-source chips by themselves. It also can be called "One Life, One Chip" project in Chinese which has achieved two season. Now Season 3 is in progress in 2021. |
| 22 | +The TreeCore processors are the riscv64 software core developed under the [Open Source Chip Project by University (OSCPU)](https://github.com/OSCPU). OSCPU was initiated by ICTCAS(**_Institute of computing Technology, Chinese Academy of Sciences_**), which aims to make students use all open-source toolchain to design, develop open-source chips by themselves. It also can be called "One Life, One Chip" project in Chinese which has achieved two season. Now Season 3 is in progress in 2021. |
| 23 | + |
| 24 | +Now the TreeCore has two version, TreeCoreL1(**_TreeCore Learning Core 1_**) and TreeCoreL2(**_TreeCore Learning Core 2_**). |
23 | 25 |
|
24 | 26 | ## Feature
|
25 |
| -* 64-bits single-issue, five-stage pipeline RISCV ISA CPU core. |
26 |
| -* support RISCV integer(I) instruction set. |
27 |
| -* supports machine mode privilege levels. |
28 |
| -* supports AXI4 inst and mem acess. |
29 |
| -* can boot rt-thread. |
30 |
| -* develop under all open-source toolchain. |
| 27 | +TreeCoreL1 |
| 28 | +* 64-bits single period riscv core |
| 29 | +* written by verilog |
| 30 | + |
| 31 | +TreeCoreL2 |
| 32 | +* 64-bits single-issue, five-stage pipeline riscv core |
| 33 | +* written by chisel3 |
| 34 | +* support RISCV integer(I) instruction set |
| 35 | +* supports machine mode privilege levels |
| 36 | +* supports AXI4 inst and mem acess |
| 37 | +* can boot rt-thread |
| 38 | +* develop under all open-source toolchain |
31 | 39 |
|
32 | 40 | ## Develop Schedule
|
33 | 41 | Now, the develop schedule is recorded by the **Tencent Document**. You can click this link [schedule table](https://docs.qq.com/sheet/DY3lORW5Pa3pLRFpT?newPad=1&newPadType=clone&tab=BB08J2) to view it.
|
@@ -56,17 +64,17 @@ Now, the develop schedule is recorded by the **Tencent Document**. You can click
|
56 | 64 | #### Enviroment setup(ubuntu 20.04 LTS)
|
57 | 65 | install verilator, mill and dep lib:
|
58 | 66 | ```bash
|
59 |
| -$ sudo apt-get install g++-riscv64-linux-gnu binutils-riscv64-linux-gnu |
60 |
| -$ ./setup.sh -a |
| 67 | +sudo apt-get install g++-riscv64-linux-gnu binutils-riscv64-linux-gnu |
| 68 | +./setup.sh -a |
61 | 69 | ```
|
62 | 70 |
|
63 | 71 | change the sim memory from 8G to 256MB. need to enter 'make menuconfig' and modify [Memory - Configuration]->[Memory size] to '0x10000000' manually.
|
64 | 72 | cd in root rtl dir
|
65 | 73 | ```bash
|
66 |
| -$ make nemuBuild |
67 |
| -$ make diffBuild |
68 |
| -$ make difftestBuild |
69 |
| -$ make demoTest |
| 74 | +make nemuBuild |
| 75 | +make diffBuild |
| 76 | +make difftestBuild |
| 77 | +make demoTest |
70 | 78 | ```
|
71 | 79 |
|
72 | 80 | ### Software test
|
|
0 commit comments