## NOTE:  Do not edit this file.
##
vlib work
# Configs
vcom -explicit  -93 "../src/sdram_config_sim.vhd"

# Packages
vcom -explicit  -93 "../../../lib/CPUs/MIPS/src/core/mips_types.vhd"
vcom -explicit  -93 "../../../lib/CPUs/MIPS/src/core/mips_instr.vhd"
vcom -explicit  -93 "../../../lib/FIFO/src/fifo_ctrl_pkg.vhd"
vcom -explicit  -93 "../../../lib/SDRAM/ddr_sdr_v1_5/src/sdram_types.vhd"
vcom -explicit  -93 "../../../lib/misc/utils_pkg.vhd"
vcom -explicit  -93 "../../../lib/SDRAM/ddr_sdr_v1_5/src/mt46v16m16.vhd"

# RAMs
vcom -explicit  -93 "../../../lib/misc/dpram_2w2r.vhd"
vcom -explicit  -93 "../../../lib/misc/dpram_1w1r.vhd"
vcom -explicit  -93 "../../../lib/misc/dpram_1w1r_dist.vhd"

# FIFOS
vcom -explicit  -93 "../../../lib/FIFO/src/gray_counter.vhd"
vcom -explicit  -93 "../../../lib/FIFO/src/fifo_sync_ctrl.vhd"
vcom -explicit  -93 "../../../lib/FIFO/src/fifo_sync.vhd"
vcom -explicit  -93 "../../../lib/FIFO/src/fifo_sync_dist.vhd"
vcom -explicit  -93 "../../../lib/FIFO/src/fifo_async_ctrl.vhd"
vcom -explicit  -93 "../../../lib/FIFO/src/fifo_async.vhd"

# CPU
vcom -explicit  -93 "../../../lib/CPUs/MIPS/src/core/mips_idecode_rom.vhd"
vcom -explicit  -93 "../../../lib/CPUs/MIPS/src/core/mips_reg.vhd"
vcom -explicit  -93 "../../../lib/CPUs/MIPS/src/core/mips_shifter.vhd"
vcom -explicit  -93 "../../../lib/CPUs/MIPS/src/core/mips_alu.vhd"
vcom -explicit  -93 "../../../lib/CPUs/MIPS/src/core/mips_bcu.vhd"
vcom -explicit  -93 "../../../lib/CPUs/MIPS/src/core/mips_pipeline.vhd"
vcom -explicit  -93 "../../../lib/CPUs/MIPS/src/core/mips_muldiv.vhd"
vcom -explicit  -93 "../../../lib/CPUs/MIPS/src/core/mips_cop.vhd"
vcom -explicit  -93 "../../../lib/CPUs/MIPS/src/core/mips_dcache.vhd"
vcom -explicit  -93 "../../../lib/CPUs/MIPS/src/core/mips_icache.vhd"
vcom -explicit  -93 "../../../lib/CPUs/MIPS/src/core/mips_biu.vhd"
vcom -explicit  -93 "../../../lib/CPUs/MIPS/src/core/mips_top.vhd"
vcom -explicit  -93 "../src/bootloader.ROM.vhd"
vcom -explicit  -93 "../../../lib/misc/rom_wb.vhd"

# VGA
vcom -explicit  -93 "../../../lib/VGA_ctrl/src/fonts/char_rom_c64.vhd"
vcom -explicit  -93 "../../../lib/VGA_ctrl/src/vga_types.vhd"
vcom -explicit  -93 "../../../lib/VGA_ctrl/src/clkgen_virtex4.vhd"
vcom -explicit  -93 "../../../lib/VGA_ctrl/src/char_gen.vhd"
vcom -explicit  -93 "../../../lib/VGA_ctrl/src/vga_sync.vhd"
vcom -explicit  -93 "../../../lib/VGA_ctrl/src/vga_timing.vhd"
vcom -explicit  -93 "../../../lib/VGA_ctrl/src/vga_backend.vhd"
vcom -explicit  -93 "../../../lib/VGA_ctrl/src/vga_frontend64.vhd"

# UART
vcom -explicit  -93 "../../../lib/uart/bbfifo_16x8.vhd"
vcom -explicit  -93 "../../../lib/uart/kcuart_rx.vhd"
vcom -explicit  -93 "../../../lib/uart/kcuart_tx.vhd"
vcom -explicit  -93 "../../../lib/uart/uart_rx.vhd"
vcom -explicit  -93 "../../../lib/uart/uart_tx.vhd"
vcom -explicit  -93 "../../../lib/uart/uart_wb.vhd"

# GPIO
vcom -explicit  -93 "../../../lib/misc/gpio_wb.vhd"

# LCD
vcom -explicit  -93 "../../../lib/misc/lcd_port.vhd"

# Flash and USB
vcom -explicit  -93 "../../../lib/misc/async_types.vhd"
vcom -explicit  -93 "../../../lib/misc/async_port_wb.vhd"
vcom -explicit  -93 "../../../lib/misc/flash_port_wb.vhd"
vcom -explicit  -93 "../src/async_defs.vhd"

# Sync SRAM
vcom -explicit  -93 "../../../lib/SSRAM/src/package_utility.vhd"
vcom -explicit  -93 "../../../lib/SSRAM/src/CY7C1354B.vhd"
vcom -explicit  -93 "../../../lib/SSRAM/src/ssram_port_wb.vhd"

# SDRAM
vcom -explicit  -93 "../../../lib/misc/clockgen_virtex4.vhd"
vcom -explicit  -93 "../../../lib/SDRAM/ddr_sdr_v1_5/src/sdram_ctrl.vhd"
vcom -explicit  -93 "../../../lib/SDRAM/ddr_sdr_v1_5/src/sdram_cmd.vhd"
vcom -explicit  -93 "../../../lib/SDRAM/ddr_sdr_v1_5/src/reset_virtex4.vhd"
vcom -explicit  -93 "../../../lib/SDRAM/ddr_sdr_v1_5/src/ddr_phy_virtex4.vhd"
vcom -explicit  -93 "../../../lib/SDRAM/ddr_sdr_v1_5/src/sdram_ctrl_top.vhd"
vcom -explicit  -93 "../../../lib/SDRAM/ddr_sdr_v1_5/src/sdram_ctrl_frontend64_wb.vhd"

# AC-97
vcom -explicit  -93 "../../../lib/misc/singleshot.vhd"
vcom -explicit  -93 "../../../lib/ac97_ctrl/src/core/ac_out.vhd"
vcom -explicit  -93 "../../../lib/ac97_ctrl/src/core/ac_in.vhd"
vcom -explicit  -93 "../../../lib/ac97_ctrl/src/core/ac_io.vhd"
vcom -explicit  -93 "../../../lib/ac97_ctrl/src/core/ac97_wb.vhd"

# Top and TB
vcom -explicit  -93 "../src/mips_sys_sim.vhd"
vcom -explicit  -93 "../src/tb_mips_sys.vhd"

vsim -t 1ps   -lib work tb_mips_sys
do {tb_mips_sys.wdo}
view wave
view structure
view signals
run 50ms
