tarkyss
Full Member level 6
denalimemtransaction
In order to verify reading mem operation,
data prepared in mem with setData function of DenaliMemTransaction class
for example, trans is an instance of DenaliMemTransaction, data1 and data2 are
addr=16'h0
reg [7:0] data1. data2;
data1 = new(2);
data2 = new(2);
trans.setAddress(addr)
trans.setData(data1)
addr=16'h2
trans.setAddress(addr)
trans.setData(data2)
the first data can be write to mem correctly, but the second can not, the second data may be written to unexpected address, why
if write the data to mem and then read them , it is ok, so maybe the dut is right (of course, it is possible wrong too)
if it is not the problem of dut, are there any other reasons?
In addition, when I use printInfo function of the class
the address, data, mask are right as expected
address are 16'h0, 16'h2
the datra are right too
while the width is 0, is it ok?
In order to verify reading mem operation,
data prepared in mem with setData function of DenaliMemTransaction class
for example, trans is an instance of DenaliMemTransaction, data1 and data2 are
addr=16'h0
reg [7:0] data1. data2;
data1 = new(2);
data2 = new(2);
trans.setAddress(addr)
trans.setData(data1)
addr=16'h2
trans.setAddress(addr)
trans.setData(data2)
the first data can be write to mem correctly, but the second can not, the second data may be written to unexpected address, why
if write the data to mem and then read them , it is ok, so maybe the dut is right (of course, it is possible wrong too)
if it is not the problem of dut, are there any other reasons?
In addition, when I use printInfo function of the class
the address, data, mask are right as expected
address are 16'h0, 16'h2
the datra are right too
while the width is 0, is it ok?