4 ms·
The fact that digital logic design is constrained to one of two ancient languages by the proprietary toolsets is a serious problem. There are ways round this b
by pjc50 9y ago
The fact that digital logic design is constrained to one of two ancient languages by the proprietary toolsets is a serious problem.
There are ways round this by compiling to Verilog (eg Chisel) but it's an uncomfortable halfway house.
- pjmlp 9y agoWell, I kind of prefer VHDL.
- anfilt 9y agoSame. My main reason is Verilog does not make a distinction between variables and other objects. Verilog treats almost everything as if it were an assignment type. Furthermore, variables in verilog are shared by default. VHDL shows how it should be done. There is a clear distinction between signals and variables. Additionally, variables are local by default. My opinion of course. Although VHDL can be bit more wordy. However, that's least of my worries (wordiness) when designing something. I would rather have clear semantics for me and other people on what the heck is going on.
- anfilt 9y agoThere is SystemC, and that's not exactly ancient. It's handy when working at the architectural level. Also what's wrong with old languages? Looks at C for instance which is much older than VHDL or Verilog.
- lvoudour 9y agoSystemC and every other high level synthesis language, has to be translated to VHDL/verilog first. That's a big difference with software land. HDLs are not bad, but not having the option to explore better options is bad
- anfilt 9y agoNot entirely true. You can generate netlists without going to VHDL/Verilog.
- user20180120 9y agoIn an ASIC flow, they use C++/SystemC that feeds into High Level Synthesis tools to generate an intermediate auto-machine generated RTL HDL Verilog. This then flows into a digital logic synthesis tool to be converted to a Verilog gate-level netlist. The industry uses a Verilog netlist as a defacto standard that is then put through an implementation flow for place and route, where the aim is to convert the Verilog netlist description of logic gates/D-flops into a physical representation of the final chip in silicon, in the form of a GDSII [GDS2 file] for taping out which in turn is then sent on to a foundry to be manufactured. The manually written HDL RTL either in VHDL or Verilog takes too long to write in terms of human hours by large teams of HDL RTL coding engineers. The aim of using High Level Synthesis is to reduce the time to market for generating a Verilog netlist. When RTL HDL languages first came out in conjunction with digital synthesis tools, many engineers were not believing in the technology, in which they used to do things manually by hand laying out the gates/transistors. Youtube video link from 1977 [watch from at time from 07:52 time mark, manual work done from 9:36 time mark onwards] BBC Horizon: 1977-1978 Now The Chips Are Down [https://youtu.be/HW5Fvk8FNOQ?t=472 https://youtu.be/HW5Fvk8FNOQ?t=472]
- adwn 9y ago> The fact that digital logic design is constrained to one of two ancient languages by the proprietary toolsets is a serious problem. Not really. You can compile any high-level language to a netlist and use that as input for place&route. Even if the proprietary toolchain didn't support EDIF netlists, you could still compile to a purely structural VHDL/Verilog file with the instantiated FPGA logic primitives (LUTs, nets, etc.), which is basically The main (but not the only) reason why VHDL and Verilog have not been replaced yet, is that nearly all supposedly "better" alternatives fail to address the actual pain points in FPGA design. The most likely cause for this is that the overlap between professional FPGA designers and people capable and willing of designing and implementing a language is very, very small. The result is that you get a lot of languages designed by people who have never programmed larger FPGAs in a professional setting and consequently don't have a good understanding of the problems involved.
- moring 9y agoDo you have any good source of what these problems are? The reason I am asking is because I too am designing my home-grown HDL at the moment because I grew tired of both Verilog and VHDL. Since I never programmed FPGAs professionally -- the whole thing is a pet project only -- I'm likely to repeat those mistakes because I don't even know about them. Note that I don't expect problems in the basics of language design and building tools, but rather specific mistakes in the context of FPGAs.
- ChickeNES 9y agoI'm curious to know more about your HDL, as I'm also working on an HDL of my own.
- moring 9y agoThe code is at https://github.com/MartinGeisse/mahdl-plugin https://github.com/MartinGeisse/mahdl-plugin Feel free to open an issue on GitHub to start a discussion. (I'm hesitant to post my private email address here -- old habits.)
- 9y ago