EDAcation / vscode-edacation

VS Code extension for EDAcation - Learning environment for digital hardware design.
https://marketplace.visualstudio.com/items?itemName=edacation.edacation
MIT License
4 stars 2 forks source link

VHDL support #109

Closed malmeloo closed 2 weeks ago

malmeloo commented 1 month ago

https://github.com/EDAcation/native-fpga-tools has been updated to include the Yosys GHDL plugin for supported builds (linux x64, macOS). It can be used as follows:

yosys> plugin -i ghdl

yosys> ghdl something.vhdl

yosys> synth_whatever ...

The current idea is to simply check for *.vhdl input files in edacation and generate the above statements if that is the case. Actually detecting VHDL support is a bit of a pain so we'll just catch the error Yosys throws and show a friendlier message to the user.