Learning BSV‎ > ‎Attributes‎ > ‎

port Attribute

The attribute port= allows renaming of module arguments that are not clocks, resets or parameters. It provides the full name of the port generated for the argument.

Attribute Syntax

module modulename (... (* port = "portname" *) argument ... );
Comments