- Timestamp:
- Dec 10, 2008, 7:31:39 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/IPs/systemC/processor/Morpheo/Behavioural/include/Interface.h
r82 r88 34 34 { 35 35 // -----[ fields ]---------------------------------------------------- 36 protected : const std::string 36 protected : const std::string _name ; 37 37 #ifdef POSITION 38 38 protected : const direction_t _direction ; … … 42 42 43 43 #ifdef POSITION 44 protected : std::string 45 #endif 46 47 protected : std::list<Signal *> 44 protected : std::string _comment ; 45 #endif 46 47 protected : std::list<Signal *> * _list_signal ; 48 48 49 49 #ifdef POSITION … … 69 69 public : ~Interface (); 70 70 71 public : std::string 71 public : std::string get_name (); 72 72 73 73 #ifdef POSITION 74 74 public : void set_comment (std::string comment); 75 protected : std::string get_comment (void);76 #endif 77 78 protected : std::string signal_name (std::stringname_interface,79 std::string 75 protected : std::string get_comment (void); 76 #endif 77 78 protected : std::string signal_name (std::string name_interface, 79 std::string name_signal , 80 80 direction_t direction ); 81 81 … … 83 83 public : bool find_signal (Signal * signal); 84 84 85 protected : std::string 86 public : Signal * set_signal (std::string 85 protected : std::string get_signal (void); 86 public : Signal * set_signal (std::string name , 87 87 direction_t direction, 88 88 uint32_t size , 89 89 presence_port_t presence_port = PORT_VHDL_YES_TESTBENCH_YES); 90 public : std::list<Signal *> 90 public : std::list<Signal *> * get_signal_list (void); 91 91 92 92 #ifdef SYSTEMC 93 public : sc_in_clk * set_signal_clk (std::string 93 public : sc_in_clk * set_signal_clk (std::string name , 94 94 uint32_t size , 95 95 presence_port_t presence_port=CLOCK_VHDL_YES) … … 120 120 121 121 public : template <typename T> 122 sc_in <T> * set_signal_in (std::string 122 sc_in <T> * set_signal_in (std::string name , 123 123 uint32_t size , 124 124 presence_port_t presence_port=PORT_VHDL_YES_TESTBENCH_YES) … … 149 149 150 150 public : template <typename T> 151 sc_out <T> * set_signal_out (std::string 151 sc_out <T> * set_signal_out (std::string name , 152 152 uint32_t size , 153 153 presence_port_t presence_port=PORT_VHDL_YES_TESTBENCH_YES) … … 218 218 public : void testbench_cycle (void); 219 219 public : void testbench_body (Vhdl * & vhdl , 220 std::string 221 std::string 220 std::string counter_name , 221 std::string reset_name ); 222 222 public : std::string testbench_test (Vhdl * & vhdl , 223 std::string 224 std::string 225 public : std::string testbench_test_ok (Vhdl * & vhdl);226 protected : std::string testbench_test_name (Vhdl* & vhdl);227 protected : std::string testbench_test_ok_name (Vhdl* & vhdl);228 protected : std::string testbench_test_transaction_name (Vhdl* & vhdl);223 std::string counter_name, 224 std::string reset_name); 225 public : std::string testbench_test_ok (Vhdl * & vhdl); 226 protected : std::string testbench_test_name (Vhdl * & vhdl); 227 protected : std::string testbench_test_ok_name (Vhdl * & vhdl); 228 protected : std::string testbench_test_transaction_name (Vhdl * & vhdl); 229 229 #endif 230 230 231 231 public : bool test_map (uint32_t depth, bool top_level, bool is_behavioural); 232 // 232 //public : bool test_equi (uint32_t depth); 233 233 234 234 #ifdef POSITION … … 238 238 public : XML toXML_mapping (void); 239 239 #endif 240 public : friend std::ostream& 241 240 public : friend std::ostream& operator<< (std::ostream& output_stream, 241 morpheo::behavioural::Interface & x); 242 242 243 243 };
Note: See TracChangeset
for help on using the changeset viewer.