Download ORPSoC User Guide

Transcript
Chapter 7: S3ADSP1800
30
7.3.3 EDA Tools
RTL, gatelevel simulation: Mentor Graphics’ Modelsim Synthesis: XST (from Xilinx ISE)
Backend: ngdbuild/map/par/bitgen/promgen, etc. (from Xilinx ISE) Programming: iMPACT (from Xilinx ISE)
This has been tested with Xilinx ISE 13.1 under Ubuntu 11.04.
7.3.4 Debug Tools
or debug proxy
7.4 Simulating
Note that if this path is not set, simulations will not compile.
Run RTL Regression Test
To run the default set of regression tests for the build, run the following command in the
board’s sw/run path.
make rtl-tests
The same set of options for RTL tests available in the reference design should be available
in this build. See [Running A Set Of Specific Reference Design RTL Tests], page 8.
Note that no OpenCores 10/100 Ethernet MAC (“ethmac”) tests will function correctly for
the time being.
Options specific to the S3ADSP1800 build.
PRELOAD_RAM
Set to ’1’ to enable loading of the software image into RAM at the beginning
of simulation.
If the chosen bootROM program (set via a define in software header file in the
board’s sw/board/include path) will jump straight to RAM to begin execution, then the software image will need to be in RAM for the simulation to
work. This define must be used in that case for the simulation to do anything.
7.5 Synthesis
Synthesis of the board port for the Actel technology with the Synplify tool can be run in
the board’s syn/xst/run path with the following command.
make all
This will create an NGC file in syn/xst/run named orpsoc.ngc.
Hopefully it’s all automated enough so that, as long as the design is simulating as desired,
the correct set of RTL will be picked up and synthesized without any need for customising
scripts for the tool.
7.5.1 Options
Use the following command int the syn/xst/run path to get a list of the variables used
during synthesis. Any can be set on the command line when running make all.
make print-config