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

Subversion Repositories ion

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

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

Rev 197 Rev 229
Line 8... Line 8...
The makefiles have been tested with the CodeSourcery toolchain for windows (that
The makefiles have been tested with the CodeSourcery toolchain for windows (that
can be downloaded from www.codesourcery.com). They should work with other
can be downloaded from www.codesourcery.com). They should work with other
toolchains and have been occasionally tested with the Buildroot toolchain
toolchains and have been occasionally tested with the Buildroot toolchain
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 package for the simulation test
synthesizable demo.
bench or for the synthesizable demo.
 
 
Target 'sim' will build a the simulation test bench package as vhdl file
Target 'sim' will build a the simulation test bench package as vhdl file
'/vhdl/tb/sim_params_pkg.vhdl'. This is the default test bench expected by the
'/vhdl/tb/sim_params_pkg.vhdl'. The tool used to build the package is the
simulation script '/sim/mips_tb.do'. The template used to build the package is
python script '/tools/build_pkg/build_pkg.py'.
file '/src/sim_params_template.pkg' and the tool used to insert the data into
 
the template is the python script '/src/bin2hdl.py'.
 
 
 
Target 'demo' will build a package for the synthesizable demo as file
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',
'/vhdl/SoC/bootstrap_code_pkg.vhdl', using the same python script.
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).
 
 
Line 44... Line 41...
 
 
 
 
Building VHDL code from templates:
Building VHDL code from templates:
==================================
==================================
 
 
The python script 'bin2hdl.py' is used by all the samples to insert binary data
The python script '/tools/build_pkg/build_pkg.py' is used by all the samples to
on vhdl templates.
insert binary data on vhdl templates, building VHDL packages.
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 build_pkg.py --help
 
 
to get a short description and usage instructions.
to get a short description and usage instructions.
There's a more detailed description in the project main doc (Well, I hope there
There's a more detailed description in script source.
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.