Ignore:
Timestamp:
Apr 14, 2009, 8:39:12 PM (15 years ago)
Author:
rosiere
Message:

1) Add modelsim simulation systemC
2) Modelsim cosimulation systemC / VHDL is not finish !!!! (cf execute_queue and write_unit)
3) Add multi architecture
5) Add template for comparator, multiplier and divider
6) Change Message
Warning) Various test macro have change, many selftest can't compile

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/IPs/systemC/processor/Morpheo/Behavioural/include/Model.h

    r112 r113  
    4040  public  : model_type_t      get_type  (std::string component);
    4141  public  : debug_verbosity_t get_debug (std::string component);
     42  public  : void              print     (void);
    4243  };
    4344 
    4445}; // end namespace behavioural         
     46
     47  template<> inline std::string toString<morpheo::behavioural::model_type_t>(const morpheo::behavioural::model_type_t& x)
     48  {
     49    switch (x)
     50      {
     51      case morpheo::behavioural::MODEL_SYSTEMC : return "systemc" ; break;
     52      case morpheo::behavioural::MODEL_VHDL    : return "vhdl"    ; break;
     53      default : return ""; break;
     54      }
     55  };
    4556
    4657  template<> inline morpheo::behavioural::model_type_t fromString<morpheo::behavioural::model_type_t>(const std::string& x)
Note: See TracChangeset for help on using the changeset viewer.