Forum Discussion
Altera_Forum
Honored Contributor
9 years agoHelp with Verilog structure
Pardon the simple questions from a Verilog newcomer. I have three modules in a file. Compiles under Quartus OK. Load onto a Max V dev board and only the module designated as "Top" functions. Ch...
Altera_Forum
Honored Contributor
9 years agoUnless you're building libraries or something it's always best practice to have one module per file and have the file name match the module name. Then, as Tricky said, create a new top-level file that instantiates and interconnects the three sub-modules and declare that as the top-level module in Quartus.