Lombiq / Hastlayer-SDK

Turning .NET software into FPGA hardware for faster execution and lower power usage.
https://hastlayer.com
BSD 3-Clause "New" or "Revised" License
302 stars 33 forks source link

C# code listing inside VHDL #19

Closed Piedone closed 7 years ago

Piedone commented 7 years ago

Idea: we could add the C# code lines as comments to the VHDL source file, to each state within Hast_IP.vhd. This could potentially improve debugging.

As Hastlayer works from the decompiled IL, it could make use of the IL->C# functions of ILSpy to implement this feature.

Idea by @ha7ilm.

Piedone commented 7 years ago

This could be added in the Debug VHDL generation mode as VHDL comments. I'd keep this optional on top of that too (since there're already a lot of debug comments added).