diff --git a/Design_and_analysis.md b/Design_and_analysis.md index c33787c..3202fa9 100644 --- a/Design_and_analysis.md +++ b/Design_and_analysis.md @@ -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. 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. -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 ### 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. -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. 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. @@ -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: ```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: