How ginnela-sairam/telugu-16-v4 works
TELUGU-16 is a synthesizable 16-bit SoC with a memory-mapped P-bit, timer, and GPIO. The principal user workflow is to assemble a program, optionally bake its machine code into ROM for silicon, then run it on the SoC. Separate branches cover the TinyTapeout wrapper and SPICE experiments. The hardware relationships below follow the README; detailed RTL call wiring was not sampled, so internal edges are limited to documented architecture.
Main entry points: t16_soc.v T-16 SoC · run_experiments.py SPICE experiments · sw Assembly programs · t16asm.py T-16 assembler
Components 18
Program authoring
- Assembly programs
sw - T-16 assembler
tools/t16asm.py - Machine-code image
sw - ROM baker
tools/bake_rom.py
SoC hardware
- Program ROM
rtl/t16_rom.v - T-16 SoC
rtl/t16_soc.v - 16-bit CPU
rtl/t16_cpu.v - Data RAM
rtl/t16_ram.v - GPIO peripheral
rtl/t16_gpio.v - Ring oscillator
rtl/t16_ro.v - Timer and prescaler
rtl/t16_soc.v - P-bit interface
rtl/t16_soc.v
P-bit physics
- SPICE experiments
spice/run_experiments.py - Sky130 device models
spice/sky130_models
Silicon interface
- Silicon top
rtl/t16_top_silicon.v - TinyTapeout wrapper
rtl/tt_um_telugu_t16.v
Other components
- Programmer
- ngspice
Connections 17
- Programmer → Assembly programs: writes
README.md - Assembly programs → T-16 assembler: assembles with
README.md - T-16 assembler → Machine-code image: produces
README.md - Machine-code image → ROM baker: bakes from
README.md - ROM baker → Program ROM: writes program
tools/bake_rom.py - Program ROM → T-16 SoC: program storage
- T-16 SoC → 16-bit CPU: integrates
README.md - T-16 SoC → Data RAM: integrates
README.md - T-16 SoC → GPIO peripheral: integrates
README.md - T-16 SoC → Timer and prescaler: integrates
README.md - T-16 SoC → P-bit interface: memory maps
README.md - Ring oscillator → P-bit interface: generates entropy
README.md - T-16 SoC → Ring oscillator: uses clock source
- T-16 SoC → Silicon top: silicon configuration
- Silicon top → TinyTapeout wrapper: exposes interface
- SPICE experiments → ngspice: runs simulations
spice/run_experiments.py - SPICE experiments → Sky130 device models: loads models
spice/run_experiments.py