DmitryZlobec / yrv-omdazz

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

YRV-Plus RISC-V CPU for OMDAZZ board with VGA and PS/2 keyboard

Scripts description

In Plus/boards/omdazz/ run

  01_clean.bash                   Clean project
  05_synthesize_for_fpga.bash     Synthesize project and load ro FPGA
  06_configure_fpga.bash          Load project to FPGA
  07_upload_soft_to_fpga.bash     Upload binary using UART
  

You need USB-to-Serial adapter for loading binary to the FPGA Board.

Programs Description

  01_hello_text        Simple hello world 
  01_tetris            ASCII based tetris game

After build you copy code_demo.mem32 to the Plus/design directory

You can run ./07_upload_soft_to_fpga.bash directly form source folder

Toolchain

Prebuild toolchain avialable here: https://github.com/stnolting/riscv-gcc-prebuilt

Your should use tag rv32i-4.0.0

Toolchain should be installed in: /opt/riscv

Minimal version of GCC should be 12.1.0

Tetris game

ASCII Tetris game

Related books:

"Inside An Open-Source Processor" ISBN 978-3-89576-443-1

"Modern C." Manning, 2019, 9781617295812. ffhal-02383654 Jens Gustedt.

Videos

Tetris game: https://youtube.com/shorts/ni1T5zjhiEM

Tetris game: https://youtu.be/BfXtpLc7dgg

Keyboard: https://youtube.com/shorts/ZKTfLrlLjTY

About

License:Apache License 2.0


Languages

Language:Verilog 47.9%Language:C 25.4%Language:Coq 7.9%Language:SystemVerilog 7.1%Language:Shell 5.1%Language:Assembly 2.7%Language:Makefile 1.9%Language:Tcl 0.8%Language:HTML 0.5%Language:Python 0.4%Language:Batchfile 0.2%Language:Standard ML 0.0%Language:Scheme 0.0%