@@ -171,11 +171,11 @@ async def write_read_burst(dut, filter_off=False, awid_priv=True, arid_priv=True
171
171
raddr = tb .reg_map .I3C_EC .SECFWRECOVERYIF .INDIRECT_FIFO_DATA .base_addr
172
172
173
173
# Run write burst to fill the FIFO
174
- write = tb .axi_m .write_dwords (waddr , test_data , burst = AxiBurstType .FIXED , awid = awid )
174
+ write = tb .axi_m .write_dwords (waddr , test_data , burst = AxiBurstType .FIXED , user = awid )
175
175
await with_timeout (write , 1 , "us" )
176
176
177
177
# Run read burst to empty the FIFO
178
- read = tb .axi_m .read_dwords (raddr , count = data_len , burst = AxiBurstType .FIXED , arid = arid )
178
+ read = tb .axi_m .read_dwords (raddr , count = data_len , burst = AxiBurstType .FIXED , user = arid )
179
179
received_data = await with_timeout (read , 1 , "us" )
180
180
181
181
verify_data (test_data , awids , received_data , arids , filter_off , priv_ids )
@@ -210,11 +210,11 @@ async def write_burst_collision_with_read(dut, filter_off=False, awid_priv=True,
210
210
single_write_cycles = 3
211
211
212
212
async def writer ():
213
- write = tb .axi_m .write_dwords (waddr , test_data , burst = AxiBurstType .FIXED , awid = awid )
213
+ write = tb .axi_m .write_dwords (waddr , test_data , burst = AxiBurstType .FIXED , user = awid )
214
214
await with_timeout (write , 1 , "us" )
215
215
216
216
async def reader (return_data ):
217
- read = tb .axi_m .read_dwords (raddr , count = data_len , burst = AxiBurstType .FIXED , arid = arid )
217
+ read = tb .axi_m .read_dwords (raddr , count = data_len , burst = AxiBurstType .FIXED , user = arid )
218
218
return_data .extend (await with_timeout (read , 1 , "us" ))
219
219
220
220
received_data = []
@@ -237,7 +237,7 @@ async def test_write_burst_collision_with_read_id_filter_off(dut):
237
237
await write_burst_collision_with_read (dut , True )
238
238
239
239
240
- @cocotb .test ()
240
+ @cocotb .test (skip = False )
241
241
async def test_write_burst_collision_with_read_id_filter_on_priv (dut ):
242
242
await write_burst_collision_with_read (dut , False , Access .Priv , Access .Priv )
243
243
@@ -261,11 +261,11 @@ async def read_burst_collision_with_write(dut, filter_off=False, awid_priv=True,
261
261
single_write_cycles = 3
262
262
263
263
async def writer ():
264
- write = tb .axi_m .write_dwords (waddr , test_data , burst = AxiBurstType .FIXED , awid = awid )
264
+ write = tb .axi_m .write_dwords (waddr , test_data , burst = AxiBurstType .FIXED , user = awid )
265
265
await with_timeout (write , 1 , "us" )
266
266
267
267
async def reader (return_data ):
268
- read = tb .axi_m .read_dwords (raddr , count = data_len , burst = AxiBurstType .FIXED , arid = arid )
268
+ read = tb .axi_m .read_dwords (raddr , count = data_len , burst = AxiBurstType .FIXED , user = arid )
269
269
return_data .extend (await with_timeout (read , 1 , "us" ))
270
270
271
271
received_data1 = []
@@ -338,7 +338,7 @@ async def reader():
338
338
_ = await tb .read_csr (raddr , arid = arids [i ])
339
339
340
340
# Fill fifo halfway to avoid reads when empty
341
- await tb .axi_m .write_dwords (waddr , range (64 ), burst = AxiBurstType .FIXED , awid = priv_ids [0 ])
341
+ await tb .axi_m .write_dwords (waddr , range (64 ), burst = AxiBurstType .FIXED , user = priv_ids [0 ])
342
342
343
343
w = cocotb .start_soon (writer ())
344
344
r = cocotb .start_soon (reader ())
@@ -381,7 +381,7 @@ async def reader():
381
381
_ = await tb .read_csr (raddr , arid = arids [i ])
382
382
await RisingEdge (tb .clk )
383
383
384
- await tb .axi_m .write_dwords (waddr , range (64 ), burst = AxiBurstType .FIXED , awid = priv_ids [0 ])
384
+ await tb .axi_m .write_dwords (waddr , range (64 ), burst = AxiBurstType .FIXED , user = priv_ids [0 ])
385
385
386
386
w = cocotb .start_soon (writer ())
387
387
r = cocotb .start_soon (reader ())
0 commit comments