updated with C examples
This commit is contained in:
parent
ea116f90e9
commit
a5cc9d60d2
10
README.md
10
README.md
|
@ -42,7 +42,7 @@ Task to do:
|
||||||
* Improve structure and modules hierarchy
|
* Improve structure and modules hierarchy
|
||||||
* Add 64 & 128 bits architecture (RV64I, RV128I)
|
* Add 64 & 128 bits architecture (RV64I, RV128I)
|
||||||
|
|
||||||
## compile
|
## Compile
|
||||||
In order to compile the project you need SystemC-2.3.2 installed in your system.
|
In order to compile the project you need SystemC-2.3.2 installed in your system.
|
||||||
Just change SYSTEMC path in Makefile.
|
Just change SYSTEMC path in Makefile.
|
||||||
|
|
||||||
|
@ -75,6 +75,14 @@ $ ./RISCV_SCTLM asm/EternalLoop.hex
|
||||||
```
|
```
|
||||||
This example needs that you hit Ctr+C to stop execution.
|
This example needs that you hit Ctr+C to stop execution.
|
||||||
|
|
||||||
|
### C code
|
||||||
|
The C directory contains simple examples in C. Each directory contains
|
||||||
|
an example, to compile it just:
|
||||||
|
```
|
||||||
|
$ make
|
||||||
|
```
|
||||||
|
and then execute the .hex file like the example before.
|
||||||
|
|
||||||
## Documentation
|
## Documentation
|
||||||
The code is documented using doxygen. In the doc folder there is a Doxygen.cfg
|
The code is documented using doxygen. In the doc folder there is a Doxygen.cfg
|
||||||
file ready to be used.
|
file ready to be used.
|
||||||
|
|
Loading…
Reference in New Issue