Skip to content

sw-embed/web-sw-cor24-demos

Repository files navigation

Software Wrighter Lab -- COR24 Tools & Demos

24-bit RISC for FPGA embedded systems -- documentation, live browser demos, and ecosystem hub.

Live demo: sw-embed.github.io/web-sw-cor24-demos

Overview

This is the landing page and documentation hub for the entire COR24 ecosystem, developed by Software Wrighter Lab. COR24 is a 24-bit RISC soft CPU designed by MakerLisp for FPGA-based embedded systems, running at 101 MHz on Lattice MachXO2 FPGAs.

The site provides:

  • Directory of all live web demos with links and descriptions
  • Comprehensive COR24 ISA documentation -- registers, instruction set, encoding formats
  • Hardware reference with links to MakerLisp.com specifications and dev board docs
  • Documentation for every tool in the sw-embed ecosystem (cross-compilers, assemblers, interpreters, VM, monitor)

Built with Rust, Yew 0.21, and WebAssembly via Trunk. Deployed to GitHub Pages.

Screenshots

Home

The home page shows the COR24 software stack with categorized demo cards and an architecture overview.

Home page

ISA Reference

Complete instruction set reference with register tables, encoding format cards, and per-category instruction listings.

ISA page

Hardware

COR24 hardware specifications and links to MakerLisp.com for the soft CPU, dev board, and technical resources.

Hardware page

Mobile

Responsive layout for mobile devices.

Mobile view

Pages & Navigation

Tab Description
Home Hero section, categorized demo grid (7 categories, 13 demos), architecture overview
ISA Full ISA reference: 8 registers, 34 instructions across 11 categories, encoding formats
Demos Directory of all live browser demos (coming soon)
Toolchain Cross-compilers, assemblers, and tool documentation (coming soon)
Ecosystem Ecosystem map and inter-project relationships (coming soon)
Hardware COR24 specs, MakerLisp.com links (soft CPU, dev board, technical info, news, contact)

COR24 Architecture

Feature Specification
Word size 24 bits (3 bytes)
Address space 16 MB (24-bit addresses)
Registers 8 x 24-bit (3 GP, 5 special)
Instruction sizes 1, 2, or 4 bytes (variable-length encoding)
Clock speed 101 MHz
FPGA Lattice MachXO2 (LFE5U-25F)
SRAM 1 MB on-board
EBR 3 KB embedded block RAM (stack)
I/O UART, GPIO (SPI/I2C), button, LED

Ecosystem

All COR24 repos live under sw-embed on GitHub. This landing page documents all of them.

Foundation

Cross-compilers

P-code System

Languages

System Software

Live Web Demos

Tech Stack

  • Rust (edition 2024) with Yew 0.21 for the UI
  • WebAssembly via Trunk for browser deployment
  • wasm-bindgen + web-sys for browser APIs
  • Catppuccin Mocha dark theme
  • Playwright for automated UI smoke testing
  • GitHub Actions for CI/CD to GitHub Pages

Development

./scripts/serve.sh             # Dev server with hot reload (port 1300)
./scripts/build.sh             # Release build to dist/
./scripts/build-pages.sh       # Release build to pages/ for GitHub Pages
./scripts/ui-test.sh           # Playwright smoke tests against dist/
cargo clippy --all-targets --all-features -- -D warnings
cargo fmt --all
cargo test
cargo check --target wasm32-unknown-unknown

Copyright & License

(c) 2026 Michael A Wright. Released under the MIT License.

COR24 architecture and hardware by MakerLisp.

About

Demo landing page for COR24 ISA "live" web demos

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages