Method for controlling data transmission and DMA controller
A technology for controlling data and accessing controllers, which is applied in electrical digital data processing, instruments, etc., can solve the problems of system complexity, slow data speed, low transmission efficiency, etc., achieve simple system connection, reduce intermediate links, and fast transmission speed. Effect
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0091] Figure 6 It is a simulation diagram of data width transmission of the embodiment of the present invention: 8—>8bits. Configuration information: source start address Dmac_src_addr=32'h1000, destination start address Dmac_dst_addr=32'h2000, transmission length Dmac_len="3" (indicating 4 times of transmission), transmission width conversion parameter Dmac_width="0" (indicating from source —>The destination width is 8—>8bits), when Dmac_en="1" is enabled, DMA starts to work.
[0092] The source address (Src_addr) starts from "1000", and when the read signal (Src_rd) and the read acknowledgment signal (rd_dack) are both "1", the data (Src_rd_data) "12" is read out. After the read operation, the destination address (Dst_addr) starts from "2000", and when the write read signal (Dst_wr) and the write correct response signal (wr_dack) are both "1", write data (Dst_wr_data) "12", and Src_addr, Dst_addr Increase, so far complete a read and write.
[0093] This read and write o...
Embodiment 2
[0096] Figure 7 It is a simulation diagram of data width transmission of the embodiment of the present invention: 16—>16 bits. Configuration information: Dmac_src_addr=32'h1000, Dmac_dst_addr=32'h2000, Dmac_len="3" (transfer 4 bytes), Dmac_width="5" (indicates that the width from source -> destination is 16 -> 16 bits), when enabled When Dmac_en="1", DMA starts to work.
[0097] Src_addr starts from "1000", and when both Src_rd and rd_dack are "1", Src_rd_data is "3412". After the read operation, Dst_addr starts from "2000", and when both Dst_wr and wr_dack are "1", the write data Dst_wr_data is "3412", and Src_addr and Dst_addr increase. At this point, a read and write is completed.
[0098] This read and write operations are performed twice, and 4 bytes are transferred. After the data transmission is completed, the end flag signal Dmac_end is set to "1", the enable signal Dmac_en is set to "0", and the DMA module is finished.
Embodiment 3
[0100] Figure 8 It is a simulation diagram of data width transmission of the embodiment of the present invention: 32—>32bits. Configuration information: Dmac_src_addr=32'h1000, Dmac_dst_addr=32'h2000, Dmac_len="3" (transfer 4 bytes), Dmac_width="a" (indicates that the width from source -> destination is 32 -> 32 bits), when enabled When Dmac_en="1", DMA starts to work.
[0101] Src_addr starts from "1000", and when both Src_rd and rd_dack are "1", Src_rd_data is "7856_3412". After the read operation, Dst_addr starts from "2000", and when both Dst_wr and wr_dack are "1", the write data Dst_wr_data is "7856_3412", and Src_addr and Dst_addr increase. At this point, a read and write is completed.
[0102] This read and write operation is 1 time, and 4 bytes are transferred. After the data transmission is completed, the end flag signal Dmac_end is set to "1", the enable signal Dmac_en is set to "0", and the DMA module is finished.
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com