RECOMMENDED: Drop buffer port mode.
In the previous coding example, signal C was modeled with a buffer mode, and is used both internally and as an output port. Every level of hierarchy that can be connected to C must also be declared as a buffer.
To drop buffer mode:
1.Insert a dummy signal.
2.Declare port C as an output.