Newbie Question: Understanding initial block and module instantion

In reply to dave_59:

In reply to rgarcia07:
I’ll just add that it doesn’t matter how
Tick
gets its value inside the module
UART_BaudRate_generator
. What matters is that its a module output port, and that behaves as a continuous assignment to
baudTick
.
There should be no need to initialize
baudTick
in your testbench because you initialized it in the lower level module.

I think you have hit the nail on the head Dave. I should initialise the Tick output within an intial block of the UART_BaudRate_generator module. That makes sense to me now. Thanks again.