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
+18-1Lines changed: 18 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -18,6 +18,9 @@ when it has been contributed to [OpenHW Group](https://www.openhwgroup.org/).
18
18
## RISC-V with the same interface
19
19
The RI5CY-sameIF repository contains the CV32E40P/RISC-V IP that supports Logic-in-memory operations, that mantains the same original interface in order to prioritise the flexibility of the core.
20
20
21
+
## RISC-V with the new interface
22
+
The RI5CY-newIF repository contains the CV32E40P/RISC-V IP that supports Logic-in-memory operations, that has a new interface to maximise the efficiency of the memory operations.
23
+
21
24
22
25
# Prerequisites
23
26
Clone the current repository
@@ -39,7 +42,19 @@ Build the toolchain:
39
42
Where N is the number of threads.
40
43
41
44
# Usage
42
-
Enter the directory `RI5CY-sameIF/tb/core` and modify the makefile. In particular, change the variable `RISCV_LIB` with your `<tool_chain_install_path>` previously used in the configuration.
45
+
Enter the directory `RI5CY-sameIF/tb/core` and modify the Makefile. In particular, change the variable `RISCV_LIB` with your `<tool_chain_install_path>` previously used in the configuration.
46
+
47
+
Modify variable `MEM_TYPE` inside the Makefile to build the desired memory type.
48
+
Available memories:
49
+
- Standard memory (STD_MEM)
50
+
- Standard memory with LiM functionalities (LIM_MEM)
51
+
- Racetrack memory with LiM functionalities (RT_LIM_MEM)
52
+
53
+
Racetrack memory supports two different modes, set the correct parameter `MEM_MODE` in file `RI5CY-sameIF/tb/core/tb_tob.sv` to choose the wanted configuration:
54
+
- Memory mode (MEM_MODE = 0)
55
+
- LiM mode (MEM_MODE = 1)
56
+
57
+
43
58
44
59
For executing a sample program run:
45
60
@@ -49,3 +64,5 @@ For executing a sample program run:
0 commit comments