Simulation Environment
This is some documentation explaining how to build the simulation environment from scratch and start it running.
Assumes Modelsim/ Questasim on Linux
To build simulation:
# Set up firmware directory structure using the setup_workspace.sh script ( see FirmwareBuild )
# Change working directory to the directory where you executed setup_workspace.sh ( N.B. the setup_workspace.sh should have created a sub-directory "workspace" )
# Create a link to the script that sets up the simulation:
##
ln -s fmc-mtlu/firmware/scripts/setup_simulation.sh .
# Execute the script:
## sh setup_simulation.sh
# If everything has worked correctly, there should be a Modelsim Project file created at
workspace/simulation/fmc_tlu_sim.mpf