PulseRain Reindeer FRV2100 Quick Start Manual

Risc-v soft cpu

Advertisement

Quick Links

Copyright © 2020
PulseRain Technology, LLC.
858-877-3485
858-408-9550
https://www.pulserain.com
Doc# QSG
-0962-0127, Rev 0.9.2
PulseRain Reindeer (FRV2100)
RISC-V Soft CPU
Quick Start Guide
--Validated with
Lattice MachXO3D
Breakout Board
Jul, 2020
858-877-3485
|
850-408-9550
|
info@pulserain.com

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the Reindeer FRV2100 and is the answer not in the manual?

Questions and answers

Summary of Contents for PulseRain Reindeer FRV2100

  • Page 1 Copyright © 2020 PulseRain Technology, LLC. 858-877-3485 858-408-9550 https://www.pulserain.com Doc# QSG -0962-0127, Rev 0.9.2 PulseRain Reindeer (FRV2100) RISC-V Soft CPU Quick Start Guide --Validated with Lattice MachXO3D Breakout Board Jul, 2020 858-877-3485 850-408-9550 info@pulserain.com...
  • Page 2: Table Of Contents

    Table of Contents Introduction ......................1 System Overview ........................... 1 Supply of Power ..........................2 Programming Cable and USB /UART Cable ..................2 Lattice Diamond Software ......................2 GitHub Repository ....................2 Program the Breakout Board ................... 2 Prepare the Breakout Board for UART..............3 Using Arduino IDE ....................
  • Page 3: Introduction

    Figure 1-1 System Overview PulseRain Reindeer (FRV2100) is a soft CPU of Von Neumann architecture. It supports RISC-V RV32I[M] instruction set, and features a 2 x 2 pipeline. It strives to make a balance between speed and area, and offers a flexible choice for soft CPU across all FPGA platforms.
  • Page 4: Supply Of Power

    And users can also request a free license for this software from Lattice website. 2 GitHub Repository The complete code of PulseRain Reindeer (FRV2100) for MachXO3D Breakout Board can be found on GitHub https://github.com/PulseRain/Reindeer_MachXO3D To check out (clone) the repository, run the following commands under Cygwin on Windows: $ git clone https://github.com/PulseRain/Reindeer_MachXO3D.git...
  • Page 5: Prepare The Breakout Board For Uart

    Figure 3-1 Diamond Programmer The FPGA image above contains PulseRain Reindeer(FRV2100) RISC-V core, and it will light up the led in a rotating fashion. Please set DIP-SW 1 and 2 for LED pattern, and set DIP-SW 3 and 4 for LED refreshing rate.
  • Page 6 PulseRain Reindeer(FRV2100) for Lattice MachXO3D – Quick Start Guide Figure 4-1 Lattice MachXO3D Breakout Board (Rev A) 2. The EEPROM for the FT2232H needs to be reconfigured. To do that, please install the FT_PROG utility from Future Technology Devices International Ltd.
  • Page 7 PulseRain Reindeer(FRV2100) for Lattice MachXO3D – Quick Start Guide Figure 4-2 FTDI FT_PROG Utility 4. Press Ctrl+P to program the FT2232H on the Breakout Board. 5. Open Windows Device Manager, right click "Universal Serial Bus controller / USB Serial Converter B", then choose Properties, as shown below in Figure 4-3.
  • Page 8 PulseRain Reindeer(FRV2100) for Lattice MachXO3D – Quick Start Guide Figure 4-3 Device Manager 6. In the Advanced Tab, make sure “Load VCP” is selected, as shown in Figure 4-4. Figure 4-4 USB Serial Converter B Properties Page 6 of...
  • Page 9: Using Arduino Ide

    5 Using Arduino IDE 5.1 Install Arduino IDE PulseRain Reindeer(FRV2100) RISC-V MCU can be developed and programmed through Arduino IDE. On Windows 10, the Arduino IDE can be installed as an App directly from Windows App store. Otherwise, the Windows installer for Arduino IDE can be found at Arduino Website: https://www.arduino.cc/en/Main/Software...
  • Page 10: Setup Arduino Ide

    PulseRain Reindeer(FRV2100) for Lattice MachXO3D – Quick Start Guide 5.2 Setup Arduino IDE After the Arduino IDE is installed, launch it and click the menu File / Preferences, as shown in Figure 5-1: Figure 5-1 Arduino IDE, Preferences Menu 1) The File / Preferences menu will bring out a dialog like the one shown in Figure 5-2. Please set the "Additional Boards Managers URL"...
  • Page 11 PulseRain Reindeer(FRV2100) for Lattice MachXO3D – Quick Start Guide Figure 5-2 Arduino IDE, Preferences Dialogue 2) Now click the menu Tools / Boards / Boards Manager, as shown in Figure 5-3. Figure 5-3 Arduino IDE, Boards Manager Menu Page 9 of...
  • Page 12: Write Sketches

    PulseRain Reindeer(FRV2100) for Lattice MachXO3D – Quick Start Guide 3) The "Boards Manager" will bring out a dialogue like the one shown in Figure 5-4. Type in "Reindeer" in the search box to find the board support package for the MachXO3D Breakout Board. Click "Install"...
  • Page 13 Figure 5-5 Arduino IDE, Select COM port To select the board name as "MachXO3D Breakout", click the menu Tool / Board. If the previous steps were done right, you should see the name "MachXO3D Breakout” in PulseRain RISC-V (Reindeer), as illustrated in Figure 5-6.
  • Page 14 PulseRain Reindeer(FRV2100) for Lattice MachXO3D – Quick Start Guide After opening the demo Sketch in Arduino IDE, you can type in "ctrl-U" (or menu Sketch/Upload) to compile and upload the sketch to the Breakout Board. And it is also recommended to turn on the option of "Show Verbose Output"...
  • Page 15: Build The Fpga Image From Rtl Code

    PulseRain Reindeer(FRV2100) for Lattice MachXO3D – Quick Start Guide 6 Build the FPGA Image from RTL Code To build the FPGA image from RTL, launch Lattice Diamond software, and open the project under Reindeer_MachXO3D\build\lattice\MachXO3D_Breakout\MachXO3D.ldf If every goes ok, the screen should look like the one in Figure 6-1...
  • Page 16: Generate Memory Init File

    PulseRain Reindeer(FRV2100) for Lattice MachXO3D – Quick Start Guide Figure 6-2 Lattice Diamond, Rerun All After the build is complete, the newly generated bit stream file and JEDEC file can be found in Reindeer_MachXO3D\build\lattice\MachXO3D_Breakout\breakout • MachXO3D_breakout.bit • MachXO3D_breakout_a.jed 7 Generate Memory Init File There are 4 memory init files in Reindeer_MachXO3D\build\lattice\MachXO3D_Breakout\breakout •...

Table of Contents