Ignore:
Timestamp:
Dec 17, 2013, 11:11:20 AM (10 years ago)
Author:
cfuguet
Message:

Modifications in vci_mem_cache:

  • The out of segment read or write does not activate any more an assert on the memory cache. Instead, the request is sent to the XRAM and the error from the XRAM will be propagated to the processor doing the access.

The propagation of the error is done in two different ways:

  • When is a READ MISS: The error is propagated through the VCI rerror to the processor doing the read.
  • When is a WRITE MISS: The error is propagated through an IRQ which normally is connected to the local XICU.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/modules/vci_mem_cache/caba/source/include/xram_transaction.h

    r549 r601  
    401401    void write_rsp(const size_t      index,
    402402                   const size_t      word,
    403                    const wide_data_t data)
     403                   const wide_data_t data,
     404                   const bool        rerror)
    404405    {
    405406        data_t  value;
     
    417418        assert( (tab[index].xram_read ) and
    418419        "MEMC ERROR: TRT entry is not a GET in TRT write_rsp()");
     420
     421        if ( rerror )
     422        {
     423            tab[index].rerror = true;
     424            return;
     425        }
    419426
    420427        // first 32 bits word
Note: See TracChangeset for help on using the changeset viewer.