Hi guys, Since we're doing ISA updates, I think might be useful to add a halt instruction. In the simulator, it could be used to actually halt the simulation. In a real CPU, this should probably just put the CPU to sleep until an interrupt occurs.
I also think we should deprecate the l.nop hacks we have everywhere in the various simulators. They're primarily used for I/O and halting the simulator. Since pretty much every implementation includes a UART, and a UART is pretty easy to implement, perhaps we should (for example) modify the or1ksim testsuite to output its diagnostic messages on the UART instead of using nops. This would also help with building a testsuite that can run on both simulators and real systems. What do you guys think? -Pete
_______________________________________________ OpenRISC mailing list [email protected] http://lists.openrisc.net/listinfo/openrisc
