forked from mtheggi/6StageProcessor
-
Notifications
You must be signed in to change notification settings - Fork 1
/
testcases2.do
130 lines (130 loc) · 7.75 KB
/
testcases2.do
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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
vsim work.integration
# vsim work.integration
# Start time: 11:53:13 on Apr 18,2023
# Loading std.standard
# Loading std.textio(body)
# Loading ieee.std_logic_1164(body)
# Loading ieee.numeric_std(body)
# Loading work.integration(archinteg)
# Loading work.fetch(archfetch)
# Loading work.pc(programcounter)
# Loading work.instruction_cache(sync_ram_a)
# Loading work.my_nadder(a_my_adder)
# Loading work.my_adder(a_my_adder)
# Loading work.mux2(arch1)
# Loading work.reg(archofreg)
# Loading work.decode(archofdecode)
# Loading work.controlunit(archofcontrolunit)
# Loading work.registersfile(archofregistersfile)
# Loading work.mux8(arch3)
# Loading work.mux4(arch2)
# Loading work.intmux(archofintmux)
# Loading work.execute(exec)
# Loading work.alu(arch4)
# Loading work.select_adder(a_my_adder)
# Loading work.ccr(controlregister)
# Loading work.sp(behavioral)
# Loading work.datamemory(dm)
# Loading work.writebackmux(archofwritebackmux)
add wave -position end sim:/integration/d/RF/out1
add wave -position end sim:/integration/d/RF/out2
add wave -position end sim:/integration/d/RF/out3
add wave -position end sim:/integration/d/RF/out4
add wave -position end sim:/integration/d/RF/out5
add wave -position end sim:/integration/d/RF/out6
add wave -position end sim:/integration/d/RF/out7
add wave -position end sim:/integration/d/RF/out8
add wave -position 0 sim:/integration/clk
add wave -position 1 sim:/integration/rst
add wave -position 2 sim:/integration/inport
add wave -position 3 sim:/integration/CCROut
add wave -position end sim:/integration/DM/memory
add wave -position 3 sim:/integration/f/p1/current_address
add wave -position 3 sim:/integration/int
# mem load -filltype value -filldata {0000000000000010 } -fillradix symbolic /integration/f/ic/ram(0)
# mem load -filltype value -filldata {0000000000100000 } -fillradix symbolic /integration/f/ic/ram(1)
# mem load -filltype value -filldata {0100100000000101 } -fillradix symbolic /integration/f/ic/ram(2)
# mem load -filltype value -filldata 0 -fillradix symbolic /integration/f/ic/ram(3)
# mem load -filltype value -filldata 0 -fillradix symbolic /integration/f/ic/ram(4)
# mem load -filltype value -filldata 0 -fillradix symbolic /integration/f/ic/ram(5)
# mem load -filltype value -filldata 0 -fillradix symbolic /integration/f/ic/ram(6)
# mem load -filltype value -filldata 0011000101000101 -fillradix symbolic /integration/f/ic/ram(7)
# mem load -skip 0 -filltype value -filldata {0000000000000000 0000000000000000 0000000000000000 0000000000000000} -fillradix symbolic -startaddress 8 -endaddress 11 /integration/f/ic/ram
# mem load -skip 0 -filltype value -filldata {0000000000000000 0000000000000000 0000000000000000 0000000000000000} -fillradix symbolic -startaddress 8 -endaddress 11 /integration/f/ic/ram
# mem load -filltype value -filldata 0011000101000101 -fillradix symbolic /integration/f/ic/ram(12)
# mem load -filltype value -filldata {0100100000000001 } -fillradix symbolic /integration/f/ic/ram(13)
# mem load -filltype value -filldata {0100100000000010 } -fillradix symbolic /integration/f/ic/ram(14)
# mem load -filltype value -filldata 0100100000000011 -fillradix symbolic /integration/f/ic/ram(15)
# mem load -filltype value -filldata 0100100000000100 -fillradix symbolic /integration/f/ic/ram(16)
# mem load -filltype value -filldata 0100100000000101 -fillradix symbolic /integration/f/ic/ram(17)
# mem load -filltype value -filldata 0 -fillradix symbolic /integration/f/ic/ram(18)
# mem load -filltype value -filldata 1000110010001000 -fillradix symbolic /integration/f/ic/ram(19)
# mem load -filltype value -filldata 0 -fillradix symbolic /integration/f/ic/ram(20)
# mem load -filltype value -filldata {1000110100011000 } -fillradix symbolic /integration/f/ic/ram(21)
# mem load -filltype value -filldata {0 } -fillradix symbolic /integration/f/ic/ram(22)
# mem load -filltype value -filldata {1000110101010000 } -fillradix symbolic /integration/f/ic/ram(23)
# mem load -filltype value -filldata {0011000001000010 } -fillradix symbolic /integration/f/ic/ram(24)
# mem load -filltype value -filldata {0110110000001000 } -fillradix symbolic /integration/f/ic/ram(25)
# mem load -filltype value -filldata {0110110000011111 } -fillradix symbolic /integration/f/ic/ram(27)
# mem load -filltype value -filldata 0 -fillradix symbolic /integration/f/ic/ram(26)
# mem load -filltype value -filldata 0010010010110001 -fillradix symbolic /integration/f/ic/ram(28)
# mem load -filltype value -filldata {0 } -fillradix symbolic /integration/f/ic/ram(29)
# mem load -filltype value -filldata 0 -fillradix symbolic /integration/f/ic/ram(30)
# mem load -filltype value -filldata 0 -fillradix symbolic /integration/f/ic/ram(31)
# mem load -filltype value -filldata 0 -fillradix symbolic /integration/f/ic/ram(32)
# mem load -filltype value -filldata 0011000001000001 -fillradix symbolic /integration/f/ic/ram(33)
# mem load -filltype value -filldata {0 } -fillradix symbolic /integration/f/ic/ram(34)
# mem load -filltype value -filldata 0010010011100101 -fillradix symbolic /integration/f/ic/ram(35)
# mem load -filltype value -filldata 0 -fillradix symbolic -skip 0 -startaddress 36 -endaddress 65535 /integration/f/ic/ram
mem load -i {D:/collegelectures/Computer Architecture/6StageProcessor/testcases2.mem} /integration/f/ic/ram
force -freeze sim:/integration/clk 0 0, 1 {50 ps} -r 100
force -freeze sim:/integration/rst 1 0
force -freeze sim:/integration/inport 'hFFFE 0
#add wave -position 3 sim:/integration/ControllerSignal
#add wave -position end sim:/integration/DE/q
#add wave -position 4 sim:/integration/EM1/q
#add wave -position 16 sim:/integration/DM/WriteEnable
#add wave -position 17 sim:/integration/DM/ReadEnable
#add wave -position 18 sim:/integration/DM/address
#add wave -position 19 sim:/integration/DM/dataIn
#add wave -position 20 sim:/integration/DM/dataOut
#add wave -position 21 sim:/integration/DM/latched_address
#add wave -position 22 sim:/integration/DM/latched_data
#add wave -position 23 sim:/integration/DM/latched_memRead
#add wave -position 24 sim:/integration/DM/latched_memWrite
#add wave -position end sim:/integration/EM2/q
#add wave -position end sim:/integration/DM/combineReads
force -freeze sim:/integration/int 0 0
run
# ** Warning: NUMERIC_STD.TO_INTEGER: metavalue detected, returning 0
# Time: 0 ps Iteration: 0 Region: /integration/d/RF/loop2(7)
# ** Warning: NUMERIC_STD.TO_INTEGER: metavalue detected, returning 0
# Time: 0 ps Iteration: 0 Region: /integration/d/RF/loop2(6)
# ** Warning: NUMERIC_STD.TO_INTEGER: metavalue detected, returning 0
# Time: 0 ps Iteration: 0 Region: /integration/d/RF/loop2(5)
# ** Warning: NUMERIC_STD.TO_INTEGER: metavalue detected, returning 0
# Time: 0 ps Iteration: 0 Region: /integration/d/RF/loop2(4)
# ** Warning: NUMERIC_STD.TO_INTEGER: metavalue detected, returning 0
# Time: 0 ps Iteration: 0 Region: /integration/d/RF/loop2(3)
# ** Warning: NUMERIC_STD.TO_INTEGER: metavalue detected, returning 0
# Time: 0 ps Iteration: 0 Region: /integration/d/RF/loop2(2)
# ** Warning: NUMERIC_STD.TO_INTEGER: metavalue detected, returning 0
# Time: 0 ps Iteration: 0 Region: /integration/d/RF/loop2(1)
# ** Warning: NUMERIC_STD.TO_INTEGER: metavalue detected, returning 0
# Time: 0 ps Iteration: 0 Region: /integration/d/RF/loop2(0)
# ** Warning: NUMERIC_STD.TO_INTEGER: metavalue detected, returning 0
# Time: 0 ps Iteration: 0 Instance: /integration/f/ic
# ** Warning: NUMERIC_STD.TO_INTEGER: metavalue detected, returning 0
# Time: 0 ps Iteration: 0 Instance: /integration/f/ic
force -freeze sim:/integration/rst 0 0
run 650 ps
force -freeze sim:/integration/inport 'h0001 0
run
force -freeze sim:/integration/inport 'h000f 0
run
force -freeze sim:/integration/inport 'h00C8 0
run
force -freeze sim:/integration/inport 'h001f 0
run
force -freeze sim:/integration/inport 'h00fc 0
run 2100 ps