Ignore:
Timestamp:
Jan 29, 2008, 1:34:47 PM (16 years ago)
Author:
rosiere
Message:
  • SystemC de l'unite fonctionnelle.
  • gestion des groupes / instructions custom
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Execute_loop/Execute_loop/Multi_Execute_unit/Execute_unit/Load_store_unit/SelfTest/src/test2.cpp

    r71 r72  
    657657                    {
    658658                      // Bus error
    659                       error = 1;
     659                      error = DCACHE_ERROR_BUS_ERROR;
    660660                      rdata = address; // convention : cache return the address fautive !
    661661                    }
     
    667667
    668668                  // test type : send or not a respons !
    669                   if ((out_DCACHE_REQ_TYPE->read() == DCACHE_SYNCHRONIZATION) or
    670                       (out_DCACHE_REQ_TYPE->read() == DCACHE_LOAD) or
    671                       ((error == 1) and ((out_DCACHE_REQ_TYPE->read() == DCACHE_STORE_8 ) or
    672                                          (out_DCACHE_REQ_TYPE->read() == DCACHE_STORE_16) or
    673                                          (out_DCACHE_REQ_TYPE->read() == DCACHE_STORE_32) or
    674                                          (out_DCACHE_REQ_TYPE->read() == DCACHE_STORE_64) )))
     669                  if ((out_DCACHE_REQ_TYPE->read() == DCACHE_TYPE_SYNCHRONIZATION) or
     670                      (out_DCACHE_REQ_TYPE->read() == DCACHE_TYPE_LOAD) or
     671                      ((error != DCACHE_ERROR_NONE) and ((out_DCACHE_REQ_TYPE->read() == DCACHE_TYPE_STORE_8 ) or
     672                                                         (out_DCACHE_REQ_TYPE->read() == DCACHE_TYPE_STORE_16) or
     673                                                         (out_DCACHE_REQ_TYPE->read() == DCACHE_TYPE_STORE_32) or
     674                                                         (out_DCACHE_REQ_TYPE->read() == DCACHE_TYPE_STORE_64) )))
    675675                    {
    676676                      LABEL("     * have_dcache_rsp");
Note: See TracChangeset for help on using the changeset viewer.