Topic: Modelsim simulation

Quick start guide if you are using Modelsim.

in the modelsim.ini file I setup :
work = $HWLIB/work
unisim = $HWLIB/unisim

Define an environmental variable HWLIB. I use

HWLIB=c:\hwlib

From a command prompt under Windows at least run :

\hw\replay\cores\replay_lib\tb\comp_lib   

This only needs to be done once. It compiles the Xilinx unisim libs. If you are not using ISE14.7 change the path :
#rem set to your source of the Xilinx UNISIMs library
set XILINXPATH=C:\Xilinx\14.7\ISE_DS\ISE\vhdl\src\unisims\
set XILINXPATH_V=C:\Xilinx\14.7\ISE_DS\ISE\verilog\src\unisims

Run this every time the replay_lib is updated :
\hw\replay\cores\replay_lib\tb\comp       

Then the core tb :
\hw\replay\cores\amiga_aga\tb\comp

then you are good to go.....
vsim a_replay_amiga_tb

I have a handy script which adds a restart and rerun button
source restart.do