forked from amrtaweel12/Basic-Computer
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathRun.bat
More file actions
42 lines (36 loc) · 1.21 KB
/
Copy pathRun.bat
File metadata and controls
42 lines (36 loc) · 1.21 KB
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
call C:\Xilinx\Vivado\2017.4\settings64.bat
set folder=Simulation_Files
mkdir %folder%
copy "RAM.mem" "%folder%/RAM.mem"
cd "%folder%
::CPU System Simulation
call xvlog ../Register16bit.v
call xvlog ../Register32bit.v
call xvlog ../RegisterFile.v
call xvlog ../AddressRegisterFile.v
call xvlog ../InstructionRegister.v
call xvlog ../DataRegister.v
call xvlog ../ArithmeticLogicUnit.v
call xvlog ../Memory.v
call xvlog ../ArithmeticLogicUnitSystem.v
call xvlog ../CPUSystem.v
call xvlog ../CPUSystemSimulation.v
call xvlog ../Helper.v
call xelab -top CPUSystemSimulation -snapshot cpusyssim -debug typical
call xsim cpusyssim -R
::CPU System Simulation for Factorial
call xvlog ../Register16bit.v
call xvlog ../Register32bit.v
call xvlog ../RegisterFile.v
call xvlog ../AddressRegisterFile.v
call xvlog ../InstructionRegister.v
call xvlog ../DataRegister.v
call xvlog ../ArithmeticLogicUnit.v
call xvlog ../Memory.v
call xvlog ../ArithmeticLogicUnitSystem.v
call xvlog ../CPUSystem.v
call xvlog ../CPUSystemSimulation_Factorial.v
call xvlog ../Helper.v
call xelab -top CPUSystemSimulation_Factorial -snapshot cpusyssim -debug typical
call xsim cpusyssim -R
cd ..