Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for ASM.JS target #49

Open
drom opened this issue Nov 23, 2016 · 2 comments
Open

Support for ASM.JS target #49

drom opened this issue Nov 23, 2016 · 2 comments

Comments

@drom
Copy link

drom commented Nov 23, 2016

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?

@cseed
Copy link
Contributor

cseed commented Jan 20, 2017

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?

@drom
Copy link
Author

drom commented Jan 20, 2017

Yes, @cseed calling main with a string would do the trick. I can help creating JS wrapper that would expose some Object interface.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants