________________________________________________________________________
  Example USB 2.0 Device Controller Design Read Me
-------------------------------------------------------------------------
Object device:GW2AR-LV18QN88PC7/I6
---------------------------------------------------------------------------
File List:
---------------------------------------------------------------------------
.
|-- doc
|   `-- Readme.txt                              -->  Read Me file (this file)
|-- tb 
|   `-- tb.v                                    -->  TestBench for example design
|   `-- prim_sim.v                              -->  Gowin Simulation lib
|   `-- prim_sim_h.v                            -->  Gowin Simulation lib
|   |-- usb_host
|   |   `--usbh_crc5.v                          -->  File for USB Simulation
|   |   `--usbh_crc16.v                         -->  File for USB Simulation
|   |   `--usbh_fifo.v                          -->  File for USB Simulation
|   |   `--usbh_host.v                          -->  File for USB Simulation
|   |   `--usbh_host_defs.v                     -->  File for USB Simulation
|   |   `--usbh_sie.v                           -->  File for USB Simulation
|   |   `--usb_define.v                         -->  File for USB Simulation
|-- project
|   `-- usb_refdesign.gprj                      -->  GowinYunYuan Project File for Example Design
|   `-- usb_refdesign.gprj.user                 -->  GowinYunYuan Project File for Example Design
|   |-- impl
|   |   `-- project_process_config.json
|   |   |-- synthesize
|   |   |-- temp
|   |-- src
|       `-- Top.v                               -->  File for GowinYunYuan Project
|       `-- usb_descriptor.v                    -->  File for GowinYunYuan Project
|       `-- usb_ref.cst                         -->  File for GowinYunYuan Project
|       `-- usb_ref.sdc                         -->  File for GowinYunYuan Project
|       |-- gowin_rpll
|       |   `-- gowin_rpll.v                    -->  File for GowinYunYuan Project
|       |   `-- gowin_rpll.mod                  -->  File for GowinYunYuan Project
|       |   `-- gowin_rpll.ipc                  -->  File for GowinYunYuan Project
|       |   `-- gowin_rpll_tmp.v                -->  File for GowinYunYuan Project
|       |   |-- temp
|       |-- fixed_point_divider
|       |   `-- fixed_point_divider.v           -->  File for GowinYunYuan Project
|       |   `-- fixed_point_divider.mod         -->  File for GowinYunYuan Project
|       |   `-- fixed_point_divider.ipc         -->  File for GowinYunYuan Project
|       |   `-- fixed_point_divider_tmp.v       -->  File for GowinYunYuan Project
|       |   |-- temp
|       |-- uart
|       |   `-- uart.v                          -->  File for GowinYunYuan Project
|       |   `-- uart_rx.vhd                     -->  File for GowinYunYuan Project
|       |   `-- uart_tx.vhd                     -->  File for GowinYunYuan Project
|       |   `-- usb_uart_config.v               -->  File for GowinYunYuan Project
|       |-- sync_fifo
|       |   `-- sync_rx_pkt_fifo.v              -->  File for GowinYunYuan Project
|       |   `-- sync_tx_pkt_fifo.v              -->  File for GowinYunYuan Project
|       |   `-- usb_fifo.v                      -->  File for GowinYunYuan Project
|       |-- usb2_0_softphy
|       |   `-- usb2_0_softphy.v                -->  File for GowinYunYuan Project(Encrypted)
|       |   `-- usb2_0_softphy.vo               -->  File for Simulation
|       |   `-- usb2_0_softphy.ipc              -->  File for GowinYunYuan Project
|       |   `-- usb2_0_softphy_tmp.v            -->  File for GowinYunYuan Project
|       |   |-- temp
|       |-- usb_device_controller
|       |   `-- usb_device_controller.v         -->  File for GowinYunYuan Project(Encrypted)
|       |   `-- usb_device_controller.vo        -->  File for Simulation
|       |   `-- usb_device_controller.ipc       -->  File for GowinYunYuan Project
|       |   `-- usb_device_controller_tmp.v     -->  File for GowinYunYuan Project
|       |   |-- temp
|-- simulation                                  -->  Simulation Environment

---------------------------------------------------------------------------------------------------------------
HOW TO OPEN A PROJECT IN GowinYunYuan:
---------------------------------------------------------------------------------------------------------------
1. Unzip the respective design files.
2. Launch GowinYunYuan and select "File -> Open -> Project"
3. In the Open Project dialog, enter the Project location -- "project",select the project"usb_refdesign.gprj".
4. Click Finish. Now the project is successfully loaded. 

---------------------------------------------------------------------------------------------------------------
HOW TO RUN SYNTHESIZE, PLACE AND ROUTE, IP CORE GENERATION, AND TIMING ANALYSIS IN GowinYunYuan:
---------------------------------------------------------------------------------------------------------------

1. Click the Process tab in the process panel of the GowinYunYuan dashboard. 
   Double click on Synthsize. This will bring the design through synthesis.
2. Click the Process tab in the process panel of the GowinYunYuan dashboard. 
   Double click on Place & Route. This will bring the design through mapping, place and route.
3. Once Place & Route is done, user can double click on Timing Analysis Report to get 
   the timing analysis result.
4. Click on "Project -> Configuration -> Place & Route" to configurate the Post-Place File 
   and SDF File of the design.
----------------------------------------------------------------------------------------------------------------

HOW TO RUN SIMULATION
1. User can run functional simulation by software VCS. 
2. User can check waveform by software Verdi.
----------------------------------------------------------------------------------------------------------------

HOW TO  GENERATE IP CORE
1. Click the IP Core Generator tab in the Window panel of the GowinYunYuan dashboard.
   Double click on "USB 2.0 Device Controller". This will generate the IP Core for the design.
--------------------------------------------------------------------------------------------------------------

