I ran the attached assembly program with dromajo and it gives an exception on a nop instruction. I ran the same program on Spike and it ignored nop instruction and proceeded as expected.
I have attached a zip file that contains the compiled binary file (test.elf), assembly file (test.S), and disassembly of the binary (test.txt).
The following figure shows the diff between Spike trace and dromajo trace. nop instruction is located after the highlighted mret instruction.

test.zip
I ran the attached assembly program with dromajo and it gives an exception on a nop instruction. I ran the same program on Spike and it ignored nop instruction and proceeded as expected.
I have attached a zip file that contains the compiled binary file (test.elf), assembly file (test.S), and disassembly of the binary (test.txt).
The following figure shows the diff between Spike trace and dromajo trace. nop instruction is located after the highlighted mret instruction.

test.zip