A RISC-V system-on-a-chip and an operating system, designed as one machine.
Zeitlos is a work-in-progress SOC and OS built in tandem, giving FPGA computers a responsive graphical environment for running and writing timeless applications.
No board needed — the real BIOS, kernel and apps, on an emulated Lakritz, in a page.
Every screen is 640 × 480 at one bit per pixel. The hardware renders that single bit as white, amber, green or paper — and so do these, following the switch at the top of the page. Or skip the pictures and run the machine itself ↗




The project
A whole computer, small enough to read
zeitlos — German, adj. — timeless
Most computers are a stack of things nobody has read end to end: a CPU you cannot see inside, firmware you cannot change, an OS too large to hold in your head. Zeitlos is an attempt at the opposite — a system where the gateware and the operating system live in one repository and are designed together. When the OS needs something the hardware can grow it, and when the hardware offers something the OS can use it immediately.
It runs on Machdyne FPGA computers and other FPGA development boards. Every release ships a prebuilt image per supported board: write one to flash and the board comes up in a graphical desktop with a dock, movable windows and a terminal. Nothing to build, and an sdcard is optional.
The core applications turn the system into an extensible multi-window network terminal with scripting and graphics.
Goals
What we aim for
- Timeless applications Software written against a small, stable system. The target is useful timeless applications that still build and still run decades from now.
- Hardware and software as one design The SOC and OS are designed and developed together, so each is built to what the other actually needs. The OS gets exactly the hardware it needs and the SOC remains as simple as possible.
- Complete on its own Flash a board once and it boots to a desktop. Storage and networking are optional.
- Legible from the gate up Verilog for the machine, C for the system, Scheme for scripting it — each layer small enough to follow. The documentation is being written as a book, Timeless Computing, to be shipped with the system.
- Open, and open to work on Open-source, developed in the open, and buildable with an open toolchain on ordinary hardware.
- Responsive Responds quickly and predictably to what you want to do.
Shape
Three machines, one source tree
Because the hardware is an FPGA, what gets built is a choice.
| Desktop | Everyday work, learning, programming and games: the 640×480 monochrome screen, desktop colour on the larger boards, and the 320×240 game mode in a window or full screen |
|---|---|
| Console | Games, demos and 3D: the game mode alone, in up to 256 colours with the T2 geometry engine, and a launcher in place of the windowed desktop |
| Headless | Servers, bulletin boards and controllers: no screen, with an optional remote desktop in a browser |
A profile decides which blocks go into the gateware, so a board carries only what that machine is for. The sections below describe the desktop.
Hardware
The SOC
Written in Verilog, targeting ECP5, Artix-7 and GateMate FPGAs.
| CPU | 32-bit RISC-V (PicoRV32 or Zeitlos32) at 48 MHz, rv32im with hardware multiply and divide |
|---|---|
| GPU | Line rasterizer and blitter, with an optional T2 3D geometry engine |
| MTU | Virtual addressing through a Memory Translation Unit |
| MPU | Memory protection unit with crash reporting |
| Cache | Optional instruction cache, or a unified instruction and data cache with write buffer |
| Bus | 32-bit Wishbone |
| Memory | SDRAM, DDR3, PSRAM or SRAM — 1 MB minimum, 512 MB maximum |
| Framebuffer | 640×480, 1 bit per pixel — monochrome in white, amber, green or paper |
| Colour | On the larger boards, the desktop in four colours with themes; the 320×240 game viewport in up to 256 |
| Video | VGA, DVI, DVI over HDMI, composite NTSC and PAL |
| Audio | 8 channel 16-bit hardware mixer with stereo output |
| Storage | MicroSD |
| Network | Ethernet over SPI or USB, an Ethernet MAC for RMII PHYs, or an ESP32 link |
| Crypto | Ring-oscillator TRNG, with optional SHA-256, Keccak and Montgomery multiplier blocks behind TLS and SSH |
| USB | Dual-port host controller — keyboard, mouse, gamepad, storage and serial — plus a USB serial console |
| I/O | GPIO on PMOD ports with I2C and SPI, stream engines that put zlink, SPI, UART or raw bits on any pin, hardware SPI, 16550 UART |
System
The OS
A microkernel written in C, with a Scheme interpreter for scripting.
- The kernel schedules, maps memory, passes messages and enforces protection — and little else. The filesystem, the USB stack and the network are ordinary processes, loaded like any app and restarted if they crash
- Pre-emptive multitasking, with long work done in slices so apps stay responsive
- Flat memory model, with a virtual address space for each application
- Core apps and drivers stored in flash, so a flashed board boots to a desktop with no sdcard
- Object-based interprocess messaging, streaming and ports
- One text configuration file, loaded at boot and reloadable
- FAT filesystem on MicroSD, USB sticks and a RAM disk, with long filenames
- TCP/IP networking with TLS 1.3 and SSH, servers to match, and a remote desktop in a browser
- Printing without drivers, to network printers or to PDF, from any app
- UTF-8 throughout, with 22 keyboard layouts
- Speech and system-wide captions, for blind and headless use
Memory translation
Zeitlos has no MMU. Instead there is a single virtual address space that is remapped during context switches. The kernel sits at the start of main memory and applications are loaded immediately after it — but every application executes at the same fixed address, 0x8000_0000, which mirrors wherever it actually lives.
The translation base register is set on each context switch, so an application only ever sees its own memory through one address. No need for position-independent code or relocation.
Main memory — physical
Executing at
The kernel is scheduled as task 0 alongside the applications. Only addresses in the 0x8 region are translated, so each application is mirrored to 0x8000_0000 while the kernel runs untranslated where it sits.
Software
Core applications
Written to flash alongside the kernel and started at boot. The drivers are processes too.
| kernel | Microkernel and kernel shell, on the serial console or the rescue console |
|---|---|
| wm | Window manager and dock, with ten workspaces |
| term | Terminal emulator (VT100, UTF-8) that connects to shells and services |
| console | Console service |
| repl | App service and Lisp interpreter, a subset of R4RS Scheme |
| text | Text editor |
| files | File browser |
| cron | Runs programs on a schedule |
| welcome | What a new machine shows first, once: where to start, the keys and the guide |
| fs | Filesystem: the sdcard, USB sticks, the RAM disk and the flash underlay |
|---|---|
| usb | USB host: hubs, keyboard and mouse, storage, ethernet and serial |
| net | Networking: ethernet, IP, TCP, DNS, DHCP, NTP, telnet and SSH |
Anything on an sdcard shadows the copy in flash, so a single application can be replaced during development without reflashing the rest.
The card carries the rest: a POSIX shell and a BASIC computer, a spreadsheet, a web browser, a drawing and a pixel editor, image and document viewers, offline courses, printing, network servers and a BBS, games in two and three dimensions, and a C compiler and an FPGA toolchain that run on the machine itself. The repository has the full list.
Contributing
Get involved
Zeitlos is early and moving quickly — the SOC, the kernel, the window manager and the applications are all still being shaped, and there is plenty left to do. Development happens entirely on GitHub.
Porting to a new board, filling in the drivers, writing applications, and especially testing the system is extremely helpful. If you have an unsupported FPGA board and want to run Zeitlos on it, please open an issue.
Build instructions, the current list of supported boards and the documentation all live in the repository, where they stay up to date with the code.
