Unofficial Hacker News companion — get notified on comment replies, and more.

Show HN: Warpspec – TLA+ model checking on a GPU, 4,600× faster than TLC (opens external site)

108 points by praveenperera 2 days ago praveenperera.com 19 comments (opens Hacker News) Vote (opens Hacker News)

View full thread · View on Hacker News

Comment thread (10)

  1. 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.

    Replies (1)
    1. 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.

      Replies (3)
      1. 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.
        Replies (1)
        1. 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 insanely low bar in terms of software quality.

          But $4000 for a single host license.

      2. > Not really wanting to publish it for the world to tear apart

        I guess it's a good thing someone did this a long time ago and it didn't tear the world apart

        https://github.com/limbo018/DREAMPlace

        https://github.com/rachelselinar/DREAMPlaceFPGA

        Replies (1)
        1. I don't recall claiming novelty. Nor did I say anything about "tearing the world apart" -- you turned the sentence inside out.
          Replies (1)
          1. I hastily read your sentence that's true but my point stands: the world isn't going to suddenly take notice because it's already been done many times.
            Replies (1)
            1. What is the purpose of your comment? What is it adding to the conversation?

              Continue this thread (1 replies) →

      3. > Routing/placement/timing analysis, it's all very multithreaded

        this isn't true in the slightest - each of these is a global optimization problem. parallelized approaches solve approximations (whereas vivado actually embeds a SAT solver).