User manual

Module port declaration and using it
Definition:
module module_name (
direction name1,
direction name2,
input clk, // typically 50 MHz
input reset_n
);
Directions are typically input, output and inout.
Instantiation:
module_name instance_name (
.name2(parameter2),
.name1(parameter1),
.reset_n(reset_n),
.clk(clk)
);
I strongly recommend passing signals by name rather than by order!!!
EECS 452 Fall 2014 Lecture 5 Page 53/143 Tuesday September 16, 2014