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

Subversion Repositories ion

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

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

Line No. Rev Author Line
1 2 ja_rd
This directory contains a few test applications that can be simulated and run
2
on real hardware, except for the opcode test which can only be simulated). See
3
the readme file and the makefile for each program.
4
 
5
The makefiles have been tested with the CodeSourcery toolchain for windows (that
6
can be downloaded from www.codesourcery.com) and with the Buildroot toolchain
7
for GNU/Linux.
8
 
9
Most makefiles have two targets, to create a simulation test bench and a
10
synthesizable demo.
11
 
12
Target '*_sim' (e.g. 'hello_sim') will build the simulation test bench as vhdl
13
file '/vhdl/tb/mips_tb1.vhdl'. This is the default test bench expected by the
14
simulation script '/sim/mips_tb1.do'.
15
 
16
Target '*_demo' will build a synthesizable demo as '/vhdl/demo/mips_mpu.vhdl'.
17
 
18
The build process will produce two binary files '*.code' and '*.data' that can
19
be run on the software simulator:
20
 
21
    slite hello.code hello.data
22
 
23
Plus a listing file (*.lst) handy for debugging.
24
 
25
 
26
The python script 'bin2hdl.py' is used to insert binary data on vhdl templates.
27
Assuming you have Python 2.5 or later in your machine, call the script with
28
 
29
    python bin2hdl.py --help
30
 
31
to get a short description.
32
There's a more detailed description in the project main doc.

powered by: WebSVN 2.1.0

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