Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
17 years ago

How to use a "SIGNAL" in different componet?

Hi,Experts,

Please bear me with another newbie question:

I declared a signal in a component say "component1". The type of this signal is a integer. I calculated it in component1 and got the value of "1000".

Now, I want to use this signal in "component2". How should I do that?

Thanks a lot!

:rolleyes:

-ecenus

1 Reply

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Components are "connected" by wiríng signals. Clearly, a signal can have only one source.