Open drom opened 7 years ago
I'm new to emscripten. I played around with a bit and was able to get arachne-pnr to build and serialize the chipdb files with it. (See the emscripten branch.) I guess I'd need to a second link to embed the binary chipdb files. What interface would you want? Would just calling main with string args do it?
Yes, @cseed calling main with a string would do the trick. I can help creating JS wrapper that would expose some Object interface.
I am building in-browser tool to design and program FPGAs using Yosys and Arachne-PNR. Yosys provides ability to build for the ASM.JS target. Would it be possible to add similar ability to the Arachne-PNR?