nananapo / bluecore

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

bluecore

riscv-tests

RISC-V Processor written in Veryl.

bluecore is 5-stage in-order core supporting subset of RV32I.
Veryl version is latest on master branch.

build

$ git clone https://github.com/nananapo/bluecore
$ git submodule init
$ git submodule update
$ make build

run test

  • rv32ui-p-*
$ make verilator MEMFILE=test/riscv-tests-bin/rv32ui-p-add.bin.hex CYCLE=0
...
wdata: 0000000000000001
test: Success

RV32I is selected as default. You can change ISA by change config.

package conf {
local XLEN : u32 = 32;

synthesize

synth/gowin/ directory is GOWIN FPGA Designer project.
You can synthesize bluecore on TangMega 138K Pro Dock (GW5AST).

Change SYNTHESIS_GOWIN=0 to 1 in core/src/PackageConf.veryl and run make build before open projects.

About


Languages

Language:Verilog 43.0%Language:Python 39.2%Language:Makefile 6.0%Language:SystemVerilog 5.3%Language:C++ 4.6%Language:Tcl 1.8%