Hi all,

I need to move an extra block from L1 of a specific property to L2.

I got the specific block from L1.. saved the block with its tag, status and
data , and tried to insert into L2

code added in cache_impl()

Differentiated L1 and L2 with their assoc value

if L2

blk2 = allocateBlock(new_block_addr, writebacks);
                        if (blk2 == NULL)
                        {
                            // No replaceable block... just use temporary
storage to
                            // complete the current request and then get rid
of it
                            assert(!tempBlock->isValid());
                            blk2 = tempBlock;
                            tempBlock->set =
tags->extractSet(t_list->b_addr);
                            tempBlock->tag =
tags->extractTag(t_list->b_addr);

                        }
                        else
                        {
                               tags->insertBlock(t_list->b_addr, blk2,
t_list->b_id);
                               blk2->status = t_list->status;
                               blk2->data=t_list->data;
                               blk2->tag=t_list->tag;

                           }


but getting the following error

...
...
m5.debug: build/ALPHA_SE/mem/cache/cache_impl.hh:1618: Packet*
Cache<TagStore>::getTimingPacket() [with TagStore = LRU]: Assertion
`tags->findBlock(mshr->addr) == __null' failed.
Program aborted at cycle 1430001
Aborted

kindly help



-- 
Sunitha.P
9092892876
_______________________________________________
m5-users mailing list
[email protected]
http://m5sim.org/cgi-bin/mailman/listinfo/m5-users

Reply via email to