I've wondered if something similar could be done to perform model checking on an FPGA. It would probably be easier to start with Spin, where the Promela spec and logic to check it are used to produce C code. That could then be translated to Verilog.
I've got local ... mostly AI created... work that does routing and placement to FPGA from a yosys synthesized ... thing. And I have it sped up to several multiples faster than the equivalent run in Vivado by using CUDA & the integrated GPU of my DGX Spark to optimize The Algorithms(tm).
Routing/placement/timing analysis, it's all very multithreaded and parts getting CUDA acceleration, and it's way faster than using Xilinx's painful stuff.
Not really wanting to publish it for the world to tear apart, but it works for me to flash the hardware I'm flashing and I'm doing some rather crazy stuff... All born from getting sick of the iteration times and wanting a much faster development cycle.
In all seriousness, this seems unbelievably neat. I have a pretty fancy gaming PC that doesn't get utilized nearly enough; being able to brute force my TLA+ seems like a responsible way to use it.
"PaxosCommit RM = 3 uses about 26.4 GB of the RTX 5090’s 32 GB this way" How practical would this be on an FPGA, given its even more limited with memory?
I've tried verifying some simple vibe-coded TLA+ models based on linux mm/ locks using this project, and it seems the bottleneck isn't the GPU workload itself, but rather the Rust-to-PTX compiler. So I think the idea of TLA+ on GPUs is still waiting for a good engineer to implement it properly, rather than just blindly vibe-coding it.
This looks great. I had to move away from TLA due to speed so I’ll give it a go for sure.
This is very cool.
I've wondered if something similar could be done to perform model checking on an FPGA. It would probably be easier to start with Spin, where the Promela spec and logic to check it are used to produce C code. That could then be translated to Verilog.
I've got local ... mostly AI created... work that does routing and placement to FPGA from a yosys synthesized ... thing. And I have it sped up to several multiples faster than the equivalent run in Vivado by using CUDA & the integrated GPU of my DGX Spark to optimize The Algorithms(tm).
Routing/placement/timing analysis, it's all very multithreaded and parts getting CUDA acceleration, and it's way faster than using Xilinx's painful stuff.
Not really wanting to publish it for the world to tear apart, but it works for me to flash the hardware I'm flashing and I'm doing some rather crazy stuff... All born from getting sick of the iteration times and wanting a much faster development cycle.
Vivado is a very low bar. I'd expect you to also be faster than nextpnr or whatever it's called these days if you're using GPU acceleration, though.
Quite cool!
Very cool idea, but maybe don't outsource both the implementation and the blog post to Claude?
Bastard stole my idea!
In all seriousness, this seems unbelievably neat. I have a pretty fancy gaming PC that doesn't get utilized nearly enough; being able to brute force my TLA+ seems like a responsible way to use it.
Not only yours :)
Yeah, but did yours have an FPGA in it?
"PaxosCommit RM = 3 uses about 26.4 GB of the RTX 5090’s 32 GB this way" How practical would this be on an FPGA, given its even more limited with memory?
I've tried verifying some simple vibe-coded TLA+ models based on linux mm/ locks using this project, and it seems the bottleneck isn't the GPU workload itself, but rather the Rust-to-PTX compiler. So I think the idea of TLA+ on GPUs is still waiting for a good engineer to implement it properly, rather than just blindly vibe-coding it.