[Comments] C HLS Benefits
Earlier this week I posted a small write-up comparing a hardware median calculation implemented in a C-to gates "HLS" (Vivado C HLS) and a version in MyHDL. For a long time I have had the belief that C-to-gate technologies are of little to no benefit - based on the simple premise that "C" is not that high-level of a language (I actually consider it lower than Verilog and VHDL ... but that is a conversation for another time).
Language comparisons are always difficult (to impossible). In the post there are two features being compared, the language design and the language abstraction level:
The "C" language with the HLS pragmas
Imperative description 
The Python language with the MyHDL package
In the comparison the above are mashed together but there is no good way to separate them, you would need imperative HLS synthesis and simulation RTL synthesis in the same language (a multi-paradigm language, not comparing syntax and design but paradigms/descriptions).
The use of MyHDL is important in this case. MyHDL is essentially at the same abstraction level of Verilog and VHDL but it simplifies the concurrent description, benefits from the Python design philosophy (simplicity, readability, etc.), and has a full featured elaboration phase.
If the comparison was made with Verilog or VHDL (C*) it might seem like there is a benefit to the "C" description because of clunkiness in the V* languages (which is different than the abstraction level of the language). From my point of view the comparison was successful - it shows little to no benefit to the "C" version for the particular example. I will be following up the post with the rest of the median filter implementation shortly (ahh shortly is relative).
Obviously, if you know "C" really well and want to do FPGA development and do not want to learn another language "C" based tools might be some benefit because you do not have to learn a new language. But there are all kinds of drawbacks and my guess is majority of developers developing massive parallel implementations (e.g. FPGA) know more languages than "C" and would find greater utility in a non C-HLS tool.
 I call it an imperative description because it is a list of steps with some structure, e.g. the loops. Many would consider this structured code and "C" is typically considered procedural. Both procedural and structured are imperative. I use imperative because it is general and commonly used.
To post reply to a comment, click on the 'reply' button attached to each comment. To post a new comment (not a reply to a comment) check out the 'Write a Comment' tab at the top of the comments.
Please login (on the right) if you already have an account on this platform.
Otherwise, please use this form to register (free) an join one of the largest online community for Electrical/Embedded/DSP/FPGA/ML engineers: