Changes between Version 7 and Version 8 of Component/Vci Mwmr Controller
- Timestamp:
- Feb 25, 2008, 2:36:00 PM (17 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Component/Vci Mwmr Controller
v7 v8 28 28 29 29 As a target this component contains the following memory mapped registers: 30 * Registers 0 to `MWMR_IOREG_MAX `30 * Registers 0 to `MWMR_IOREG_MAX-1` 31 31 When read from, they reflects status registers, when written to, they reflects the control registers. 32 32 … … 38 38 NO may be any MWMR channel in the selected way. 39 39 40 * `MWMR_CONFIG_STATE_ADDR` 41 Sets the address of state field for the selected MWMR channel. 42 43 * `MWMR_CONFIG_OFFSET_ADDR` 44 Sets the address of read/write pointer field for the selected MWMR channel. 45 46 * `MWMR_CONFIG_LOCK_ADDR` 47 Sets the address of the lock protecting the selected MWMR channel. 40 * `MWMR_CONFIG_STATUS_ADDR` 41 Sets the address of the status descriptor structure for the selected MWMR channel. 48 42 49 43 * `MWMR_CONFIG_DEPTH` 50 Sets the depth of the selected MWMR channel.44 Sets the total depth of the selected MWMR channel (in bytes). 51 45 52 * `MWMR_CONFIG_WIDTH` 53 Sets the width of the selected MWMR channel. This will determine the atomic transfer block size. This must be multiple of 4 bytes. 54 55 * `MWMR_CONFIG_BASE_ADDR` 46 * `MWMR_CONFIG_BUFFER_ADDR` 56 47 Sets the address of the data buffer for the selected MWMR channel. 57 48 … … 88 79 VciMwmrController( 89 80 sc_module_name name, // instance name 90 const IntTab &index, // VCI target index91 81 const MappingTable &mt, // mapping table 82 const IntTab &srcid, // VCI initiator index 83 const IntTab &tgtid, // VCI target index 92 84 const size_t plaps, // time between two access to a given channel 93 const size_t fifo_depth, // hardware FIFOs depth 85 const size_t fifo_to_coproc_depth, // hardware FIFOs depth 86 const size_t fifo_from_coproc_depth, // hardware FIFOs depth 94 87 const size_t n_to_coproc, // number of read MWMR channels 95 88 const size_t n_from_coproc, // number of write MWMR channels