Changes between Version 18 and Version 19 of Writing Rules/Caba
- Timestamp:
- Apr 26, 2007, 4:18:17 PM (18 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Writing Rules/Caba
v18 v19 113 113 The component ''XXX.h'' file contains the following informations 114 114 115 === Interface definition === 116 115 '''Interface definition''' 117 116 A typical VCI target component will contain the following ports: 118 117 {{{ … … 122 121 }}} 123 122 124 === Internal registers definition === 123 '''Internal registers definition''' 125 124 126 125 All internal registers should be defined with the ''sc_signal'' type. … … 142 141 ''`typename vci_param::trdid_t` and others are generically-defined VCI field types'' 143 142 144 === Structural parameters definition === 143 '''Structural parameters definition''' 145 144 146 145 All structural parameters must be be defined as member variables. The values are generally defined by a constructor argument. … … 187 186 (Transition, genMoore, or genMealy) is defined by the sensitivity lists, as specified in B5. 188 187 189 === transition() method === 188 '''transition() method''' 190 189 191 190 For each hardware component, there is only one `Transition()` method. It is called … … 194 193 No output port can be assigned in this method. Each register should be assigned only once. 195 194 196 === genMoore() method === 195 '''genMoore() method''' 197 196 198 197 For each hardware component, there is only one `genMoore()` method. It is called once … … 202 201 No input port can be read in this method 203 202 204 == genMealy() method == 203 '''genMealy() methods''' 205 204 206 205 For each hardware component, there is zero, one or several `genMealy()` methods (it can be useful