Velocity Reviews

Velocity Reviews (http://www.velocityreviews.com/forums/index.php)
-   VHDL (http://www.velocityreviews.com/forums/f18-vhdl.html)
-   -   Personnal type as port (http://www.velocityreviews.com/forums/t22720-personnal-type-as-port.html)

Sylvain Munaut 07-31-2004 05:27 PM

Personnal type as port
 
Hi

I know how to define a personal type to use as a signal but how to use one as a port ?



Sylvain Munaut

Allan Herriman 07-31-2004 06:27 PM

Re: Personnal type as port
 
On Sat, 31 Jul 2004 19:27:02 +0200, Sylvain Munaut
<tnt_at_246tNt_dot_com@reducespam.com> wrote:

>Hi
>
>I know how to define a personal type to use as a signal but how to use one as a port ?


Declare the type in a package. 'Use' the package before the entity
declaration.
The module that instantiates this module will also need to use the
package.

Regards,
Allan.


All times are GMT. The time now is 01:04 PM.

Powered by vBulletin®. Copyright ©2000 - 2014, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.