URL
https://opencores.org/ocsvn/ion/ion/trunk
Subversion Repositories ion
[/] [ion/] [trunk/] [src/] [opcodes/] [readme.txt] - Rev 61
Go to most recent revision | Compare with Previous | Blame | View Log
This is a basic opcode test bench which tries all supported opcodes. See the
source comments. This code has been lifted whole from the Plasma project.
Build the program with:
make opcodes
or
make opcodes_sim
Read ../readme.txt for some warnings on the makefile configuration.
The makefile will build a binary that you can run in the software simulator:
slite opcodes.bin
It will build a vhdl test bench at /vhdl/tb/mips_tb1.vhdl (overwriting) that you
can try on your VHDL simulator with script sim_tb1.do. The provided script and
the VHDL code have some dependence on Modelsim, see project readme file.
This code can't be used on real hardware (i/o is far too simple).
WARNING: the gnu assembler expands DIV* instructions, inserting code that
handles division by zero. Bear that in mind when reading the listing file.
Go to most recent revision | Compare with Previous | Blame | View Log