OpenCores
URL https://opencores.org/ocsvn/ion/ion/trunk

Subversion Repositories ion

[/] [ion/] [trunk/] [src/] [opcodes/] [readme.txt] - Blame information for rev 45

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 2 ja_rd
This is a basic opcode test bench which tries all supported opcodes. See the
2
source comments. This code has been lifted whole from the Plasma project.
3
 
4
Build the program with:
5
 
6
make opcodes
7
or
8
make opcodes_sim
9
 
10
Read ../readme.txt for some warnings on the makefile configuration.
11
 
12
 
13
The makefile will build a binary that you can run in the software simulator:
14
 
15
    slite opcodes.bin
16
 
17
It will build a vhdl test bench at /vhdl/tb/mips_tb1.vhdl (overwriting) that you
18 34 ja_rd
can try on your VHDL simulator with script sim_tb1.do. The provided script and
19
the VHDL code have some dependence on Modelsim, see project readme file.
20 4 ja_rd
 
21 34 ja_rd
This code can't be used on real hardware (i/o is far too simple).
22 4 ja_rd
 
23
WARNING: the gnu assembler expands DIV* instructions, inserting code that
24
handles division by zero. Bear that in mind when reading the listing file.

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.