HSD-ESD / VHDL-by-HGB

VHDL-by-HGB is a VS-Code extension for VHDL.
https://hsd-esd.github.io/VHDL-by-HGB/
GNU General Public License v3.0
5 stars 0 forks source link

[FEATURE] Lattice-Diamond-Support #5

Open PainFromHell opened 7 months ago

PainFromHell commented 7 months ago

I would appreciate support for Lattice Diamond

jakobjung10 commented 5 months ago

There is already some code for diamond in "src/features/hdl_tools/synthesis/diamond". However, there were some problems with executing tcl-scripts/tcl-commands in the diamond-tcl-shell from a childprocess in the TypeScript-code. For example, executing a tcl-script manually in the Diamond-GUI-tcl-shell worked, but executing the same script from a childprocess did not... As I can remember, these problems occurred in correlation with specific tcl-commands. Creating a project from a script was possible, but adding files to a project from a script was not possible. Maybe someone can investigate this problem. The Diamond-Synthesis-Tool is disabled at compile-time at "src/features/hdl_tools/synthesis /synthesis_package.ts", but it can be activated by modifying the corresponding property in that file. The "ISynthesisProject"-Interface must be fully implemented in order to include it into main-line.