Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/mcejp/poly94

Yet another faux-retro game system
https://github.com/mcejp/poly94

cocotb fpga prjtrellis ulx3s vexriscv yosys

Last synced: about 1 month ago
JSON representation

Yet another faux-retro game system

Awesome Lists containing this project

README

        

# Poly94 computing platform

![snapshot](_img/snapshot.jpg)

![architecture](_img/poly94_architecture.png)

![Fmax badge](https://img.shields.io/endpoint?url=https%3A%2F%2Fmcejp.gitlab.io%2FPoly94%2Ffmax.json)
![Benchmark badge](https://img.shields.io/endpoint?url=https%3A%2F%2Fmcejp.gitlab.io%2FPoly94%2Fdmips.json)

## Connecting ULX3S

You need to connect to USB1 (US1) connector to the host computer in order to program the board.

## Development environment

Highly recommended to use the YosysHQ [OSS CAD Suite](https://github.com/YosysHQ/oss-cad-suite-build). It includes all of the necessary tools (and many more):
- Yosys
- nextpnr-ecp5
- Verilator
- Icarus Verilog
- Python & cocotb

## Build and program bitstream

```
make ulx3s.bit # (optional)
make prog
```

## Testing

```
# Verilator (currently not working with SDRAM model)
make sim

# Verilator with options
BOOTROM=firmware/build/test_framebuffer.bin DUMP_FRAMEBUF=framebuffer.ppm NUM_CYCLES=4000000 make sim

# cocotb
make -f Makefile.coco
```