Trying to monitor output of a register instantiates another

S

seanadams

Guest
Using xilinx webpack, XC9536xl CPLD:

I have a latched 8-bit signal which is going to external pins. Then I have another external pin, connected to an LED, which I would like to additionally connect to one of the outputs on this latch. However, if I just do:

led_output <= latch(0)

then it creates another register identical to latch(0), which is not what I want. I just want a single register, with the output going to two pins.

I have even tried making a separate component for the latch, but it still does this. Does anyone know of a trick to just send the output to two pins?
 
How about..

always @( latch[0] ) begin
led_output <= latch[0];
end




"seanadams" <talkabout@seanadams.com> wrote in message
news:198d042a682bee38139e9cf3e61ec942@localhost.talkaboutprogramming.com...
Using xilinx webpack, XC9536xl CPLD:

I have a latched 8-bit signal which is going to external pins. Then I have
another external pin, connected to an LED, which I would like to
additionally connect to one of the outputs on this latch. However, if I just
do:
led_output <= latch(0)

then it creates another register identical to latch(0), which is not what
I want. I just want a single register, with the output going to two pins.

I have even tried making a separate component for the latch, but it still
does this. Does anyone know of a trick to just send the output to two pins?
 

Welcome to EDABoard.com

Sponsor

Back
Top