Forum Discussion
Altera_Forum
Honored Contributor
16 years ago --- Quote Start --- You have to think about signal direction. you are connecting "someSignal" to an input of LED_FLASHER. Basically 1 clock is connecting to multiple destinations. That is fine. When is not fine is when you try and put lots of different things into 1 signal. Basically, what you are trying to do is this:
_____________
| |
clk------> | LED_FLASHER | --------> led_number1
| |_____________|
|
|
| _____________
| | |
`---> | LED_FLASHER | --------> led_number2
|_____________|
--- Quote End --- Thank you very much once again Tricky. What's happening in the code is something like:
_____________
| |
clk1------> | LED_FLASHER | --------> led_number1
|_____________|
_____________
| |
clk2------> | LED_FLASHER | --------> led_number2
|_____________|
--- Quote End --- I cant understand what would happen in this case. There is only one input and one output in LED_FLASHER. And the program is using this to flash TWO leds using TWO clocks. Thank you again.