News for hackers. Stuff that matters.
Re:Show HN: Verilog2factorio by jakear on Sunday April 25, 2021 @01:52AM (#26930590)
Sure, but there’s a difference between “had a couple courses using it in college” and “have an understanding of the language sufficient to develop a novel backend”.
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.
Re:Show HN: Verilog2factorio by devit on Sunday April 25, 2021 @07:56AM (#26932058)
You don't need much understanding in advance to develop a novel backend, since you are forced and guided to learn the whole language as you try to write the backend and start pattern matching on the data structures.