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

Subversion Repositories ion

[/] [ion/] [trunk/] [src/] [readme.txt] - Diff between revs 183 and 197

Go to most recent revision | Show entire file | Details | Blame | View Log

Rev 183 Rev 197
Line 11... Line 11...
for GNU/Linux.
for GNU/Linux.
 
 
Most makefiles have two targets, to create a simulation test bench and a
Most makefiles have two targets, to create a simulation test bench and a
synthesizable demo.
synthesizable demo.
 
 
Target 'sim' will build the simulation test bench as vhdl file
Target 'sim' will build a the simulation test bench package as vhdl file
'/vhdl/tb/mips_tb2.vhdl'. This is the default test bench expected by the
'/vhdl/tb/sim_params_pkg.vhdl'. This is the default test bench expected by the
simulation script '/sim/mips_tb2.do'.
simulation script '/sim/mips_tb.do'. The template used to build the package is
 
file '/src/sim_params_template.pkg' and the tool used to insert the data into
Target 'demo' will build a synthesizable demo as '/vhdl/demo/mips_mpu.vhdl'.
the template is the python script '/src/bin2hdl.py'.
 
 
 
Target 'demo' will build a package for the synthesizable demo as file
 
'/vhdl/demo/code_rom_pkg.vhdl', from template file '/code_rom_template.vhdl',
 
using the same python script.
 
 
The build process will produce a number of binary files that can be run on the
The build process will produce a number of binary files that can be run on the
software simulator. A DOS BATCH file has been provided for each sample that
software simulator. A DOS BATCH file has been provided for each sample that
runs the simulator with the proper parameters (swsim.bat).
runs the simulator with the proper parameters (swsim.bat).
 
 
 
The simulation log produced by the software simulator can be compared to the log
 
produced by Modelsim (the only hdl simulator supported yet); they should be
 
identical (but see notes on the project doc).
 
 
 
 
 
 
Support code library:
Support code library:
=====================
=====================
 
 
Many of the code samples use support code from an ad-hoc library included with
Many of the code samples use support code from an ad-hoc library included with
the project (src/common/libsoc). Before making any of the samples you should
the project (src/common/libsoc). Before making any of the samples you should
make the library ('make' with no target). That will build file
make the library ('make' with no target). That command will build lib file
'src/common/libsoc/libsoc.a'.
'src/common/libsoc/libsoc.a'.
 
 
 
 
 
 
Building VHDL code from templates:
Building VHDL code from templates:
Line 41... Line 50...
on vhdl templates.
on vhdl templates.
Assuming you have Python 2.5 or later in your machine, call the script with
Assuming you have Python 2.5 or later in your machine, call the script with
 
 
    python bin2hdl.py --help
    python bin2hdl.py --help
 
 
to get a short description.
to get a short description and usage instructions.
There's a more detailed description in the project main doc.
There's a more detailed description in the project main doc (Well, I hope there
 
is one by the time you read this, documentation has been falling behind lately).

powered by: WebSVN 2.1.0

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