im-tomu / fomu-workshop

Support files for participating in a Fomu workshop
https://workshop.fomu.im
Apache License 2.0
162 stars 64 forks source link

What's the difference between a regular Yosys and a 'Fomu build'? #319

Closed umarcor closed 4 years ago

umarcor commented 4 years ago

In section Required Software:

Ensure it says (Fomu build). Type exit to quit yosys.

I'd like to try using Docker image ghdl/synth:beta, which includes Yosys and GHDL. However, I am unsure about what needs to be modified in Yosys for supporting Fomu. The procedure in https://github.com/xobs/toolchain-icestorm/blob/master/scripts/compile_yosys.sh (from https://github.com/im-tomu/fomu-toolchain/blob/master/build.sh) seems normal. @xobs are requirements listed somewhere?

mithro commented 4 years ago

@umarcor -- There is no difference except making sure that you have not installed a random Yosys from a random location. It was important when running workshops with a 1 instruction to 50 student ratio.

umarcor commented 4 years ago

@mithro, thanks a lot for clarifying. I understand the motivation and I think it makes sense. I was just worried about breaking my loved Fomu if I did something wrong.

I was told about https://github.com/open-tool-forge/fpga-toolchain in the IRC, just a few minutes ago. I will try both approaches, as I'm trying to add VHDL examples to this repo.