irisparadox retweeted
パズル感覚で問題を解いていくとNANDからRISCV(RV32I)が完成するゲームを作りました。最後の方は難易度が指数関数的に増加しますが、答えを表示できるのでネタとして遊んでみてください。加算機くらいまでは普通に面白いきがします。
bokuweb.github.io/nand2riscv…
tiny-gpu:极简开源 GPU
tiny-gpu 是一个用 Verilog 编写的极简 GPU 硬件实现项目(12 个 .sv 核心文件),旨在帮助开发者从零开始理解现代通用 GPU(GPGPU)及 AI 加速器的底层硬件原理
github.com/adam-maj/tiny-gpu
tiny-gpu 剥离了传统显卡中繁杂的图形渲染管线,专注于通用计算(GPGPU)与机器学习加速器(如 TPU)的三大核心机制:硬件架构、SIMD 并行计算模型,以及内存带宽管理
精简指令集:tiny-gpu 自定义了一套包含 11 条指令的 16 位指令集(支持加减乘除、比较 CMP、条件分支 BRnzp、内存读写 LDR/STR 等)
借助 iverilog、cocotb 和 sv2v 工具链,开发者可以直接在本地运行仿真,导出包含初始/最终内存状态以及每个时钟周期下所有核心与线程状态的详细执行日志
除 tiny-gpu 之外,Miaow、VeriGPU 也可一同关注,不过它们更复杂
Miaow:工业级真实架构的 RTL 复现
miaowgpu.org/
VeriGPU:面向机器学习的 RISC-V 变体 GPU
github.com/hughperkins/VeriG…
irisparadox retweeted
this is literally the best thing I've ever found!
All the RISC-V processors - Single cycle, Multi cycle, 5 stage, 6 stage, both in 32bits and 64bits architecture.
Just look at them, how beautifully complex they are
irisparadox retweeted
New CPU using the 512 address RAM. The latency is hilarious. The speed of light is SOO slow here relative to the size of memory.
irisparadox retweeted
The 8192 core CPU (@uscompco) is coming along well. I've been doing some major changes the past few weeks.
This is a core layout from yesterday. The core got a lot bigger with the redesigns (mostly some naive approaches to patching gaps and bugs). Some new OpenROAD jobs running tonight with a projected 20% logic reduction. This area plot also has some obvious low density spots and is very disorganized, that should get better too. Routing should be better than the old core though, much less wiring.
Raw performance should be a lot higher with the redesign though, as well as fixing a lot of interconnect deadlock bugs. At peak the current design can issue 15 instructions per cycle per core, not counting SIMD! (Yes, we do have cases where the (magic-mininal) compiler actually makes use of all this! Most of the time it's around 3-6, but that would be impressive sustained for an out of order CPU and this is in-order!) Inner loops and math workloads tend to be on the higher end. This is also done in a way (using some inspiration from 1940s/50s wisdom) where we can pay only a very tiny fraction of the regfile/crossbar logic cost you'd usually need to pull that off.
Nonzero chance markets make upcoming fundraising a bit tougher, but we're still aiming for tapeout next year!
irisparadox retweeted
512 address RAM blocked into cache lines of 32. Here we see a flurry of activity kicked off by a cache miss.
irisparadox retweeted
Neat, you can just have the LLM build a regfile compiler to get much higher logic density.
irisparadox retweeted
ICsprout 55nm Open Source PDK now has initial LibreLane support. SPM went from RTL to GDS in one command: 617 standard cells, die area 2996.9 μm², utilization 100%. KLayout DRC passed. Magic DRC, Netgen LVS, and Magic PEX still fail, with hold violations at the TT corner.
irisparadox retweeted
the Linux kernel wraps almost every multi-line macro in do { } while (0)
it looks like a loop
it never actually loops
the pattern makes multiple statements behave like a single statement so macros work correctly inside if blocks and other control flow
that's why you'll find it throughout the kernel source
irisparadox retweeted
I've been working on my KiCad autorouter, and these are single layers of copper.
irisparadox retweeted
A new video on computer architecture from @CoreDumpped
youtu.be/eNtADpJ2EC4
System Design and First Principles are not from a parallel universe; they should not live in isolation.
- Computer architecture provides the "missing taste"
- Critical "hot paths" get identified early in the game
- Performance engineering is never an afterthought
- The show-and-tell of performance is always measure-first
irisparadox retweeted
When I post plots of the CPU I'm working on, people are surprised at how organic it looks.
If you look through @arenamag's Silicon book, especially at chips from the past 10-15 years, most also look very organic.
The organic-looking parts are logic.
The grids are memory.
irisparadox retweeted
As an Embedded System Engineer,
Please learn:
• C & Modern C++ or Rust
• Data Structures & Algorithms
• Computer Architecture
• Digital Logic & Boolean Algebra
• Microcontrollers (STM32, ESP32, AVR, RP2040)
• ARM Cortex-M/A & RISC-V
• Embedded Linux
• Linux Kernel & Device Drivers
• RTOS (FreeRTOS, Zephyr)
• Bootloaders (U-Boot)
• Build Systems (CMake, Yocto, Buildroot)
• Memory-Mapped I/O
• Interrupts, DMA & Timers
• UART, SPI, I²C, CAN, USB & Ethernet
• TCP/IP, BLE, Wi-Fi & MQTT
• Sensors & Actuators
• ADC, DAC & PWM
• Power Management & Low-Power Design
• Firmware Architecture
• Linker Scripts & Memory Layout
• Debugging (GDB, JTAG, SWD)
• Oscilloscopes, Logic Analyzers & Multimeters
• PCB Basics & Hardware Bring-up
• FPGA Fundamentals & HLS
• Embedded AI & TinyML
• CUDA & Edge AI (for embedded AI systems)
• Python & Bash for Automation
• Git, CI/CD & Testing
• Secure Boot & Firmware Security
• Functional Safety Basics (IEC 61508, ISO 26262)
• Robotics & ROS 2 (optional but valuable)
irisparadox retweeted
I am pretty impressed what open source EDA tool can achieve already. This is an programmable instrumentation amplifier. And yes. Its design and the IHP PDK used is open source :-)
irisparadox retweeted
Learning computer architecture by building a full GPU from scratch.
▪️ 16-bit ISA & assembler
▪️ High-level programming language (J++) & compiler
▪️ Branch divergence & warp scheduling
▪️ 2 compute cores
Running AI model inference at 81 MHz on a 30$ FPGA
🧵
irisparadox retweeted
week 127, streaming kernel dev (c++)
topic: boot bump allocator
instead of using global objects for the kernel (and its large, static buffers), I finally implemented a basic bump allocator for boot time and used that instead
link + recap ↓
irisparadox retweeted
This diagram is art, a symphony.
It's from WikiChip, a site now probably gone into oblivion; Chips and Cheese carries the mantle now.

























































