Quote:
Originally Posted by archShade
Programming languages describe what data to send to various parts of the computer and what to do with the resultant data where as HDL defines the structure of hardware.
They share constructs and act in a similar way but do actually do a different job. Although under synthesis HDLs essential do what programming languages do when applied to an FPGA they work differently.
Because they are so similar I would have thought GPL would cover HDLs but not sure (thus asking).
|
No, Verilog doesn't do a different job. Look up "System C" and realize it's C++ with set of special classes in order to be a good enough as HDL.
Verilog is just a (pseudo-parallel) programming language with built-in threads which are called differently - 'always', 'fork .. join', etc.
At Verilog level of detail 'reg' (typically represented in HW by a edge-triggered flip-flop) is no different from a variable in, say, "C".
Verilog's 'pmos' and 'nmos' are funny in a sense they have conductance in one directions - I once used this deficiency to achieve something quite positive and useful.
...
You might be interested to look up
Petri Nets
.