-
Notifications
You must be signed in to change notification settings - Fork 0
/
Run.bat
59 lines (50 loc) · 1.83 KB
/
Run.bat
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
call C:\Xilinx\Vivado\2017.4\settings64.bat
set folder=Simulation_Files
mkdir %folder%
copy "RAM.mem" "%folder%/RAM.mem"
cd "%folder%
::Register Simulation
call xvlog ../Register.v
call xvlog ../RegisterSimulation.v
call xvlog ../Helper.v
call xelab -top RegisterSimulation -snapshot regsim -debug typical
call xsim regsim -R
::Register File Simulation
call xvlog ../Register.v
call xvlog ../RegisterFile.v
call xvlog ../RegisterFileSimulation.v
call xvlog ../Helper.v
call xelab -top RegisterFileSimulation -snapshot regfilesim -debug typical
call xsim regfilesim -R
::Address Register File Simulation
call xvlog ../Register.v
call xvlog ../AddressRegisterFile.v
call xvlog ../AddressRegisterFileSimulation.v
call xvlog ../Helper.v
call xelab -top AddressRegisterFileSimulation -snapshot addregfilesim -debug typical
call xsim addregfilesim -R
::Instruction Register Simulation
call xvlog ../InstructionRegister.v
call xvlog ../InstructionRegisterSimulation.v
call xvlog ../Helper.v
call xelab -top InstructionRegisterSimulation -snapshot insregsim -debug typical
call xsim insregsim -R
::Arithmetic Logic Unit Simulation
call xvlog ../ArithmeticLogicUnit.v
call xvlog ../ArithmeticLogicUnitSimulation.v
call xvlog ../Helper.v
call xelab -top ArithmeticLogicUnitSimulation -snapshot alusim -debug typical
call xsim alusim -R
::Arithmetic Logic Unit System Simulation
call xvlog ../Register.v
call xvlog ../RegisterFile.v
call xvlog ../AddressRegisterFile.v
call xvlog ../InstructionRegister.v
call xvlog ../ArithmeticLogicUnit.v
call xvlog ../Memory.v
call xvlog ../ArithmeticLogicUnitSystem.v
call xvlog ../ArithmeticLogicUnitSystemSimulation.v
call xvlog ../Helper.v
call xelab -top ArithmeticLogicUnitSystemSimulation -snapshot alusyssim -debug typical
call xsim alusyssim -R
cd ..