Ignore:
Timestamp:
May 14, 2008, 7:08:56 PM (16 years ago)
Author:
rosiere
Message:

Decod :

  • Correct selftest
  • Set Instruction address on (32/64)-2 bits,
  • Decod Custom Instruction : valid and tested. (add an test to verify the decod information)
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Front_end/Front_end/Decod_unit/Decod/Instruction/include/Types.h

    r81 r86  
    6363  public : Tgeneral_data_t    _mask_data ;
    6464  public : Tgeneral_data_t    _mask_shift;
    65   public : void (*** _function_decod) (decod_instruction_t *, decod_param_t *); // [type][opcod]
     65  public : void (*** _function_decod ) (decod_instruction_t *, decod_param_t *); // [type][opcod]
     66  public : void (*** _function_custom) (decod_instruction_t *, decod_param_t *); // [type][opcod]
    6667 
    6768  public : decod_param_t (uint32_t size_data,
    68                           void (*** function_decod) (decod_instruction_t *, decod_param_t *))
     69                          void (*** function_decod ) (decod_instruction_t *, decod_param_t *),
     70                          void (*** function_custom) (decod_instruction_t *, decod_param_t *))
    6971    {
    70       _size_data      = size_data;
    71       _mask_data      = gen_mask<Tgeneral_data_t> (size_data);
    72       _mask_shift     = gen_mask<Tgeneral_data_t> (log2(size_data));
    73       _function_decod = function_decod;
     72      _size_data       = size_data;
     73      _mask_data       = gen_mask<Tgeneral_data_t> (size_data);
     74      _mask_shift      = gen_mask<Tgeneral_data_t> (log2(size_data));
     75      _function_decod  = function_decod;
     76      _function_custom = function_custom;
    7477    };
    7578  public : ~decod_param_t (void)
Note: See TracChangeset for help on using the changeset viewer.