9 comments

  • 0xcafefood1 day ago
    This is very cool.<p>I&#x27;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.
    • cmrdporcupine22 hours ago
      I&#x27;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 &amp; the integrated GPU of my DGX Spark to optimize The Algorithms(tm).<p>Routing&#x2F;placement&#x2F;timing analysis, it&#x27;s all very multithreaded and parts getting CUDA acceleration, and it&#x27;s way faster than using Xilinx&#x27;s painful stuff.<p>Not really wanting to publish it for the world to tear apart, but it works for me to flash the hardware I&#x27;m flashing and I&#x27;m doing some rather crazy stuff... All born from getting sick of the iteration times and wanting a much faster development cycle.
      • mathisfun12315 hours ago
        &gt; Routing&#x2F;placement&#x2F;timing analysis, it&#x27;s all very multithreaded<p>this isn&#x27;t true in the slightest - each of these is a global optimization problem. parallelized approaches solve approximations (whereas vivado actually embeds a SAT solver).
      • codebje22 hours ago
        Vivado is a very low bar. I&#x27;d expect you to also be faster than nextpnr or whatever it&#x27;s called these days if you&#x27;re using GPU acceleration, though.
        • cmrdporcupine20 hours ago
          Vivado literally pinned all the cores of my CPU to 100% while downloading an add-on. Busy looping in a progress bar or something. Just an <i>insanely</i> low bar in terms of software quality.<p>But $4000 for a single host license.
      • mathisfun12316 hours ago
        &gt; Not really wanting to publish it for the world to tear apart<p>I guess it&#x27;s a good thing someone did this a long time ago and it didn&#x27;t tear the world apart<p><a href="https:&#x2F;&#x2F;github.com&#x2F;limbo018&#x2F;DREAMPlace" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;limbo018&#x2F;DREAMPlace</a><p><a href="https:&#x2F;&#x2F;github.com&#x2F;rachelselinar&#x2F;DREAMPlaceFPGA" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;rachelselinar&#x2F;DREAMPlaceFPGA</a>
        • cmrdporcupine16 hours ago
          I don&#x27;t recall claiming novelty. Nor did I say anything about &quot;tearing the world apart&quot; -- you turned the sentence inside out.
          • mathisfun12316 hours ago
            I hastily read your sentence that&#x27;s true but my point stands: the world isn&#x27;t going to suddenly take notice because it&#x27;s already been done many times.
            • cmrdporcupine15 hours ago
              What is the purpose of your comment? What is it adding to the conversation?
              • mathisfun12315 hours ago
                showing people there are public repos which demonstrate what you&#x27;re describing since you are reluctant to publish your work.
  • seddonm122 hours ago
    This looks great. I had to move away from TLA due to speed so I’ll give it a go for sure.
  • scrubs17 hours ago
    Does it do concurrent or MT scc detection? Stock tla does not which is part of why it&#x27;s slow.
  • oulipo1 day ago
    Quite cool!
  • senderista1 day ago
    Very cool idea, but maybe don&#x27;t outsource both the implementation <i>and</i> the blog post to Claude?
  • tombert1 day ago
    Bastard stole my idea!<p>In all seriousness, this seems unbelievably neat. I have a pretty fancy gaming PC that doesn&#x27;t get utilized nearly enough; being able to brute force my TLA+ seems like a responsible way to use it.
    • snizovtsev1 day ago
      Not only yours :)
      • genxy23 hours ago
        Yeah, but did yours have an FPGA in it?
        • snizovtsev22 hours ago
          &quot;PaxosCommit RM = 3 uses about 26.4 GB of the RTX 5090’s 32 GB this way&quot; How practical would this be on an FPGA, given its even more limited with memory?<p>I&#x27;ve tried verifying some simple vibe-coded TLA+ models based on linux mm&#x2F; locks using this project, and it seems the bottleneck isn&#x27;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.
          • praveenperera14 hours ago
            Nvm on my last comment tomorrow’s release will be faster than TLC on small models too
          • praveenperera22 hours ago
            [dead]
  • felix952717 hours ago
    [dead]
  • ibuildinpublic10 hours ago
    [dead]
  • vaidyahunt22 hours ago
    [dead]