frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: E80: an 8-bit CPU in structural VHDL

https://github.com/Stokpan/E80
26•Axonis•2d ago
I built a new 8-bit CPU in VHDL from scratch (starting from the ISA). I felt that most educational soft-cores hide too much behind abstraction, eg. if I can do a+b with a single assignment that calls an optimized arithmetic library, then why did I learn the ripple carry adder in the first place ? And why did I learn flip flops if I can do all my control logic with a simple PROCESS statement like I would with a programming language ? Of course abstraction is the main selling point of HDLs, but would it work if I tried to keep strictly structural and rely on ieee.std_logic_1164 only ?

Well, it did and it works nicely. No arithmetic libraries, no PROCESS except for the DFF component (obviously). Of course it's a bit of a "resource hog" compared to optimized cores, (eg. the RAM is build out of flip flops instead of a block ram that takes advantage of FPGA intermal memory) but you can actually trace every signal through the datapath as it happens.

I also build an assembler in C99 without external libraries (please be forgiving, my code is very primitive I think). I bundled Sci1 (Scintilla), GHDL and GTKWave into a single installer so you can write assembly and see the waveforms immediately without having to spend hours configuring simulators. Currently Windows only, but at some point I'll have to do it on Linux too. I tested it on the Tang Primer 25K and Cyclone IV, and I included my Gowin, Quartus and Vivado projects files. That should make easy to run on your FPGA.

Everything is under the GPL3.

(Edit: I did not use AI. Not was it a waste of time for the VHDL because my design is too novel -- but even for beta testing it would waste my time because those LLMs are too well trained for x86/ARM and my flag logic draws from 6502/6800 and even my ripple carry adder doesn't flip the carry bit in subtraction. Point is -- AI couldn't help. It only kept complaining that my assembler's C code wasn't up to 2026 standards)

Comments

bullen•33m ago
16-bit address would have been good no? C64 > VIC2

Show HN: Ocrbase – pdf → .md/.json document OCR and structured extraction API

https://github.com/majcheradam/ocrbase
13•adammajcher•1h ago•2 comments

Show HN: repere – Local-first SQL data explorer using DuckDB WASM

https://repere.ai
2•mattismegevand•1h ago•0 comments

Show HN: Artificial Ivy in the Browser

https://da.nmcardle.com/grow
85•dnmc•11h ago•15 comments

Show HN: An interactive physics simulator with 1000’s of balls, in your terminal

https://github.com/minimaxir/ballin
64•minimaxir•20h ago•12 comments

Show HN: Subth.ink – write something and see how many others wrote the same

https://subth.ink/
74•sonnig•20h ago•41 comments

Show HN: E80: an 8-bit CPU in structural VHDL

https://github.com/Stokpan/E80
26•Axonis•2d ago•1 comments

Show HN: Pipenet – A Modern Alternative to Localtunnel

https://pipenet.dev/
102•punkpeye•22h ago•18 comments

Show HN: Munimet.ro – ML-based status page for the local subways in SF

https://munimet.ro/
12•MrEricSir•4d ago•6 comments

Show HN: A creative coding library for making art with desktop windows

https://github.com/willmeyers/window-art
33•willmeyers•18h ago•4 comments

Show HN: Movieagent.io – An agent for movie recommendations (with couple mode)

https://movieagent.io
18•roknovosel•19h ago•5 comments

Show HN: LangGraph architecture that scales (hexagonal pattern, 110 tests)

https://github.com/cleverhoods/sagecompass
3•cleverhoods•6h ago•0 comments

Show HN: Lume 0.2 – Build and Run macOS VMs with unattended setup

https://cua.ai/docs/lume/guide/getting-started/introduction
145•frabonacci•1d ago•41 comments

Show HN: AWS-doctor – A terminal-based AWS health check and cost optimizer in Go

https://github.com/elC0mpa/aws-doctor
51•elC0mpa•1d ago•21 comments

Show HN: Beats, a web-based drum machine

https://beats.lasagna.pizza
152•kinduff•1d ago•48 comments

Show HN: Figma-use – CLI to control Figma for AI agents

https://github.com/dannote/figma-use
112•dannote•2d ago•37 comments

Show HN: ChunkHound, a local-first tool for understanding large codebases

https://github.com/chunkhound/chunkhound
113•NadavBenItzhak•2d ago•30 comments

Show HN: Lite Bible – A fast, minimalist Bible reader

https://litebible.org/
9•foxinthebox•17h ago•2 comments

Show HN: GibRAM an in-memory ephemeral GraphRAG runtime for retrieval

https://github.com/gibram-io/gibram
60•ktyptorio•2d ago•9 comments

Show HN: Streaming gigabyte medical images from S3 without downloading them

https://github.com/PABannier/WSIStreamer
160•el_pa_b•3d ago•48 comments

Show HN: Opal Editor, free Obsidian alternative for markdown and site publishing

https://github.com/rbbydotdev/opal
33•rbbydotdev•1d ago•6 comments

Show HN: HTTP:COLON – A quick HTTP header/directive inspector and reference

https://httpcolon.dev/
35•ultimoo•1d ago•4 comments

Show HN: Xenia – A monospaced font built with a custom Python engine

https://github.com/Loretta1982/xenia
74•xeniafont•2d ago•41 comments

Show HN: Intent Layer: A context engineering skill for AI agents

https://www.railly.dev/blog/intent-layer/
28•Hunter17•1d ago•4 comments

Show HN: Whirligig – Tinder for Gigs

https://whirligig.live
3•idiocache•16h ago•4 comments

Show HN: Speed Miners – A tiny RTS resource mini-game

https://speedminers.fun/
47•nickponline•2d ago•8 comments

Show HN: Dock – Slack minus the bloat, tax, and 90-day memory loss

https://getdock.io/
173•yadavrh•1d ago•155 comments

Show HN: Shebe, a fast, simple and tiny code-search tool

https://github.com/rhobimd-oss/shebe
2•marwamc•17h ago•1 comments

Show HN: Podcast App Detects Ads on iPhone

https://earsay.fm/
2•earsayapp•18h ago•1 comments

Show HN: TinyCity – A tiny city SIM for MicroPython (Thumby micro console)

https://github.com/chrisdiana/TinyCity
142•inflam52•5d ago•26 comments

Show HN: Sparrow-1 – Audio-native model for human-level turn-taking without ASR

https://www.tavus.io/post/sparrow-1-human-level-conversational-timing-in-real-time-voice
123•code_brian•5d ago•49 comments