YoWASP / yosys

Unofficial Yosys WebAssembly packages
https://yowasp.org
ISC License
66 stars 2 forks source link

Browser package (npm) #21

Closed nturley closed 11 months ago

nturley commented 3 years ago

This was discussed on twitter a few times but I thought it would be helpful to track it here.

Use Cases

Why

What's the next best alternative?

Challenges

Accessing files is annoying in the browser. In addition to the wasm file, you also need to deal with the users files, the tech library files. So, ideally those would be packaged in a way that is easy to use.

whitequark commented 3 years ago

This is possible and in scope. I have a prototype already and will look into publishing it as a complete work later.

whitequark commented 3 years ago

Place and route visualization

Note that Qt nextpnr builds are out of scope at the moment. That's an enormous and highly complex dependency that I am not ready to support.

Simulation with cxxrtl

You'd have to also use clang.wasm targeting wasm. That's possible although the simulation speed might not be so great.

nturley-copia commented 3 years ago

If there's anything I can do to help, I'm happy to contribute.

whitequark commented 3 years ago

Not really, the limiting factor is my time.

whitequark commented 12 months ago

@nturley https://github.com/YoWASP/yosys/pull/28