Changes between Version 20 and Version 21 of Writing Rules/RISC


Ignore:
Timestamp:
Feb 15, 2008, 4:17:07 PM (16 years ago)
Author:
alain
Comment:

suppression du champs type sur l'interface ICACHE

Legend:

Unmodified
Added
Removed
Modified
  • Writing Rules/RISC

    v20 v21  
    6060This function performs one internal step of a long instruction.
    6161 
    62  * '''inline void getInstructionRequest (bool & req , enum !InsAccessType & type, uint32_t & address)'''
    63 
    64 This function is used by the wrappers to obtain from the ISS the instruction request parameters. The '''req''' parameter is true when there is a valid request. The '''address''' parameter is the instruction address. The  '''type''' parameter can have the values defined below: 
    65 {{{
    66 enum InsAccessType {
    67     RC,  // Read Instruction Cached
    68     RU,  // Read Instruction Uncached
    69 }
    70 }}}
     62 * '''inline void getInstructionRequest (bool & req , uint32_t & address)'''
     63
     64This function is used by the wrappers to obtain from the ISS the instruction request parameters. The '''req''' parameter is true when there is a valid request. The '''address''' parameter is the instruction address.
    7165
    7266 * '''inline void getDataRequest (bool &req , enum !DataAccessType  & type, uint32_t & address, uint32_t & wdata)'''
     
    262256    {
    263257    bool ins_req ;
    264     enum InsAccessType ins_type ;
    265258    uint32_t ins_address ;
    266259    bool data_req ;
     
    270263
    271264    m_iss.getDataRequest( data_req, data_type, data_address, data_wdata ) ;
    272     m_iss.getInstructionRequest( ins_req, ins_type, ins_address ) ;
     265    m_iss.getInstructionRequest( ins_req, ins_address ) ;
    273266
    274267    m_ins_asked = ins_req ;
     
    276269
    277270    p_icache.req = ins_req ;
    278     p_icache.type = ins_type ;
    279271    p_icache.adr = ins_address;
    280272    p_dcache_req = data_req ;
     
    314306class icache_request_t {
    315307   bool  valid ;
    316    enum InsAccessType  type ;
    317308   uint32_t  address ;
    318309};
     
    406397            /////////// cache access
    407398            m_iss.getInstructionRequest(icache_req.valid,
    408                           icache_req.type,
    409399                          icache_req.address) ;
    410400            m_iss.getDataRequest(dcache_req.valid,