Coolquest, Inc. Home Products Support About Contact
cbold_logo_gif C++BOLD Reference Manual cbold_logo_gif

<<< Previous CBOLD Reference Home Next >>>

 

7.2.6. The merge() Function

The merge() function connects an entire port range to a single 1-wide port or named connection:

merge( "/NC", Fifo.Q( 35, 32 ) ); // connect bits 35-32 of Fifo's Q port to the global non-connect net
merge(   GND,  Ram.A( 19, 17 ) ); // connect bits 19-17 of Ram's A port to this module's GND port

A runtime error results if the first argument of merge() does not have a width of 1.

 

<<< Previous CBOLD Reference Home Next >>>

Legal Copyright © 2007 by Coolquest, Inc. Contact