add: performance values for Lattice MachXO2
[zpu.git] / zpu / hdl / zealot / fpga / altium-livedesign-xc3s1000 / simulation.sh
blobd525737d696073ed17fce1425b8da3030c2a8254
1 #!/bin/sh
3 # need project files:
4 # run.do
5 # wave.do
7 # need ModelSim tools:
8 # vlib
9 # vcom
10 # vsim
13 echo "###############"
14 echo "compile zpu lib"
15 echo "###############"
16 vlib zpu
17 vcom -work zpu ../../roms/hello_dbram.vhdl
18 vcom -work zpu ../../roms/hello_bram.vhdl
19 #vcom -work zpu ../../roms/dmips_dbram.vhdl
20 #vcom -work zpu ../../roms/dmips_bram.vhdl
22 vcom -work zpu ../../roms/rom_pkg.vhdl
23 vcom -work zpu ../../zpu_pkg.vhdl
24 vcom -work zpu ../../zpu_small.vhdl
25 vcom -work zpu ../../zpu_medium.vhdl
26 vcom -work zpu ../../helpers/zpu_small1.vhdl
27 vcom -work zpu ../../helpers/zpu_med1.vhdl
28 vcom -work zpu ../../devices/txt_util.vhdl
29 vcom -work zpu ../../devices/phi_io.vhdl
30 vcom -work zpu ../../devices/timer.vhdl
31 vcom -work zpu ../../devices/gpio.vhdl
32 vcom -work zpu ../../devices/rx_unit.vhdl
33 vcom -work zpu ../../devices/tx_unit.vhdl
34 vcom -work zpu ../../devices/br_gen.vhdl
35 vcom -work zpu ../../devices/trace.vhdl
38 echo "################"
39 echo "compile work lib"
40 echo "################"
41 vlib work
42 vcom top.vhd
43 vcom top_tb.vhd
46 echo "###################"
47 echo "start simulator gui"
48 echo "###################"
49 vsim -gui top_tb -do simulation_config/run.do