The Serial RapidIO v5.5 and later can easily be generated and implemented to specifically target the ML505, ML605, and SP605 development boards. This allows for a simple demonstration of the core's capabilities.
First, the Serial RapidIO Core must be generated using the CORE Generator tool. To generate a Serial RapidIO example design for one of these demo boards,perform the following:
- Depending on which demo board you are targeting, generate a core with component name prefix that matches one of the following: "ml505_" or "ml605_" or "sp605_".
- Note that the prefix is case sensitive; the first two letters must be lower-case.
- For example, naming the core "sp605_srio_v5_6" results in the proper output, but "SP605_srio_v5_6" does not work.
- Select 1x mode, and set the rest of the parameters as default. The generated UCFhas the correct pinout (but not the correct comments) for the targeted demo board.
- Run "implement.bat" or "implement.sh" in the "implement" directory to get a ".bit" file.
NOTE: The ML505 has only one set of SMA connectors, therefore, it can only support the 1x core. If you try to generate a 4x core with the "ml505_*" component name, you will get a UCF generated for the ML523. If you have the ML523 board, you can try that as well, just use the switches mentioned in the Getting Started Guide (UG247), Table 5-14.
Next, you need to prepare the ML505 board:
Next, the RapidIO Example Design bitfile, created by running the "implement.bat" script, is loaded onto the ML505:
- Position the ML505 board so the Xilinx logo is in the lower left corner.
- Make sure the power switch in the upper right corner is in the OFF position.
- Connect the AC power cord to the power supply brick. Plug the power supply adapter cable into the ML50x board. Plug in the power supply to AC power.
- Connect two SMA connectors between J42, J43, J44, and J45 to loopback the RapidIO data. RXN should connect to TXN, and RXP to TXP.
- Connect a Platform USB cable to your computer, and then connect its JTAG cable to the PC4 connector on the board (next to the SFP cage, upper left).
- Turn on the ML505 board's main power switch.
To understand what the board is doing and how to apply stimulus to the design, the ML505 has various switches and LEDs. Following is what each switch and LED on the board does:
- Start iMPACT and enter Boundary Scan mode.
- Right-click and Initialize JTAG chain.
- Bypass all devices in the chain, except for the Virtex-5 FPGA.
- Assign the BIT file you created from the "implement.bat" file to the FPGA.
- Right-click the FGPA and select Program, and use the default programming options.
- The design should now be loaded up. You can check this based on the LEDs below.
Sw13 = link_reset
Sw14 = local_reset
Sw11 = load
Sw10 = go
The DIP switches are all found on SW8 on the board (located bottom-right):
Dip = NREAD
Dip = NWRITE
Dip = NWRITE_R
Dip = SWRITE
Dip[5:6] = Size of transactions to send
Dip[7:8] = Number of transaction sequences to send
The LEDs (called GPI/O) are located along the bottom edge of the board, below the LCD screen:
GPIO = error
GPIO = DCM_Lock
GPIO = PLL_Locked
GPIO = lnk_porterr_n (LED lit = no error)
GPIO = port_initailized
GPIO = ~lnk_rrdy_n (LED lit = receive ready)
GPIO = ~lnk_trdy_n (LED lit = receive ready)
GPIO = 1'b1
For the LEDs, once the design has been loaded you should see GPIO[7:1] lit, with GPIO dark. If you see otherwise, something has gone wrong with your setup.
At this point, once you have the design running successfully, there is not much to see on the board except the LED status lights. To see the actual transactions, you need either a RapidIO link analyzer that you can connect in the loopback, or you can put a ChipScope core into the design to take a look at the transactions from the User Application side of the core. ChipScope is an ideal way to become familiar with the core's interface.
The setup for the ML605 and SP605 boardsare similar to the ML505. However, there is no on-board clock, so a clock will have to be provided from another source via SMA cables. If you also have an ML505, that can be used to provide the clock via SMA. The board demonstration designs were tested using an ML605 to output a clock via SMA.
For assistance, see the Board Documentation at: