1 / 23

SiTCP for SK 1 st version

SiTCP for SK 1 st version. Jul 13, 2006 Tomohisa Uchida, KEK. Overview. Prepared The Net-list file An reference design An reference program to control bus via UDP All files in 060713SK.zip. The reference design. Implemented on Spartan 3E Starter Kit Produced by XILINX. Functions

arroyo
Download Presentation

SiTCP for SK 1 st version

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. SiTCP for SK1st version Jul 13, 2006 Tomohisa Uchida, KEK

  2. Overview • Prepared • The Net-list file • An reference design • An reference program to control bus via UDP • All files in 060713SK.zip

  3. The reference design. • Implemented on Spartan 3E Starter Kit • Produced by XILINX. • Functions • TCP • A test data generator and checker • Echo back server • Can be selected by a slide-SW on the board (SW3) • UDP • Simple register file access • I have verified it on my board !

  4. Spartan 3E Starter Kit TCP Echo back Test data generation Reset SW

  5. Structure of “060713SK” folder • SiTCP_S3E_StarterKit • The reference design files. • SiTCP_FOR_SK • The net-list files and related files. • BCP • The reference program to control bus of SiTCP via UDP.

  6. “SiTCP_S3E_StarterKit” directory • Includes the reference design files. • ” Coregen” directory • Library files that are used in the design. • Generated by CORE-GENERATOR • “ISE” directory • Working directory of ISE. • I compiled with the version 8.1.03i of ISE. • “Src” directory • Source code files of the design.

  7. “SiTCP_FOR_SK” directory • Includes net-list files used to implement SiTCP. • SiTCP_FOR_SK.ngc • Net-list file of SiTCP • Asyncfifo8bx2kw* • Asynchronous FIFO • Used in the SiTCP • Copy the above files to working directory of ISE. • See the reference design. • “SiTCP_S3E_StarterKit” directory.

  8. “Src” directory • Consists of • S3E_SK_SITCP_FOR_SK.V • The top module • SiTCP_FOR_SK.V • Top module of SiTCP • TCP_TEST.V • An simple application of TCP. • Test data generator and checker. • LOC_REG.v • An simple application of UDP. • Register files.

  9. “BCP” directory • Consists of • bcp_dbg.c • The reference program. • bcp.h • Header file of ” bcp_dbg.c”.

  10. TCP: Normal sequence From a SYN packet is received to a FIN packet received. Received SYN, ACK Establish Received FIN Closed Transfer phase Closing phase The signals of TCP_TEST.V

  11. Transfer phase • TCP_ESTABLISH keeps in high level. • Should write data to send in this phase. • If TCP_ESTABLISH goes to low level, • The connection is disconnected (Normal). • A network error occurred (Error). • I recommends TCP_ESTABLISH is used to initialize front-end circuits.

  12. TCP Transmit Timing The signals of TCP_TEST.V

  13. Transmit Stop Timing Max. 8 clocks The signals of TCP_TEST.V

  14. TCP Receive Timing The signals of TCP_TEST.V Max. 8 clocks

  15. Closing Timing

  16. Closing phase • Started by TCP_CLS_REQ • Asserted by receiving a FIN packet. • When TCP_CLS_REQ is asserted, • Stop to transmit data as soon as possible. • After that, response with TCP_CLS_ACK in high level. • When the connection is closed, • TCP_ESTABLISH goes low.

  17. UDP • Use an original protocol (BCP) to access bus of SiTCP. • BCP is encapsulated in UDP packet. • I prepare a reference program. • I wrote this for debugging. • Pease, customize it.

  18. BCP header

  19. BCP header

  20. Reference program IP address of SiTCP = 192.168.0.16 UDP port of SiTCP = 4660 (0x1234) In this example, - Read 4 bytes data from SiTCP, - Addresses are from 0x00 to 0x03.

  21. Write timing

  22. Read timing

  23. If you have questions, Please ask me or Hayato-san. SiTCP is under developing. If you find bugs or problems, please report it to me. Thank you. Tomohisa Uchida, KEK (uchida@post.kek.jp)

More Related