Class uvm_mem_single_walk_seq
uvm_resource_db#(bit)::set({"REG::",regmodel.blk.mem0.get_full_name()},
"NO_MEM_TESTS", 1, this);
The walking ones algorithm is performed for each map in which the memory is defined.
for (k = 0 thru memsize-1)
write addr=k data=~k
if (k > 0) {
read addr=k-1, expect data=~(k-1)
write addr=k-1 data=k-1
if (k == last addr)
read addr=k, expect data=~k
Name |
Type |
Description |
---|---|---|
mem |
The memory to test; must be assigned prior to starting sequence. |
Constructors
Tasks
×
Runs the walking-ones algorithm on the memory given by the mem property, which must be assigned prior to starting this sequence.
If bit-type resource named "NO_REG_TESTS", "NO_MEM_TESTS", or "NO_MEM_WALK_TEST" in the "REG::" namespace matches the full name of the memory, the memory is not tested.