close
Warning:
Can't synchronize with repository "(default)" (/common/SVN/crkit does not appear to be a Subversion repository.). Look in the Trac log for more information.
- Timestamp:
-
Jun 16, 2010, 7:26:24 PM (14 years ago)
- Author:
-
khanhle
- Comment:
-
--
Legend:
- Unmodified
- Added
- Removed
- Modified
-
v19
|
v20
|
|
49 | 49 | === Global Memory Map === |
50 | 50 | |
51 | | R3 global memory map is currently divided into 4 regions : Common control, Common Interrupt Control, Receiver and Transmitter. 65Kbytes are reserved for each region. The total number of address bits are 32-bit, but we will only use the lower 16-bits per region e.g. 65Kbytes per region. Therefore, bits31-28 are used for region address decoding between the individual regions as illustrated in figure 2. |
| 51 | R3 global memory map is currently divided into 4 regions : Common control, Common Interrupt Control, Receiver and Transmitter. 65Kbytes are reserved for each region. The total number of address bits are 32-bit, but we will only use the lower 16-bits per region e.g. 65Kbytes per region. Therefore, bit31-28 are used for region address decoding between the individual regions as illustrated in figure 2. |
52 | 52 | |
53 | 53 | __Table 1 - R3 Global Memory Map__ |
… |
… |
|
74 | 74 | |
75 | 75 | === Packet Formatting === |
76 | | The CRKit packet format is as shown in figure 3. |
| 76 | The CRKit packet format is as shown in figure 3. Host must conform to this specification to enable board level communication. |
77 | 77 | |
78 | 78 | __Figure 3 - Packet Format__ |
… |
… |
|
87 | 87 | * [wiki:Software/Firmware/Framework/R3_arch/tcp TCP] |
88 | 88 | |
89 | | #for Host -> HW, and HW -> Host directions. Some header information are appended to provide additional control information.[[BR]] |
90 | | |
91 | | #[wiki:Internal/SDR/Firmware/Framework/R3_arch/eth_from_host Host -> HW] : two types of Ethernet frames e.g. rmap and data frames.[[BR]] |
92 | | #[wiki:Internal/SDR/Firmware/Framework/R3_arch/eth_to_host HW -> Host] : two types of Ethernet frames e.g. rmap read and data. The data frames are further classified #in additional subtypes such as generic data, FFT data structures and so forth. Host may perform additional processing on the data structures. |
| 89 | UDP is used for Host <-> CRKit communication e.g. RMAP read/write, status and data transmission. |
93 | 90 | |
94 | | #Segmentation - this function is performed by the 'Tx Ethernet Interface' module. This module will automatically segment the data structure if size is greater than #1500 bytes (payload is stored in Rx Buffer). Some control information are appended to denote first, intermediate and last segment. Refer to [wiki:Internal/SDR/Firmware/Framework/R3_arch/eth_to_host HW -> Host] for further details. |
95 | | #[[BR]][[BR]] |
| 91 | At this point, fragmentation/reassembly at IP level is not yet supported. We may include this feature in the future. Note that the IP packet size must |
| 92 | be 46-1500 bytes e.g. size of ethernet payload. Hence, max. UDP payload is 1500 - 20 (IP header) - 8 (UDP header) = 1472 bytes. |
| 93 | |
| 94 | Furthermore, additional header information is added into the payload region for user specific control information. |
| 95 | |
| 96 | [[BR]][[BR]] |
96 | 97 | |
97 | 98 | === Control Flow === |