1.7. File Structure

The VHDL file structure consists of three sections: the library declaration, entity section, and architecture section with an optional header section.

1.7.1. Optional Header Section

As stated before, the header section is completely optional but highly suggested. However, I found the revision history to be beneficial, especially when modifying someone else's code. When I fix code problems, the revision history enables me to see if the current problem existed before any previous code changes. I have mixed feeling about keeping the prereleased code revision history in the released code. It is a good idea to have the revision history while developing, just in case someone else inherits the code. However, for the released ...

Get FPGAs 101 now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.