Changeset 55 for trunk/IPs/systemC/processor/Morpheo/Behavioural/include
- Timestamp:
- Sep 24, 2007, 2:00:35 PM (17 years ago)
- Location:
- trunk/IPs/systemC/processor/Morpheo/Behavioural/include
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/IPs/systemC/processor/Morpheo/Behavioural/include/Debug_component.h
r53 r55 20 20 #define DEBUG_Read_unit false 21 21 #define DEBUG_Read_queue false 22 #define DEBUG_Reservation_station true 22 23 #define DEBUG_Multi_Front_end false 23 24 #define DEBUG_Front_end false -
trunk/IPs/systemC/processor/Morpheo/Behavioural/include/Interface_fifo.h
r42 r55 15 15 16 16 typedef enum {VAL, ACK} val_ack_t; 17 }; // end namespace behavioural 18 19 template<> inline std::string toString<morpheo::behavioural::val_ack_t>(const morpheo::behavioural::val_ack_t& x) 20 { 21 switch (x) 22 { 23 case morpheo::behavioural::VAL : return "val"; break; 24 case morpheo::behavioural::ACK : return "ack"; break; 25 default : return "" ; break; 26 } 27 } 28 29 namespace behavioural { 17 30 18 31 class Interface_fifo : public Interface … … 46 59 47 60 #ifdef SYSTEMC 61 public : sc_in <bool> * set_signal_valack_in (val_ack_t val_ack , 62 presence_port_t presence_port=PORT_VHDL_YES_TESTBENCH_YES) 63 { 64 return set_signal_valack_in (toString(val_ack) ,val_ack, presence_port); 65 } 66 48 67 public : sc_in <bool> * set_signal_valack_in (string name , 49 68 val_ack_t val_ack , … … 59 78 return port; 60 79 }; 80 81 public : sc_out<bool> * set_signal_valack_out(val_ack_t val_ack , 82 presence_port_t presence_port=PORT_VHDL_YES_TESTBENCH_YES) 83 { 84 return set_signal_valack_out(toString(val_ack) ,val_ack, presence_port); 85 } 61 86 62 87 public : sc_out<bool> * set_signal_valack_out(string name ,
Note: See TracChangeset
for help on using the changeset viewer.