
TypeScript to System Verilog transpiler
Hello everyone,
For a while now I've been working on ts2v - a production-oriented TypeScript-to-SystemVerilog compiler/transpiler that lets you write hardware using modern TypeScript class-style syntax and compile it down to standard SystemVerilog.
It then synthesizes and flashes using a fully open-source toolchain (Yosys + nextpnr + Gowin tools for the time being).
I just added support for multiple clock domains plus several peripheral examples (WS2812, UART, etc.).
I'm planning to turn this into a full-fledged library and start expanding supported boards and features.
Repo: https://github.com/thecharge/sndv-hdl
It already runs real demos on the Tang Nano 20K (blinky with persistent flash, WS2812 rainbow control, UART calculator, first tpu 7nit made on typescript , etc.).
I’d love to hear your feedback from the hardware startup / FPGA community:
Would you try a tool like this for your projects?
What features or peripherals would you want to see next?
Any specific pain points with traditional HDL that this could solve better?
Demo requests? (I can share videos/GIFs of the current examples)
Happy to answer questions and open to contributors!