Changes between Version 6 and Version 7 of Component/Vci Dma
- Timestamp:
- Feb 9, 2008, 7:04:30 PM (17 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Component/Vci Dma
v6 v7 1 1 [wiki:Component SocLib Components General Index] 2 2 3 = !VciDma Functional Description = 3 = !VciDma = 4 5 == 1) Functional Description == 4 6 5 7 This VCI component is both a target and an initiator. … … 14 16 as a default target. 15 17 16 = Memory region layout = 18 This component has 4 memory-mapped registers : 17 19 18 20 * `DMA_SRC` 19 The source of memory copy.21 The physical address of the source buffer. 20 22 21 23 * `DMA_DST` 22 The destination of memory copy24 The physical address of the destination buffer. 23 25 24 26 * `DMA_LEN` … … 27 29 28 30 * `DMA_IRQ_ENABLED` 29 * Written to: A boolean enabling the IRQ line (0 is disabling) 30 * Read from: A boolean indicating the completion of the transfer, (0 is completed) 31 32 = Component usage = 31 * Writing a non zero value enables the IRQ line (0 is disabling) 32 * Reading a zero value indicates the completion of the transfer 33 33 34 34 For extensibility issues, you should access the DMA using globally-defined offsets. … … 57 57 (add -I/path/to/soclib/include to your compilation command-line) 58 58 59 = Component definition=59 == 2) Component definition & usage == 60 60 61 Available insource:trunk/soclib/soclib/module/infrastructure_component/dma_infrastructure/vci_dma/caba/metadata/vci_dma.sd61 source:trunk/soclib/soclib/module/infrastructure_component/dma_infrastructure/vci_dma/caba/metadata/vci_dma.sd 62 62 63 == Usage == 64 65 !VciDma has no other parameter than VCI ones, it may be used like others, see [wiki:SoclibCc/VciParameters SoclibCc/VciParameters] 63 See [wiki:SoclibCc/VciParameters SoclibCc/VciParameters] 66 64 {{{ 67 65 Uses( 'vci_dma', **vci_parameters ) 68 66 }}} 69 67 70 = !VciDma CABA Implementation=68 == 3) CABA Implementation == 71 69 72 The caba implementation is in 73 * source:trunk/soclib/soclib/module/infrastructure_component/dma_infrastructure/vci_dma/caba/source/include/vci_dma.h 74 * source:trunk/soclib/soclib/module/infrastructure_component/dma_infrastructure/vci_dma/caba/source/src/vci_dma.cpp 70 === CABA sources === 71 72 * interface : source:trunk/soclib/soclib/module/infrastructure_component/dma_infrastructure/vci_dma/caba/source/include/vci_dma.h 73 * implementation : source:trunk/soclib/soclib/module/infrastructure_component/dma_infrastructure/vci_dma/caba/source/src/vci_dma.cpp 75 74 76 == Template parameters: == 77 78 * The VCI parameters 79 80 == Constructor parameters == 75 === CABA Constructor parameters === 81 76 {{{ 82 77 VciDma( … … 87 82 }}} 88 83 89 == Ports==84 === CABA Ports === 90 85 91 86 * sc_in<bool> '''p_resetn''' : Global system reset … … 94 89 * soclib::caba::!VciInitiator<vci_param> '''p_vci_initiator''' : The VCI initiator port 95 90 * sc_out<bool> '''p_irq''' : Interrupt port 91 92 == 4) TLM-T implementation == 93 94 The TLM-T implementation is not available yet. 95