How do you organize the source code of your hardware project?
Some computer languages force a certain directory structure upon its users. While this may seem like a restriction of your freedom, in fact well-chosen directory conventions give you the liberty to concentrate on more important matters. Regrettably, languages like C and VHDL leave their users with total freedom to make bad choices about their file structures. Since you don't get rules enforced by the language, you are faced with the choice between either total chaos or composing your own guidelines for file names and directory structures. If you choose the latter, some lessons are to be learned from other computer languages' conventions, as well as from publicly available VHDL sources.
In upcoming blog posts, I will give examples of some existing conventions on how to organize files and folders.
Read the follow-up posts:
- How to organize source code? How to organize source code? Learn from Java.
- How to organize source code? Learn from OpenCores.