Forum Discussion
Altera_Forum
Honored Contributor
14 years agoLOC Program for VHDL
Hey Guys. I've been asked to count the number of lines of code (LOC) for VHDL. I need to count the physicial lines of code, logical lines of code, and also the number of commented lines. Anyone...
Altera_Forum
Honored Contributor
14 years agoI'm not very familiar with LLOC calculation algorithms, but as a first guess, I would assume 1 for the first and 4 for the second example. Counting terminating ';' may be sufficient.
Logical lines of code aren't related to generated number of machine instructions for a processor or FPGA gate level net lists, I think.