# Reading C:/altera/13.1/modelsim_ase/tcl/vsim/pref.tcl 
# do cpu_run_msim_rtl_vhdl.do 
# if ![file isdirectory cpu_iputf_libs] {
# 	file mkdir cpu_iputf_libs
# }
# 
# if {[file exists rtl_work]} {
# 	vdel -lib rtl_work -all
# }
# vlib rtl_work
# vmap work rtl_work
# Copying C:\altera\13.1\modelsim_ase\win32aloem/../modelsim.ini to modelsim.ini
# Modifying modelsim.ini
# ** Warning: Copied C:\altera\13.1\modelsim_ase\win32aloem/../modelsim.ini to modelsim.ini.
#          Updated modelsim.ini.
# 
###### Libraries for IPUTF cores 
###### End libraries for IPUTF cores 
###### MIF file copy and HDL compilation commands for IPUTF cores 
# 
# 
# vcom "C:/Users/mrkor/Nextcloud/RISC-V/VHDL/Entwurf/CPU/cpu1/clock_sim/clock.vho"
# Model Technology ModelSim ALTERA vcom 10.1d Compiler 2012.11 Nov  2 2012
# -- Loading package STANDARD
# -- Loading package TEXTIO
# -- Loading package std_logic_1164
# -- Loading package altera_lnsim_components
# -- Compiling entity clock
# -- Compiling architecture RTL of clock
# 
# vcom -93 -work work {C:/Users/mrkor/Nextcloud/RISC-V/VHDL/Entwurf/CPU/cpu1/src/cpu1.vhd}
# Model Technology ModelSim ALTERA vcom 10.1d Compiler 2012.11 Nov  2 2012
# -- Loading package STANDARD
# -- Loading package TEXTIO
# -- Loading package std_logic_1164
# -- Compiling entity cpu1
# -- Compiling architecture bdf_type of cpu1
# vcom -93 -work work {C:/Users/mrkor/Nextcloud/RISC-V/VHDL/Entwurf/CPU/cpu1/src/mux2.vhd}
# Model Technology ModelSim ALTERA vcom 10.1d Compiler 2012.11 Nov  2 2012
# -- Loading package STANDARD
# -- Loading package TEXTIO
# -- Loading package std_logic_1164
# -- Compiling entity mux2
# -- Compiling architecture rtl of mux2
# vcom -93 -work work {C:/Users/mrkor/Nextcloud/RISC-V/VHDL/Entwurf/CPU/cpu1/src/rom.vhd}
# Model Technology ModelSim ALTERA vcom 10.1d Compiler 2012.11 Nov  2 2012
# -- Loading package STANDARD
# -- Loading package TEXTIO
# -- Loading package std_logic_1164
# -- Loading package NUMERIC_STD
# -- Compiling entity rom
# -- Compiling architecture rtl of rom
# vcom -93 -work work {C:/Users/mrkor/Nextcloud/RISC-V/VHDL/Entwurf/CPU/cpu1/src/reset_ic.vhd}
# Model Technology ModelSim ALTERA vcom 10.1d Compiler 2012.11 Nov  2 2012
# -- Loading package STANDARD
# -- Loading package TEXTIO
# -- Loading package std_logic_1164
# -- Loading package NUMERIC_STD
# -- Compiling entity reset_ic
# -- Compiling architecture behaviorRESET of reset_ic
# vcom -93 -work work {C:/Users/mrkor/Nextcloud/RISC-V/VHDL/Entwurf/CPU/cpu1/src/regfile.vhd}
# Model Technology ModelSim ALTERA vcom 10.1d Compiler 2012.11 Nov  2 2012
# -- Loading package STANDARD
# -- Loading package TEXTIO
# -- Loading package std_logic_1164
# -- Loading package NUMERIC_STD
# -- Compiling entity regfile
# -- Compiling architecture rtl of regfile
# vcom -93 -work work {C:/Users/mrkor/Nextcloud/RISC-V/VHDL/Entwurf/CPU/cpu1/src/pc.vhd}
# Model Technology ModelSim ALTERA vcom 10.1d Compiler 2012.11 Nov  2 2012
# -- Loading package STANDARD
# -- Loading package TEXTIO
# -- Loading package std_logic_1164
# -- Loading package NUMERIC_STD
# -- Compiling entity pc
# -- Compiling architecture rtl of pc
# vcom -93 -work work {C:/Users/mrkor/Nextcloud/RISC-V/VHDL/Entwurf/CPU/cpu1/src/const4.vhd}
# Model Technology ModelSim ALTERA vcom 10.1d Compiler 2012.11 Nov  2 2012
# -- Loading package STANDARD
# -- Loading package TEXTIO
# -- Loading package std_logic_1164
# -- Compiling entity const4
# -- Compiling architecture rtl of const4
# vcom -93 -work work {C:/Users/mrkor/Nextcloud/RISC-V/VHDL/Entwurf/CPU/cpu1/src/alu_pkg.vhd}
# Model Technology ModelSim ALTERA vcom 10.1d Compiler 2012.11 Nov  2 2012
# -- Loading package STANDARD
# -- Loading package TEXTIO
# -- Loading package std_logic_1164
# -- Compiling package alu_pkg
# -- Compiling package body alu_pkg
# -- Loading package alu_pkg
# vcom -93 -work work {C:/Users/mrkor/Nextcloud/RISC-V/VHDL/Entwurf/CPU/cpu1/src/add.vhd}
# Model Technology ModelSim ALTERA vcom 10.1d Compiler 2012.11 Nov  2 2012
# -- Loading package STANDARD
# -- Loading package TEXTIO
# -- Loading package std_logic_1164
# -- Loading package NUMERIC_STD
# -- Compiling entity add
# -- Compiling architecture rtl of add
# vcom -93 -work work {C:/Users/mrkor/Nextcloud/RISC-V/VHDL/Entwurf/CPU/cpu1/src/ctrl_cpu1.vhd}
# Model Technology ModelSim ALTERA vcom 10.1d Compiler 2012.11 Nov  2 2012
# -- Loading package STANDARD
# -- Loading package TEXTIO
# -- Loading package std_logic_1164
# -- Loading package alu_pkg
# -- Compiling entity ctrl_cpu1
# -- Compiling architecture rtl of ctrl_cpu1
# vcom -93 -work work {C:/Users/mrkor/Nextcloud/RISC-V/VHDL/Entwurf/CPU/cpu1/src/alu.vhd}
# Model Technology ModelSim ALTERA vcom 10.1d Compiler 2012.11 Nov  2 2012
# -- Loading package STANDARD
# -- Loading package TEXTIO
# -- Loading package std_logic_1164
# -- Loading package NUMERIC_STD
# -- Loading package alu_pkg
# -- Compiling entity alu
# -- Compiling architecture rtl of alu
# 
# vcom -2008 -work work {C:/Users/mrkor/Nextcloud/RISC-V/VHDL/Entwurf/CPU/cpu1/src/tb_cpu.vhd}
# Model Technology ModelSim ALTERA vcom 10.1d Compiler 2012.11 Nov  2 2012
# -- Loading package STANDARD
# -- Loading package TEXTIO
# -- Loading package std_logic_1164
# -- Compiling entity tb_cpu
# -- Compiling architecture sim of tb_cpu
# -- Loading entity cpu1
# 
# vsim -t 1ps -L altera -L lpm -L sgate -L altera_mf -L altera_lnsim -L cyclonev -L rtl_work -L work -voptargs="+acc"  tb_cpu
# vsim -L altera -L lpm -L sgate -L altera_mf -L altera_lnsim -L cyclonev -L rtl_work -L work -voptargs=\"+acc\" -t 1ps tb_cpu 
# Loading std.standard
# Loading std.textio(body)
# Loading ieee.std_logic_1164(body)
# Loading work.tb_cpu(sim)
# Loading work.cpu1(bdf_type)
# Loading ieee.numeric_std(body)
# Loading work.alu_pkg(body)
# Loading work.alu(rtl)
# Loading work.ctrl_cpu1(rtl)
# Loading work.add(rtl)
# Loading work.mux2(rtl)
# Loading work.const4(rtl)
# Loading work.pc(rtl)
# Loading altera_lnsim.altera_lnsim_components
# Loading work.clock(rtl)
# Loading sv_std.std
# Loading work.regfile(rtl)
# Loading work.reset_ic(behaviorreset)
# Loading work.rom(rtl)
# 
# do C:/Users/mrkor/Nextcloud/RISC-V/VHDL/Entwurf/CPU/cpu1/simulation/modelsim/wave.do
# onerror {resume}
# quietly WaveActivateNextPane {} 0
# add wave -noupdate /tb_cpu/uut/b2v_pc/clk
# add wave -noupdate /tb_cpu/uut/b2v_pc/reset
# add wave -noupdate -radix hexadecimal /tb_cpu/uut/b2v_pc/pc_out
# add wave -noupdate -radix hexadecimal /tb_cpu/uut/b2v_inst1/instr
# add wave -noupdate /tb_cpu/uut/b2v_inst1/alu_ctrl
# add wave -noupdate /tb_cpu/uut/b2v_inst1/we
# add wave -noupdate /tb_cpu/uut/b2v_inst1/alu_src_imm
# add wave -noupdate -radix decimal /tb_cpu/uut/b2v_inst1/src_addr1
# add wave -noupdate -radix unsigned /tb_cpu/uut/b2v_inst1/src_addr2
# add wave -noupdate -radix decimal /tb_cpu/uut/b2v_inst1/dest_addr
# add wave -noupdate -radix decimal /tb_cpu/uut/b2v_inst1/imm_ext
# add wave -noupdate -radix decimal /tb_cpu/uut/b2v_alu/a
# add wave -noupdate -radix decimal /tb_cpu/uut/b2v_alu/b
# add wave -noupdate /tb_cpu/uut/b2v_alu/alu_ctrl
# add wave -noupdate -radix decimal /tb_cpu/uut/b2v_reg/regs(10)
# add wave -noupdate -radix decimal /tb_cpu/uut/b2v_reg/regs(11)
# add wave -noupdate -radix decimal /tb_cpu/uut/b2v_reg/regs(12)
# add wave -noupdate -radix decimal /tb_cpu/uut/b2v_reg/regs(13)
# TreeUpdate [SetDefaultTree]
# WaveRestoreCursors {{Cursor 1} {0 ps} 0}
# quietly wave cursor active 0
# configure wave -namecolwidth 216
# configure wave -valuecolwidth 51
# configure wave -justifyvalue left
# configure wave -signalnamewidth 0
# configure wave -snapdistance 10
# configure wave -datasetprefix 0
# configure wave -rowmargin 4
# configure wave -childrowmargin 2
# configure wave -gridoffset 0
# configure wave -gridperiod 1
# configure wave -griddelta 40
# configure wave -timeline 0
# configure wave -timelineunits ps
# update
# WaveRestoreZoom {3644405 ps} {8860257 ps}
