
vcom -93 -quiet -work  sim/tb ^
src/tb/globals.vhd

vcom -93 -quiet -work sim/mem ^
../system/src/mem/dpram.vhd ^
../system/src/mem/RamMLAB.vhd

vcom -93 -quiet -work sim/psx ^
../system/src/mem/dpram.vhd

vcom -93 -quiet -work  sim/mem ^
../../rtl/SyncFifo.vhd ^
../../rtl/SyncFifoFallThrough.vhd ^
../../rtl/SyncFifoFallThroughMLAB.vhd ^
../../rtl/SyncRam.vhd

vcom -quiet -work  sim/rs232 ^
src/rs232/rs232_receiver.vhd ^
src/rs232/rs232_transmitter.vhd ^
src/rs232/tbrs232_receiver.vhd ^
src/rs232/tbrs232_transmitter.vhd

vcom -quiet -work sim/procbus ^
src/procbus/proc_bus.vhd ^
src/procbus/testprocessor.vhd

vcom -quiet -work sim/reg_map ^
src/reg_map/reg_tb.vhd

vcom -2008 -quiet -work sim/psx ^
../../rtl/export.vhd ^
../../rtl/divider.vhd ^
../../rtl/pGPU.vhd ^
../../rtl/mul32u.vhd ^
../../rtl/mul9s.vhd ^
../../rtl/gpu_fillVram.vhd ^
../../rtl/gpu_cpu2vram.vhd ^
../../rtl/gpu_vram2vram.vhd ^
../../rtl/gpu_vram2cpu.vhd ^
../../rtl/gpu_line.vhd ^
../../rtl/gpu_rect.vhd ^
../../rtl/gpu_poly.vhd ^
../../rtl/gpu_pixelpipeline.vhd ^
../../rtl/gpu_overlay.vhd ^
../../rtl/gpu_dither.vhd ^
../../rtl/gpu_videoout_async.vhd ^
../../rtl/gpu_videoout_sync.vhd ^
../../rtl/gpu_crosshair.vhd ^
../../rtl/justifier_sensor.vhd ^
../../rtl/gpu_videoout.vhd ^
../../rtl/gpu.vhd ^
../../rtl/irq.vhd ^
../../rtl/pjoypad.vhd ^
../../rtl/joypad_pad.vhd ^
../../rtl/joypad_mem.vhd ^
../../rtl/joypad.vhd ^
../../rtl/timer.vhd ^
../../rtl/dma.vhd ^
../../rtl/exp2.vhd ^
../../rtl/pGTE.vhd ^
../../rtl/gte_mac0.vhd ^
../../rtl/gte_mac123.vhd ^
../../rtl/gte_UNRDivide.vhd ^
../../rtl/gte.vhd ^
../../rtl/mdec.vhd ^
../../rtl/cd_xa_zigzag.vhd ^
../../rtl/cd_xa.vhd ^
../../rtl/cd_top.vhd ^
../../rtl/memctrl.vhd ^
../../rtl/sio.vhd ^
../../rtl/spu_ram.vhd ^
../../rtl/spu_gauss.vhd ^
../../rtl/spu.vhd ^
../../rtl/datacache.vhd ^
../../rtl/cpu.vhd ^
../../rtl/memorymux.vhd ^
../../rtl/memcard.vhd ^
../../rtl/statemanager.vhd ^
../../rtl/savestates.vhd ^
../../rtl/cheats.vhd ^
../../rtl/psx_top.vhd ^
../../rtl/psx_mister.vhd 

vlog -sv -quiet -work sim/psx ^
../../rtl/ddram.sv

vcom -quiet -work sim/tb ^
src/tb/stringprocessor.vhd ^
src/tb/tb_interpreter.vhd ^
src/tb/ddrram_model.vhd ^
src/tb/sdram_model.vhd ^
src/tb/sdram_model3x.vhd ^
src/tb/framebuffer.vhd ^
src/tb/tb.vhd

