1 |
2 |
feddischso |
|
2 |
|
|
set_alias(PART = 1)
|
3 |
|
|
set_alias(SUBPART = 2)
|
4 |
|
|
set_alias(SUBSUBPART = 3)
|
5 |
|
|
|
6 |
|
|
|
7 |
|
|
---------------------------------
|
8 |
|
|
-- 32-Bit Master --
|
9 |
|
|
|
10 |
|
|
set_device(path=/system_tb/dut/plb_bfm_master_32/plb_bfm_master_32/master,device_type=plb_master)
|
11 |
|
|
configure(msize=00)
|
12 |
|
|
|
13 |
|
|
mem_update(addr=f0000000,data=11223344_22223344_33223344_44223344)
|
14 |
|
|
mem_update(addr=f0000010,data=01111111_02111111_03111111_04111111)
|
15 |
|
|
mem_update(addr=f0000020,data=01222211_02222211_03222211_04222211)
|
16 |
|
|
mem_update(addr=f0000030,data=01333311_02333311_03333311_04333311)
|
17 |
|
|
mem_update(addr=f1000000,data=11eeffee_22eeffee_33eeffee_44eeffee)
|
18 |
|
|
mem_update(addr=f1000010,data=11eeffee_22eeffee_33eeffee_44eeffee)
|
19 |
|
|
mem_update(addr=f1000020,data=11eeffee_22eeffee_33eeffee_44eeffee)
|
20 |
|
|
mem_update(addr=f1000030,data=11eeffee_22eeffee_33eeffee_44eeffee)
|
21 |
|
|
mem_update(addr=f2000000,data=11abcdef_22abcdef_33abcdef_44abcdef)
|
22 |
|
|
mem_update(addr=f3000000,data=11222222_22222222_33222222_44222222)
|
23 |
|
|
mem_update(addr=f3000010,data=01111111_02111111_03111111_04111111)
|
24 |
|
|
mem_update(addr=f3000020,data=01222211_02222211_03222211_04222211)
|
25 |
|
|
mem_update(addr=f3000030,data=01333311_02333311_03333311_04333311)
|
26 |
|
|
|
27 |
|
|
wait( level=SUBPART )
|
28 |
|
|
|
29 |
|
|
|
30 |
|
|
|
31 |
|
|
write ( addr=f0000000, size=0000, be=1111 )
|
32 |
|
|
write ( addr=f1000000, size=0000, be=1111 )
|
33 |
|
|
write ( addr=f2000000, size=0000, be=1111 )
|
34 |
|
|
write ( addr=f3000000, size=0000, be=1111 )
|
35 |
|
|
write ( addr=f2000000, size=0000, be=1111 )
|
36 |
|
|
write ( addr=f3000000, size=0000, be=1111 )
|
37 |
|
|
write ( addr=f1000000, size=0000, be=1111 )
|
38 |
|
|
write ( addr=f0000000, size=0000, be=1111 )
|
39 |
|
|
write ( addr=f1000000, size=0000, be=1111 )
|
40 |
|
|
|
41 |
|
|
|
42 |
|
|
|
43 |
|
|
-- this causes several address-pipelining situations
|
44 |
|
|
read ( addr=f1000000, size=0000, be=1111 )
|
45 |
|
|
read ( addr=f2000000, size=0000, be=1111 )
|
46 |
|
|
read ( addr=f2000000, size=0000, be=1111 )
|
47 |
|
|
read ( addr=f1000000, size=0000, be=1111 )
|
48 |
|
|
read ( addr=f1000000, size=0000, be=1111 )
|
49 |
|
|
read ( addr=f2000000, size=0000, be=1111 )
|
50 |
|
|
read ( addr=f2000000, size=0000, be=1111 )
|
51 |
|
|
read ( addr=f1000000, size=0000, be=1111 )
|
52 |
|
|
read ( addr=f2000000, size=0000, be=1111 )
|
53 |
|
|
read ( addr=f2000000, size=0000, be=1111 )
|
54 |
|
|
|
55 |
|
|
|
56 |
|
|
wait( level = SUBSUBPART )
|
57 |
|
|
wait( level = SUBSUBPART )
|
58 |
|
|
wait( level = SUBSUBPART )
|
59 |
|
|
|
60 |
|
|
write ( addr=f0000000, size=0000, be=1111 )
|
61 |
|
|
read ( addr=f0000000, size=0000, be=1111 )
|
62 |
|
|
write ( addr=f1000000, size=0000, be=1111 )
|
63 |
|
|
read ( addr=f1000000, size=0000, be=1111 )
|
64 |
|
|
write ( addr=f2000000, size=0000, be=1111 )
|
65 |
|
|
read ( addr=f2000000, size=0000, be=1111 )
|
66 |
|
|
write ( addr=f3000000, size=0000, be=1111 )
|
67 |
|
|
read ( addr=f3000000, size=0000, be=1111 )
|
68 |
|
|
write ( addr=f2000000, size=0000, be=1111 )
|
69 |
|
|
read ( addr=f2000000, size=0000, be=1111 )
|
70 |
|
|
read ( addr=f2000000, size=0000, be=1111 )
|
71 |
|
|
write ( addr=f2000000, size=0000, be=1111 )
|
72 |
|
|
write ( addr=f2000000, size=0000, be=1111 )
|
73 |
|
|
read ( addr=f2000000, size=0000, be=1111 )
|
74 |
|
|
write ( addr=f3000000, size=0000, be=1111 )
|
75 |
|
|
read ( addr=f3000000, size=0000, be=1111 )
|
76 |
|
|
write ( addr=f2000000, size=0000, be=1111 )
|
77 |
|
|
read ( addr=f2000000, size=0000, be=1111 )
|
78 |
|
|
read ( addr=f2000000, size=0000, be=1111 )
|
79 |
|
|
write ( addr=f2000000, size=0000, be=1111 )
|
80 |
|
|
|
81 |
|
|
|
82 |
|
|
|
83 |
|
|
|
84 |
|
|
|
85 |
|
|
---------------------------------
|
86 |
|
|
-- 64-Bit Master --
|
87 |
|
|
|
88 |
|
|
set_device(path=/system_tb/dut/plb_bfm_master_64/plb_bfm_master_64/master,device_type=plb_master)
|
89 |
|
|
configure(msize=01)
|
90 |
|
|
|
91 |
|
|
|
92 |
|
|
mem_update(addr=f0000000,data=11223344_22223344_33223344_44223344)
|
93 |
|
|
mem_update(addr=f0000010,data=01111111_02111111_03111111_04111111)
|
94 |
|
|
mem_update(addr=f0000020,data=01222211_02222211_03222211_04222211)
|
95 |
|
|
mem_update(addr=f0000030,data=01333311_02333311_03333311_04333311)
|
96 |
|
|
mem_update(addr=f1000000,data=11eeffee_22eeffee_33eeffee_44eeffee)
|
97 |
|
|
mem_update(addr=f1000010,data=11eeffee_22eeffee_33eeffee_44eeffee)
|
98 |
|
|
mem_update(addr=f1000020,data=11eeffee_22eeffee_33eeffee_44eeffee)
|
99 |
|
|
mem_update(addr=f1000030,data=11eeffee_22eeffee_33eeffee_44eeffee)
|
100 |
|
|
mem_update(addr=f2000000,data=11abcdef_22abcdef_33abcdef_44abcdef)
|
101 |
|
|
mem_update(addr=f3000000,data=11222222_22222222_33222222_44222222)
|
102 |
|
|
mem_update(addr=f3000010,data=01111111_02111111_03111111_04111111)
|
103 |
|
|
mem_update(addr=f3000020,data=01222211_02222211_03222211_04222211)
|
104 |
|
|
mem_update(addr=f3000030,data=01333311_02333311_03333311_04333311)
|
105 |
|
|
|
106 |
|
|
wait( level=PART )
|
107 |
|
|
wait( level=PART )
|
108 |
|
|
|
109 |
|
|
|
110 |
|
|
|
111 |
|
|
|
112 |
|
|
|
113 |
|
|
write ( addr=f0000000, size=0000, be=11111111 )
|
114 |
|
|
write ( addr=f1000000, size=0000, be=11111111 )
|
115 |
|
|
write ( addr=f2000000, size=0000, be=11111111 )
|
116 |
|
|
write ( addr=f3000000, size=0000, be=11111111 )
|
117 |
|
|
write ( addr=f2000000, size=0000, be=11111111 )
|
118 |
|
|
write ( addr=f3000000, size=0000, be=11111111 )
|
119 |
|
|
write ( addr=f1000000, size=0000, be=11111111 )
|
120 |
|
|
write ( addr=f0000000, size=0000, be=11111111 )
|
121 |
|
|
write ( addr=f1000000, size=0000, be=11111111 )
|
122 |
|
|
|
123 |
|
|
|
124 |
|
|
|
125 |
|
|
-- this causes several address-pipelining situations
|
126 |
|
|
read ( addr=f1000000, size=0000, be=11111111 )
|
127 |
|
|
read ( addr=f2000000, size=0000, be=11111111 )
|
128 |
|
|
read ( addr=f2000000, size=0000, be=11111111 )
|
129 |
|
|
read ( addr=f1000000, size=0000, be=11111111 )
|
130 |
|
|
read ( addr=f1000000, size=0000, be=11111111 )
|
131 |
|
|
read ( addr=f3000000, size=0000, be=11111111 )
|
132 |
|
|
read ( addr=f2000000, size=0000, be=11111111 )
|
133 |
|
|
read ( addr=f1000000, size=0000, be=11111111 )
|
134 |
|
|
read ( addr=f2000000, size=0000, be=11111111 )
|
135 |
|
|
read ( addr=f2000000, size=0000, be=11111111 )
|
136 |
|
|
|
137 |
|
|
|
138 |
|
|
wait( level = SUBSUBPART )
|
139 |
|
|
wait( level = SUBSUBPART )
|
140 |
|
|
wait( level = SUBSUBPART )
|
141 |
|
|
|
142 |
|
|
write ( addr=f0000000, size=0000, be=11111111 )
|
143 |
|
|
read ( addr=f0000000, size=0000, be=11111111 )
|
144 |
|
|
write ( addr=f1000000, size=0000, be=11111111 )
|
145 |
|
|
read ( addr=f1000000, size=0000, be=11111111 )
|
146 |
|
|
write ( addr=f2000000, size=0000, be=11111111 )
|
147 |
|
|
read ( addr=f2000000, size=0000, be=11111111 )
|
148 |
|
|
write ( addr=f3000000, size=0000, be=11111111 )
|
149 |
|
|
read ( addr=f3000000, size=0000, be=11111111 )
|
150 |
|
|
write ( addr=f2000000, size=0000, be=11111111 )
|
151 |
|
|
read ( addr=f2000000, size=0000, be=11111111 )
|
152 |
|
|
read ( addr=f2000000, size=0000, be=11111111 )
|
153 |
|
|
write ( addr=f2000000, size=0000, be=11111111 )
|
154 |
|
|
write ( addr=f2000000, size=0000, be=11111111 )
|
155 |
|
|
read ( addr=f2000000, size=0000, be=11111111 )
|
156 |
|
|
write ( addr=f3000000, size=0000, be=11111111 )
|
157 |
|
|
read ( addr=f3000000, size=0000, be=11111111 )
|
158 |
|
|
write ( addr=f2000000, size=0000, be=11111111 )
|
159 |
|
|
read ( addr=f2000000, size=0000, be=11111111 )
|
160 |
|
|
read ( addr=f2000000, size=0000, be=11111111 )
|
161 |
|
|
write ( addr=f2000000, size=0000, be=11111111 )
|
162 |
|
|
|
163 |
|
|
|
164 |
|
|
|
165 |
|
|
|
166 |
|
|
|
167 |
|
|
|
168 |
|
|
---------------------------------
|
169 |
|
|
-- 128-Bit Master --
|
170 |
|
|
|
171 |
|
|
set_device(path=/system_tb/dut/plb_bfm_master_128/plb_bfm_master_128/master,device_type=plb_master)
|
172 |
|
|
configure(msize=10)
|
173 |
|
|
|
174 |
|
|
|
175 |
|
|
|
176 |
|
|
|
177 |
|
|
mem_update(addr=f0000000,data=11223344_22223344_33223344_44223344)
|
178 |
|
|
mem_update(addr=f0000010,data=01111111_02111111_03111111_04111111)
|
179 |
|
|
mem_update(addr=f0000020,data=01222211_02222211_03222211_04222211)
|
180 |
|
|
mem_update(addr=f0000030,data=01333311_02333311_03333311_04333311)
|
181 |
|
|
mem_update(addr=f1000000,data=11eeffee_22eeffee_33eeffee_44eeffee)
|
182 |
|
|
mem_update(addr=f1000010,data=11eeffee_22eeffee_33eeffee_44eeffee)
|
183 |
|
|
mem_update(addr=f1000020,data=11eeffee_22eeffee_33eeffee_44eeffee)
|
184 |
|
|
mem_update(addr=f1000030,data=11eeffee_22eeffee_33eeffee_44eeffee)
|
185 |
|
|
mem_update(addr=f2000000,data=11abcdef_22abcdef_33abcdef_44abcdef)
|
186 |
|
|
mem_update(addr=f3000000,data=11222222_22222222_33222222_44222222)
|
187 |
|
|
mem_update(addr=f3000010,data=01111111_02111111_03111111_04111111)
|
188 |
|
|
mem_update(addr=f3000020,data=01222211_02222211_03222211_04222211)
|
189 |
|
|
mem_update(addr=f3000030,data=01333311_02333311_03333311_04333311)
|
190 |
|
|
|
191 |
|
|
wait( level=PART )
|
192 |
|
|
wait( level=PART )
|
193 |
|
|
wait( level=PART )
|
194 |
|
|
wait( level=PART )
|
195 |
|
|
|
196 |
|
|
|
197 |
|
|
|
198 |
|
|
write ( addr=f0000000, size=0000, be=1111111111111111 )
|
199 |
|
|
write ( addr=f1000000, size=0000, be=1111111111111111 )
|
200 |
|
|
write ( addr=f2000000, size=0000, be=1111111111111111 )
|
201 |
|
|
write ( addr=f3000000, size=0000, be=1111111111111111 )
|
202 |
|
|
write ( addr=f2000000, size=0000, be=1111111111111111 )
|
203 |
|
|
write ( addr=f3000000, size=0000, be=1111111111111111 )
|
204 |
|
|
write ( addr=f1000000, size=0000, be=1111111111111111 )
|
205 |
|
|
write ( addr=f0000000, size=0000, be=1111111111111111 )
|
206 |
|
|
|
207 |
|
|
|
208 |
|
|
|
209 |
|
|
-- this causes several address-pipelining situations
|
210 |
|
|
read ( addr=f1000000, size=0000, be=1111111111111111 )
|
211 |
|
|
read ( addr=f2000000, size=0000, be=1111111111111111 )
|
212 |
|
|
read ( addr=f2000000, size=0000, be=1111111111111111 )
|
213 |
|
|
read ( addr=f1000000, size=0000, be=1111111111111111 )
|
214 |
|
|
read ( addr=f1000000, size=0000, be=1111111111111111 )
|
215 |
|
|
read ( addr=f3000000, size=0000, be=1111111111111111 )
|
216 |
|
|
read ( addr=f2000000, size=0000, be=1111111111111111 )
|
217 |
|
|
read ( addr=f1000000, size=0000, be=1111111111111111 )
|
218 |
|
|
read ( addr=f2000000, size=0000, be=1111111111111111 )
|
219 |
|
|
read ( addr=f2000000, size=0000, be=1111111111111111 )
|
220 |
|
|
|
221 |
|
|
|
222 |
|
|
wait( level = SUBSUBPART )
|
223 |
|
|
|
224 |
|
|
write ( addr=f0000000, size=0000, be=1111111111111111 )
|
225 |
|
|
read ( addr=f0000000, size=0000, be=1111111111111111 )
|
226 |
|
|
write ( addr=f1000000, size=0000, be=1111111111111111 )
|
227 |
|
|
read ( addr=f1000000, size=0000, be=1111111111111111 )
|
228 |
|
|
write ( addr=f2000000, size=0000, be=1111111111111111 )
|
229 |
|
|
read ( addr=f2000000, size=0000, be=1111111111111111 )
|
230 |
|
|
write ( addr=f3000000, size=0000, be=1111111111111111 )
|
231 |
|
|
read ( addr=f3000000, size=0000, be=1111111111111111 )
|
232 |
|
|
write ( addr=f2000000, size=0000, be=1111111111111111 )
|
233 |
|
|
read ( addr=f2000000, size=0000, be=1111111111111111 )
|
234 |
|
|
read ( addr=f2000000, size=0000, be=1111111111111111 )
|
235 |
|
|
write ( addr=f2000000, size=0000, be=1111111111111111 )
|
236 |
|
|
write ( addr=f2000000, size=0000, be=1111111111111111 )
|
237 |
|
|
read ( addr=f2000000, size=0000, be=1111111111111111 )
|
238 |
|
|
write ( addr=f3000000, size=0000, be=1111111111111111 )
|
239 |
|
|
read ( addr=f3000000, size=0000, be=1111111111111111 )
|
240 |
|
|
write ( addr=f2000000, size=0000, be=1111111111111111 )
|
241 |
|
|
read ( addr=f2000000, size=0000, be=1111111111111111 )
|
242 |
|
|
read ( addr=f2000000, size=0000, be=1111111111111111 )
|
243 |
|
|
write ( addr=f2000000, size=0000, be=1111111111111111 )
|
244 |
|
|
|
245 |
|
|
|
246 |
|
|
|
247 |
|
|
|