- The project is a RISC-V assembler and simulator.
- The framework implemented is for Linux or Windows only.
Location: tests/assembly/
simpleBin/,hardBin/,errorGen/: Input assembly code files.bin_s/,bin_h/: Expected machine code files corresponding tosimpleBinandhardBin.user_bin_s/,user_bin_h/: Machine code generated by the assembler forsimpleBinandhardBin, respectively.
Location: tests/bin/ and tests/traces/
tests/traces/: Expected correct simulator traces.tests/bin/: Simulator traces generated by the simulator.
Prerequisite: Python3 must be installed on your device
The assembler takes an assembly file as input and produces a machine code file.
Navigate to /automatedTesting on your Terminal and run the following command to run the Assembler:
Linux:
python3 src/main.py --no-sim --linuxWindows:
python3 src\main.py --no-sim --windowsSimulator takes a machine code file as input and produces a trace file as output.
Navigate to /automatedTesting on your Terminal and run the following command to run the Simulator:
Linux:
python3 src/main.py --no-asm --linuxWindows:
python3 src\main.py --no-asm --windows10th May, 2025