Personnal type as port

Discussion in 'VHDL' started by Sylvain Munaut, Jul 31, 2004.

  1. Hi

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



    Sylvain Munaut
    Sylvain Munaut, Jul 31, 2004
    #1
    1. Advertising

  2. On Sat, 31 Jul 2004 19:27:02 +0200, Sylvain Munaut
    <> 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.
    Allan Herriman, Jul 31, 2004
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. John T. Goodman

    Overhead of 4-port over 2-port SRAM

    John T. Goodman, Jan 25, 2005, in forum: VHDL
    Replies:
    0
    Views:
    596
    John T. Goodman
    Jan 25, 2005
  2. Replies:
    3
    Views:
    313
    Greg Burns
    Sep 8, 2004
  3. Sean Wolfe
    Replies:
    1
    Views:
    2,247
    Joerg Jooss
    Apr 28, 2005
  4. b3ny
    Replies:
    11
    Views:
    917
    Babu Kalakrishnan
    Nov 20, 2004
  5. Gerald Klix
    Replies:
    0
    Views:
    1,267
    Gerald Klix
    Oct 26, 2005
Loading...

Share This Page