3 ms·
> It's also probably why firmware engineers tend to write so much copy/paste code This always seemed like limitations of the commonly used HDLs. Both Verilog a
by sannee 8y ago
> It's also probably why firmware engineers tend to write so much copy/paste code
This always seemed like limitations of the commonly used HDLs. Both Verilog and VHDL are extremely verbose and do not really allow a lot of abstraction. Even stuff like "I want this module to have a $common_interface" is hard to impossible without just copy pasting the definitions (sure, there are C macros) every time.
- sanxiyn 8y agoTry Chisel. Chisel solves this.
- orbifold 8y agoSystem verilog interfaces solve this. A lot of the publicly available code is just riddled with bad practices, just like it is the case with C.
- vvanders 8y agoOh yeah totally, I think it's also a byproduct of how they synthesize. Extra abstractions in software have relatively low cost where they can be really expensive in HW.