Skip to content
/ hv1 Public

A simple 32-bit RISC architecture designed from the ground up for swift development for both compilers and humans

Notifications You must be signed in to change notification settings

allkern/hv1

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hyrisc

Hyrisc

Hyrisc or HyRISC (pronounced "High-risk") is a simple 32-bit RISC architecture designed from the ground up for swift development for both compilers and humans

This repo contains a board-level emulator and assembler for Hyrisc

Main features

  • Expandable RISC ISA totalling 30 instructions
  • 32 registers with template ABI
  • 32 Floating Point registers
  • 4-level Link registers
  • ARM-like Condition Codes for Flow Control instructions
  • Little Endian Architecture
  • Integer and Floating Point Multiplier and Divider
  • On-chip Bus Controller (BCI)
  • On-chip PIC
  • MAC Unit
  • Multicore-capable

Bus/Memory

  • 32-bit Address and Data buses
  • BUSREQ, BUSACK and BUSIRQ signals
  • 8-bit Error bus (BE signals) with IRQs for each code
  • Indexed mode LOAD and STORE for fast array and struct access
  • X (eXecution) pin spec planned

Interrupts

  • Integrated PIC with 32-bit vector bus
  • IRQ and IRQACK signals

Emulator features

  • Board-level with individual pin manipulation
  • Simple API with easily serializable structs
  • Multiple CPU support
  • Planned support for user-defined machines (QEMU-like)
  • Cross-platform
  • PCIBus through emulated x86 IO bus support underway
  • Complete access to CPU internals

About

A simple 32-bit RISC architecture designed from the ground up for swift development for both compilers and humans

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published