Closed jovanbulck closed 5 years ago
We should also setup continuous integration to run the test suite each time the repository is updated.
As per 458dbaf continuous integration has been set up for the original openMSP430 test suite. This ensures guaranteed backwards compatibility of the Sancus CPU extensions.
We should still merge the code bases for sancus-sim
and the openMSP430 simulator, however, and add specific unit tests for the Sancus instructions.
sancus-sim
asm/stimulus testbench for secure IRQ logic. We can add further unit test cases for dedicated Sancus instructions here, so this issue can be closed.
Currently, the standard openMSP430 simulator code (
core/bench/verilog/
) and the Sancus simulator (core/sim/rtl_sim/sancus/
) are duplicated. These should be merged again, so thatsancus-sim
can be ran with a Verilog stimulus file.We could then run the standard openMSP430 testbench (
core/sim/rtl_sim/src
andcore/sim/rtl_sim/src-c
) to ensure backwards compatibility. Moreover, we could include our own custom tests for the custom Sancus instructions.