Ignore:
Timestamp:
Jan 19, 2008, 12:09:01 PM (16 years ago)
Author:
rosiere
Message:

Modification of Statisctics
Add a new systemC component : Load_Store_Queue (tested with one benchmark and one configuration). Store don't supported the Data Buss Error (Load is supported)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/IPs/systemC/processor/Morpheo/Behavioural/src/Vhdl_std_logic.cpp

    r67 r71  
    1616#undef  FUNCTION
    1717#define FUNCTION "Vhdl::std_logic"
    18   string std_logic (uint32_t size)
     18  std::string std_logic (uint32_t size)
    1919  {
    2020    log_printf(FUNC,Behavioural,FUNCTION,"Begin");
    2121
    22     string type;
     22    std::string type;
    2323
    2424    if (size == 1)
     
    3434#undef  FUNCTION
    3535#define FUNCTION "Vhdl::std_logic_conv"
    36   string std_logic_conv (uint32_t size, string value)
     36  std::string std_logic_conv (uint32_t size, std::string value)
    3737  {
    3838    log_printf(FUNC,Behavioural,FUNCTION,"Begin");
    3939
    40     string conv;
     40    std::string conv;
    4141
    4242    if (size == 1)
     
    5050  };
    5151
    52   string std_logic_conv (uint32_t size, uint32_t value)
     52  std::string std_logic_conv (uint32_t size, uint32_t value)
    5353  {
    5454    log_printf(FUNC,Behavioural,FUNCTION,"Begin");
    55     cout << toString(value) << endl;
    56     string _return = std_logic_conv(size,toString(value));
     55    std::string _return = std_logic_conv(size,toString(value));
    5756    log_printf(FUNC,Behavioural,FUNCTION,"End");
    5857
     
    6261#undef  FUNCTION
    6362#define FUNCTION "Vhdl::std_logic_range"
    64   string std_logic_range (uint32_t size, uint32_t max, uint32_t min)
     63  std::string std_logic_range (uint32_t size, uint32_t max, uint32_t min)
    6564  {
    6665    log_printf(FUNC,Behavioural,FUNCTION,"Begin");
    67     string type;
     66    std::string type;
    6867
    6968    if (size < 2)
     
    8079  };
    8180
    82   string std_logic_range (uint32_t max, uint32_t min)
     81  std::string std_logic_range (uint32_t max, uint32_t min)
    8382  {
    8483    log_printf(FUNC,Behavioural,FUNCTION,"Begin");
    85     string type;
     84    std::string type;
    8685
    8786    if (max == 0)
     
    9897  };
    9998
    100   string std_logic_range (uint32_t size)
     99  std::string std_logic_range (uint32_t size)
    101100  {
    102101    log_printf(FUNC,Behavioural,FUNCTION,"Begin");
    103     string _return = std_logic_range(size-1,0);
     102    std::string _return = std_logic_range(size-1,0);
    104103    log_printf(FUNC,Behavioural,FUNCTION,"End");
    105104
     
    109108#undef  FUNCTION
    110109#define FUNCTION "Vhdl::std_logic_others"
    111   string std_logic_others (uint32_t size, uint32_t cst  )
     110  std::string std_logic_others (uint32_t size, uint32_t cst  )
    112111  {
    113112    log_printf(FUNC,Behavioural,FUNCTION,"Begin");
    114113
    115     string _return;
     114    std::string _return;
    116115
    117116    if (size < 2)
Note: See TracChangeset for help on using the changeset viewer.