updated with C examples

This commit is contained in:
mariusmonton 2018-09-20 00:06:25 +02:00
parent ea116f90e9
commit a5cc9d60d2
1 changed files with 9 additions and 1 deletions

View File

@ -42,7 +42,7 @@ Task to do:
* Improve structure and modules hierarchy
* 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.
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.
### 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
The code is documented using doxygen. In the doc folder there is a Doxygen.cfg
file ready to be used.