Jakub Duchniewicz 2c6636d5b7 Reduce WB_N to 7 as for 8 it stopped instantiating CPU. hai 3 semanas
..
data bc60e00b90 Port 3signal code and integrate to the top module. hai 3 semanas
fw 888981826f Transition to riscv_usb as base for out project. hai 3 semanas
rtl 2c6636d5b7 Reduce WB_N to 7 as for 8 it stopped instantiating CPU. hai 3 semanas
sim f560755b26 projects/riscv_usb: Add support for the user button %!s(int64=4) %!d(string=hai) anos
Makefile c44a5464d7 Add mailbox for RTL/SW communication. hai 3 semanas
README.md fd6a09e0c2 projects/riscv_usb: Fixup the README hai 1 ano

README.md

RISC-V + USB core demo

For the icebreaker, the hardware connections are :

  • P1B4: USB DP
  • P1B3: USB DN
  • P1B2: Pull up. Resistor of 1.5 kOhm to USB DP

To run :

  • Build and flash the bitstream

    • This will build fw/boot.hex and include it as the BRAM initial data
  • Flash the main application code in SPI at offset 1M

    • make -C fw prog
  • Connect to the iCEBreaker uart console (ttyUSB1) with a 1M baudrate

    • and then at the Command> prompt, press c for 'connect'. This will start the USB detection and device should enumerate