- Timestamp:
- Jan 19, 2008, 12:09:01 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/IPs/systemC/processor/Morpheo/Behavioural/include/Interfaces.h
r62 r71 20 20 #include "Behavioural/include/Usage.h" 21 21 22 using namespace std;23 22 24 23 namespace morpheo { … … 28 27 { 29 28 // -----[ fields ]---------------------------------------------------- 30 private : const st ring _name;29 private : const std::string _name; 31 30 private : const Tusage_t _usage; 32 31 private : list<Interface_fifo*> * _list_interface; 33 32 34 33 // -----[ methods ]--------------------------------------------------- 35 public : Interfaces (st ring name,34 public : Interfaces (std::string name, 36 35 Tusage_t usage=USE_ALL); 37 36 public : Interfaces (const Interfaces & interfaces); 38 37 public : ~Interfaces (); 39 38 40 public : Interface_fifo * set_interface (st ring name39 public : Interface_fifo * set_interface (std::string name 41 40 #ifdef POSITION 42 41 ,direction_t direction … … 45 44 ); 46 45 #ifdef POSITION 47 public : Interface_fifo * set_interface (st ring name ,46 public : Interface_fifo * set_interface (std::string name , 48 47 direction_t direction , 49 48 localisation_t localisation, 50 st ring comment );49 std::string comment ); 51 50 #endif 52 private : st ring get_interface (void);51 private : std::string get_interface (void); 53 52 public :list<Interface_fifo*>* get_interface_list (void); 54 53 … … 56 55 public : void set_port (Vhdl * & vhdl ); 57 56 # ifdef VHDL_TESTBENCH 58 private : void get_signal (list<st ring> * & list_signal );57 private : void get_signal (list<std::string> * & list_signal ); 59 58 private : void set_signal (Vhdl * & vhdl ); 60 59 # endif … … 67 66 private : void testbench_generate_file (void); 68 67 public : void testbench (void); 69 private : st ring testbench_body (Vhdl * & vhdl ,70 st ring counter_name ,71 st ring reset_name );68 private : std::string testbench_body (Vhdl * & vhdl , 69 std::string counter_name , 70 std::string reset_name ); 72 71 #endif 73 72 74 public : Interface_fifo * find_interface (st ring name);75 public : Signal * find_signal (st ring name);73 public : Interface_fifo * find_interface (std::string name); 74 public : Signal * find_signal (std::string name); 76 75 public : bool find_signal (Signal * signal); 77 76
Note: See TracChangeset
for help on using the changeset viewer.