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: docs/build_script/mafia_scripts.md
+4-4Lines changed: 4 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -15,16 +15,16 @@ The `-yml` flag is used to specify the name of the test file. In this case, it i
15
15
- This script is used to generate a list of parameters for a specific core inside `verif/<core_name>` directory. The list of the parameters will be located in `/target` directory.
16
16
For example:
17
17
```
18
-
./scripts/gen_parameter_list.py core_rrv
18
+
./scripts/gen_parameter_list.py big_core
19
19
```
20
-
Will generate file name `core_rrv_parameter_list.csv` in `/target`
20
+
Will generate file name `big_core_parameter_list.csv` in `/target`
21
21
22
22
### ovrd_params.py
23
23
- This script overrides the default parameters of a specific core. The override parameters will be located in `/verif/<core_name>` directory.
24
24
- The list of the parameters we wish to override and their new values will be located in `/scriprs/ovrd_params` directory.
25
-
For example, assume we would like to override the default parameters of `core_rrv` core. We will need to create a file named `new_params_list.csv` in `/scripts/ovrd_params` directory. The file will contain the list of the parameters we wish to override and their new values and then run the command
25
+
For example, assume we would like to override the default parameters of `big_core` core. We will need to create a file named `new_params_list.csv` in `/scripts/ovrd_params` directory. The file will contain the list of the parameters we wish to override and their new values and then run the command
Copy file name to clipboardExpand all lines: docs/rvc/big_core/csr_registers.md
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -150,7 +150,7 @@ For more information about the CSR read/write only instructions, refer to the un
150
150
- In our implementation we are using the CSR register `scratchpad_csr` which address is equal to 0x009. The compiler change its name to `vxsat` as described in the privileged spec, chapter 2. Please do not worry about the names of the CSR registers, you may play with those addresses as you wish and examine `_elf.txt` file to see the changes.
151
151
Make sure to supply the correct address of the CSR as defined in `t_csr_addr` enumerator in the big core package file.
152
152
153
-
-**For more instructions using asm volatile, please go to `/verif/core_rrv/test/alive_csr.c`, We suggest to compile the file and look at the `_elf.txt` file to see the generated instructions.**
153
+
-**For more instructions using asm volatile, please go to `/verif/big_core/test/alive_csr.c`, We suggest to compile the file and look at the `_elf.txt` file to see the generated instructions.**
154
154
155
155
### CSR instructions implemented in the big core
156
156
- CSR control signals are generated in the control unit of the big core. The following code snippet shows the CSR control signals generation.
- CSR register defined in the core package file under `t_csr_addr` enumerator which includes all the CSR addresses used in the core and the registers them self in the `t_csr` struct
171
171
172
172
### PMON measurments
173
-
note: The following csr's defined in `source/core_rrv` core.
173
+
note: The following csr's defined in `source/big_core` core.
174
174
- Please refer to [pmon link](/docs/rvc/big_core/pmon.md).
175
175
176
176
### Custom CSR's
177
-
note: The following csr's defined in `source/core_rrv` core.
177
+
note: The following csr's defined in `source/big_core` core.
178
178
- timer interrupt exception csr's:
179
179
-`csr_custom_mtime` - Used to measure time of our system. This csr is read only from software and can be updated only in HW. Each clock it decrements by one. Used only in machine mode.
180
180
-`csr_cutome_mtimecmp` - This csr is RW csr and used for comparison with `custom_mtime`. We use it in Timer interrupt exception.
Copy file name to clipboardExpand all lines: docs/rvc/big_core/pmon.md
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -23,8 +23,8 @@ The same goes for `instret` and `instreth` which are named `CSR_INSTRET_LOW` and
23
23
- After we calculate the number of valid instructions and clock cycles, we can calculate the CPI and IPC. The CPI is calculated by dividing the number of clock cycles by the number of instructions. The IPC is calculated by dividing the number of instructions by the number of clock cycles.
24
24
25
25
### realistic example
26
-
- The task that calculates the CPI and IPC is located at the `verif/core_rrv/tb` folder[^2]
27
-
- We run the following test named `alive.c` on the core_rrv with 6 pipeline stages:
26
+
- The task that calculates the CPI and IPC is located at the `verif/big_core/tb` folder[^2]
27
+
- We run the following test named `alive.c` on the big_core with 6 pipeline stages:
0 commit comments