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.

Changes between Version 19 and Version 20 of crkit/Software/Firmware/Framework/R3_arch


Ignore:
Timestamp:
Jun 16, 2010, 7:26:24 PM (12 years ago)
Author:
khanhle
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • crkit/Software/Firmware/Framework/R3_arch

    v19 v20  
    4949=== Global Memory Map ===
    5050
    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.
     51R3 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.
    5252
    5353__Table 1 - R3 Global Memory Map__
     
    7474
    7575=== Packet Formatting ===
    76 The CRKit packet format is as shown in figure 3.
     76The CRKit packet format is as shown in figure 3. Host must conform to this specification to enable board level communication.
    7777
    7878__Figure 3 - Packet Format__
     
    8787 * [wiki:Software/Firmware/Framework/R3_arch/tcp TCP]
    8888 
    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.
     89UDP is used for Host <-> CRKit communication e.g. RMAP read/write, status and data transmission.
    9390
    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]] 
     91At 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
     92be 46-1500 bytes e.g. size of ethernet payload. Hence, max. UDP payload is 1500 - 20 (IP header) - 8 (UDP header) = 1472 bytes.   
     93
     94Furthermore, additional header information is added into the payload region for user specific control information. 
     95
     96[[BR]][[BR]] 
    9697   
    9798=== Control Flow ===