Ignore:
Timestamp:
Sep 6, 2007, 6:30:49 PM (17 years ago)
Author:
rosiere
Message:
  • Banc de registre multi banc
  • Banc de registre générique.
Location:
trunk/IPs/systemC/processor/Morpheo/Behavioural/Generic
Files:
109 added
1 deleted
13 edited

Legend:

Unmodified
Added
Removed
  • trunk/IPs/systemC/processor/Morpheo/Behavioural/Generic/Counter/Makefile.deps

    r48 r53  
    88# DIR_MORPHEO must be defined
    99
     10Counter                 = yes
     11
    1012ifndef Behavioural
    1113include                         $(DIR_MORPHEO)/Behavioural/Makefile.deps
    1214endif
    13 
    14 Counter                 = yes
    1515
    1616#-----[ Library ]------------------------------------------
  • trunk/IPs/systemC/processor/Morpheo/Behavioural/Generic/Counter/src/Counter.cpp

    r42 r53  
    4848
    4949#ifdef SYSTEMC
     50
     51#if defined(STATISTICS) or defined(VHDL_TESTBENCH)
    5052    SC_METHOD (transition);
    5153    dont_initialize ();
    5254    sensitive_pos << *(in_CLOCK);
     55#endif
    5356
    5457    SC_METHOD (genMealy);
  • trunk/IPs/systemC/processor/Morpheo/Behavioural/Generic/Group/Makefile.deps

    r48 r53  
    88# DIR_MORPHEO must be defined
    99
     10Group                   = yes
     11
    1012ifndef Behavioural
    1113include                         $(DIR_MORPHEO)/Behavioural/Makefile.deps
    1214endif
    13 
    14 Group                   = yes
    1515
    1616#-----[ Library ]------------------------------------------
  • trunk/IPs/systemC/processor/Morpheo/Behavioural/Generic/RegisterFile/RegisterFile_Monolithic/Makefile.deps

    r48 r53  
    88# DIR_MORPHEO must be defined
    99
     10RegisterFile_Monolithic                 = yes
     11
    1012ifndef Behavioural
    1113include                         $(DIR_MORPHEO)/Behavioural/Makefile.deps
     
    1517endif
    1618
    17 RegisterFile_Monolithic                 = yes
    1819#-----[ Library ]------------------------------------------
    1920RegisterFile_Monolithic_LIBRARY         =       -lRegisterFile_Monolithic               \
  • trunk/IPs/systemC/processor/Morpheo/Behavioural/Generic/RegisterFile/RegisterFile_Monolithic/include/Parameters.h

    r44 r53  
    2525  public : const uint32_t _nb_word      ;
    2626  public : const uint32_t _size_word    ;
     27  public : const uint32_t _size_address ;
    2728
    2829  public : Parameters (uint32_t nb_port_read ,
  • trunk/IPs/systemC/processor/Morpheo/Behavioural/Generic/RegisterFile/RegisterFile_Monolithic/include/Types.h

    r44 r53  
    1919  typedef uint32_t Taddress_t;
    2020  typedef uint32_t Tdata_t;
    21 
     21 
    2222}; // end namespace registerfile_monolithic
    2323}; // end namespace registerfile
  • trunk/IPs/systemC/processor/Morpheo/Behavioural/Generic/RegisterFile/RegisterFile_Monolithic/src/Parameters.cpp

    r15 r53  
    2222    _nb_port_write     (nb_port_write),
    2323    _nb_word           (nb_word      ),
    24     _size_word         (size_word    )
     24    _size_word         (size_word    ),
     25    _size_address      (static_cast<uint32_t>(log2(_nb_word)))
    2526  {
    2627    test();
     
    3132    _nb_port_write     (param._nb_port_write),
    3233    _nb_word           (param._nb_word      ),
    33     _size_word         (param._size_word    )
     34    _size_word         (param._size_word    ),
     35    _size_address      (param._size_address )
    3436  {
    3537    test();
  • trunk/IPs/systemC/processor/Morpheo/Behavioural/Generic/RegisterFile/RegisterFile_Monolithic/src/RegisterFile_Monolithic_allocation.cpp

    r42 r53  
    6060         in_READ_VAL     [i]  = interface->set_signal_valack_in        ("val"    , VAL);
    6161        out_READ_ACK     [i]  = interface->set_signal_valack_out       ("ack"    , ACK);
    62          in_READ_ADDRESS [i]  = interface->set_signal_in  <Taddress_t> ("address", static_cast<uint32_t>(log2(_param._nb_word)));
     62         in_READ_ADDRESS [i]  = interface->set_signal_in  <Taddress_t> ("address", _param._size_address);
    6363        out_READ_DATA    [i]  = interface->set_signal_out <Tdata_t   > ("data"   , _param._size_word);
    6464      }
     
    8383         in_WRITE_VAL     [i]  = interface->set_signal_valack_in        ("val"    , VAL);
    8484        out_WRITE_ACK     [i]  = interface->set_signal_valack_out       ("ack"    , ACK);
    85          in_WRITE_ADDRESS [i]  = interface->set_signal_in  <Taddress_t> ("address", static_cast<uint32_t>(log2(_param._nb_word)));
     85         in_WRITE_ADDRESS [i]  = interface->set_signal_in  <Taddress_t> ("address", _param._size_address);
    8686         in_WRITE_DATA    [i]  = interface->set_signal_in  <Tdata_t   > ("data"   , _param._size_word);
    8787      }
  • trunk/IPs/systemC/processor/Morpheo/Behavioural/Generic/RegisterFile/RegisterFile_Monolithic/src/RegisterFile_Monolithic_genMealy_read.cpp

    r15 r53  
    1717  void RegisterFile_Monolithic::genMealy_read (void)
    1818  {
    19     log_printf(FUNC,Register_File,"genMealy_read","Begin");
     19    log_printf(FUNC,RegisterFile,"genMealy_read","Begin");
    2020
    2121#ifdef STATISTICS
     
    3131            Tdata_t    data    = REGISTER_READ(reg_DATA[address]);
    3232
    33             log_printf(TRACE,Register_File,"genMealy_read","[%d] -> %.8x",static_cast<uint32_t>(address),static_cast<uint32_t>(data));
     33            log_printf(TRACE,RegisterFile,"genMealy_read","[%d] -> %.8x",static_cast<uint32_t>(address),static_cast<uint32_t>(data));
    3434
    3535#ifdef STATISTICS
     
    4141        else
    4242          {
    43             //log_printf(TRACE,Register_File,"genMealy_read","Read  [%d] : No   transaction",i);
     43            //log_printf(TRACE,RegisterFile,"genMealy_read","Read  [%d] : No   transaction",i);
    4444            PORT_WRITE(out_READ_DATA[i],0);
    4545          }
    4646      }
    47     log_printf(FUNC,Register_File,"genMealy_read","End");
     47    log_printf(FUNC,RegisterFile,"genMealy_read","End");
    4848       
    4949  };
  • trunk/IPs/systemC/processor/Morpheo/Behavioural/Generic/RegisterFile/RegisterFile_Monolithic/src/RegisterFile_Monolithic_transition.cpp

    r41 r53  
    1616  void RegisterFile_Monolithic::transition (void)
    1717  {
    18     log_printf(FUNC,Register_File,"transition","Begin");
     18    log_printf(FUNC,RegisterFile,"transition","Begin");
    1919#ifdef STATISTICS
    2020    _stat_nb_write = 0;
     
    3333            Tdata_t    data    = PORT_READ(in_WRITE_DATA   [i]);
    3434           
    35             log_printf(TRACE,Register_File,"transition","[%d] <- %.8x",static_cast<uint32_t>(address),static_cast<uint32_t>(data));
     35            log_printf(TRACE,RegisterFile,"transition","[%d] <- %.8x",static_cast<uint32_t>(address),static_cast<uint32_t>(data));
    3636
    3737            // Write in registerFile
     
    4747    vhdl_testbench_transition ();
    4848#endif
    49     log_printf(FUNC,Register_File,"transition","End");
     49    log_printf(FUNC,RegisterFile,"transition","End");
    5050  };
    5151
  • trunk/IPs/systemC/processor/Morpheo/Behavioural/Generic/Select/Select_Priority_Fixed/Makefile.deps

    r48 r53  
    88# DIR_MORPHEO must be defined
    99
     10Select_Priority_Fixed                   = yes
     11
    1012ifndef Behavioural
    1113include                         $(DIR_MORPHEO)/Behavioural/Makefile.deps
    1214endif
    13 
    14 Select_Priority_Fixed                   = yes
    1515
    1616#-----[ Library ]------------------------------------------
  • trunk/IPs/systemC/processor/Morpheo/Behavioural/Generic/Shifter/Makefile.deps

    r48 r53  
    88# DIR_MORPHEO must be defined
    99
     10Shifter                         = yes
     11
    1012ifndef Behavioural
    1113include                         $(DIR_MORPHEO)/Behavioural/Makefile.deps
    1214endif
    13 
    14 Shifter                         = yes
    1515
    1616#-----[ Library ]------------------------------------------
  • trunk/IPs/systemC/processor/Morpheo/Behavioural/Generic/Victim/Victim_Pseudo_LRU/Makefile.deps

    r48 r53  
    88# DIR_MORPHEO must be defined
    99
     10Victim_Pseudo_LRU                       = yes
     11
    1012ifndef Behavioural
    1113include                         $(DIR_MORPHEO)/Behavioural/Makefile.deps
     
    1517endif
    1618
    17 Victim_Pseudo_LRU                       = yes
    1819#-----[ Library ]------------------------------------------
    1920Victim_Pseudo_LRU_LIBRARY               =       -lVictim_Pseudo_LRU             \
Note: See TracChangeset for help on using the changeset viewer.