Files
FPGA-Core/README.md
T
imple c7b19e8744 Seed RISC-V core roadmap and project contracts
Establish the repository as a documentation-first plan for a custom
SystemVerilog RISC-V CPU targeting the Digilent Arty A7 100T.

Add the initial README, roadmap, and contributor guidance that define the
starting RV32IM direction, Vivado/RISC-V toolchain expectations, basic
SystemVerilog conventions, and the phased path from an architecture contract
toward a Linux-capable SoC.

This commit intentionally contains planning and interface direction only; RTL,
firmware, testbenches, and Vivado project files are left for later phases.
2026-04-28 11:11:38 +02:00

50 lines
1.5 KiB
Markdown

# FPGA-Core
Custom RV32IM RISC-V CPU core built from scratch in SystemVerilog.
## Target
- Board: Digilent Arty A7 100T
- Toolchain: Vivado 2025.2.1
- Language: SystemVerilog
- ISA: RV32IM + Zicsr + Zifencei + M-mode privileged (extending toward Linux)
## Architecture
Single-cycle, non-pipelined, Harvard architecture (separate instruction/data BRAM).
Designed for incremental extension — clean stage separation via typed structs so
pipelining and new instructions can be added without structural rework.
## Memory Map
| Address Range | Peripheral |
|-----------------------|--------------------|
| 0x00000000-0x0FFFFFFF | BRAM (instr + data)|
| 0x10000000 | UART TX/RX data |
| 0x10000004 | UART status |
(Will expand as peripherals are added)
## Building
Requires:
- Vivado 2025.2.1
- RISC-V GCC toolchain (`riscv64-unknown-elf-gcc`)
- Serial terminal (minicom/picocom/PuTTY) at 115200 baud
Open `FPGA-Core.xpr` in Vivado. Synthesis and implementation target the xc7a100tcsg324-1.
## Roadmap
See `ROADMAP.md` for the full phased build plan.
## Current Phase
Phase 0 — Architecture contract (package definitions + block diagram)
## References
- [RISC-V ISA Spec Vol 1 (Unprivileged)](https://riscv.org/technical/specifications/)
- [RISC-V ISA Spec Vol 2 (Privileged)](https://riscv.org/technical/specifications/)
- [Arty A7 Reference Manual](https://digilent.com/reference/programmable-logic/arty-a7/reference-manual)