Note: This design requires that the GRLIB_SIMULATOR variable iscorrectly set. Please refer to the documentation in doc/grlib.pdf for
additional information.
Note: The Vivado flow and parts of this design are still
experimental. Currently the design configuration should be left as-is.
Note: You must have Vivado 2014.4.1 in your path for the make targets to work.
The XILINX_VIVADO variable must be exported for the mig_7series target
to work correctly: export XILINX_VIVADO
Simulation and synthesis
------------------------
The design uses the Xilinx MIG memory interface with an AHB-2.0
interface and Xilinx SGMII PHY Interface. The MIG or the SGMII PHY
source code cannot be distributed due to the prohibitive Xilinx
license, so the MIG and/or the SGMII must be re-generated with
Vivado before simulation and synthesis can be done.
Xilinx MIG and SGMII interface will automatically be generated when
Vivado is launched
To simulate using XSIM and run systest.c on the Leon design using the memory
controller from Xilinx use the make targets:
make soft
make vivado-launch
To simulate using Modelsim/Aldec and run systest.c on the Leon design using
the memory controller from Xilinx use the make targets:
make map_xilinx_7series_lib
make sim
make mig_7series
make sgmii_7series
make sim-launch
To simulate using the Aldec Riviera WS flow use the following make targets:
make riviera_ws # creates riviera workspace
make map_xilinx_7series_lib # compiles and maps xilinx sim libs
make mig_7series # generates MIG IP and adds to riviera project
make sgmii_7series # same for SGMII adapter
make riviera # compile full project
make riviera-launch # launch simulation