FPGA Setup
The following installation steps are FPGA-specific and should be run on all run farm
machines that install an FPGA. You might need sudo access to setup the FPGA.
Poweroff your machine.
Insert your Corigine MimicTurbo GT FPGA into an open x16 PCIe slot in the machine. The MimicTurbo GT’s cooling fan is taller than a standard PCIe card, so it needs three adjacent slots: plug it into the middle one and leave the slots on either side free.
Attach any additional power cables between the FPGA and the host machine. For the MimicTurbo GT, this is ATX 4-pin peripheral power (NOT PCIe power) from the system’s PSU, attached to connector J5 on the FPGA via the ATX power supply adapter cable that comes with the MimicTurbo GT. Do not plug a PC ATX power connector directly into J5; this can damage the board.
Attach the USB cable between the FPGA and the host machine for JTAG (micro-B connector J2 on the FPGA).
Boot the machine.
Obtain an existing bitstream tar file for your FPGA by opening the
bitstream_tarURL listed undercorigine_mimicturbo_gt_firesim_rocket_singlecore_4GB_no_nicin the following file:${CY_DIR}/sims/firesim-staging/sample_config_hwdb.yaml.Download/extract the
.tar.gzfile to a known location. Inside, you will find three files; the one we are currently interested in will be calledfiresim.mcs. Note the full path of thisfiresim.mcsfile for the next step.Open Vivado Lab and click “Open Hardware Manager”. Then click “Open Target” and “Auto connect”.
Right-click on your FPGA and click “Add Configuration Memory Device”. For a Corigine MimicTurbo GT, choose
mt25qu02g-spi-x1_x2_x4as the Configuration Memory Part. Click “OK” when prompted to program the configuration memory device.For Configuration file, choose the
firesim.mcsfile from step 7. Unlike Xilinx Alveo cards, the MimicTurbo GT’s flash has no factory fallback (“golden”) image, so this replaces the only image in the flash.Uncheck “Verify” and click OK.
Right-click on your FPGA and click “Boot from Configuration Memory Device”.
When programming the configuration memory device is completed, power off your machine fully (i.e., the FPGA should completely lose power).)
Cold-boot the machine. A cold boot is required for the FPGA to be successfully re-programmed from its flash.
Once the machine has booted, run the following to ensure that your FPGA is set up properly:
lspci -vvv -d 10ee:903fIf successful, this should show an entry with Xilinx as the manufacturer and two memory regions. There should be one entry for each FPGA you’ve added to the Run Farm Machine.
Note
Remember to keep the USB cable for JTAG connected at all times when running FireSim simulations (it is used to program the FPGA).

