Fix inconsistencies in documentation

This commit is contained in:
Hugo Mårdbrink 2024-03-30 23:01:04 +01:00
parent 97973c31e0
commit c493857e6c

View file

@ -14,13 +14,13 @@ Thus, the algorithm is used in spacecraft to decrease the amount of image data t
Since the environment in space is limited, the design needs to focus on an energy efficient design using a small hardware area. Since the environment in space is limited, the design needs to focus on an energy efficient design using a small hardware area.
This alters the focus of the codesign to prefer energy efficiency over throughput or execution time. This alters the focus of the codesign to prefer energy efficiency over throughput or execution time.
However, the aspect of fast execution times is still highly relevant and a good balance between the two needs to be explored. However, the aspect of fast execution times is still highly relevant and a good balance between the two needs to be explored.
Notably, in current RISC-V space processors there are no vector processing units, making this a interesting aspect. Notably, in current RISC-V space processors there are no vector processing units, making this an interesting aspect.
## Method ## Method
### Development and evaluation ### Development and evaluation
The software will be compiled and built in C using the GCC RISC-V compiler. For vectorisation, vector intrinsics for RVV will be used from a C header file. The software will be compiled and built in C using the GCC RISC-V compiler. For vectorisation, vector intrinsics for RVV will be used from a C header file.
For parallelisation, the (OpenMP library)[https://www.openmp.org/] will be used. For parallelisation, the [OpenMP library](https://www.openmp.org/) will be used.
To test and evaluate the software implementation, it will run in the gem5 simulator. The hardware configuration is also done in configuration files for gem5. To test and evaluate the software implementation, it will run in the gem5 simulator. The hardware configuration is also done in configuration files for gem5.
The mock data for the images will be generated in C with nonsensical values. This does not matter since different values will not affect the run time. The mock data for the images will be generated in C with nonsensical values. This does not matter since different values will not affect the run time.
When measuring the performance the sequential time of generating mock data and freeing the memory will be deducted for a true performance reflection. When measuring the performance the sequential time of generating mock data and freeing the memory will be deducted for a true performance reflection.
@ -31,7 +31,7 @@ For the parts where problem size will increase, performance will be measured by
To run the build command for the software, the following base command is used: To run the build command for the software, the following base command is used:
```bash ```bash
riscv64-unknown-elf-gcc -march=rv64imafcv -mabi=lp64d main.c -o dct2d_riscv.out riscv64-unknown-elf-gcc -march=rv64imadcv -mabi=lp64d main.c -o dct2d_riscv.out
``` ```
The following flags will be used based on what functionality is needed: The following flags will be used based on what functionality is needed: