News for hackers. Stuff that matters.
Re:Show HN: Verilog2factorio by themulticaster on Sunday April 25, 2021 @11:51AM (#26933645)
This project actually uses Yosys. From a quick glance at the code, this tool essentially uses Yosys for the heavy-duty logic stuff [1], resulting in a JSON-based logic definition using a couple of standard cells (DFF, MUX, arithmetic, etc.) that verilog2factorio parses [2] and translates into predefined Factorio blueprints. The only part that I couldn't find would be laying out the cells into the overall blueprint (and performing routing).

[1] https://github.com/Redcrafter/verilog2factorio/blob/9691b702...

[2] https://github.com/Redcrafter/verilog2factorio/blob/9691b702...

Re:Show HN: Verilog2factorio by linux_is_nice on Sunday April 25, 2021 @12:03PM (#26933743)
It does simulated annealing in src/sim.ts, I think.