Jump to content
  • 0

How to connect something to multiple inputs on different blocks?


aeon20

Question

Please consider the following block diagram (from here https://reference.digilentinc.com/vivado/getting-started-with-ipi/start?_ga=2.35038633.906437217.1554114007-924004044.1549634437 but with a utility vector logic block added):

block_diagram3.thumb.jpg.3d62cfb86c6e0836430197e23caeeebd.jpg

 

I want push_buttons_5bits to remain connected to GPIO2, so I can read from them directly, like before.

However, I also want two bits, e.g. bit 0 and bit 1 from push_buttons_5bits to be connected to Op1 and Op2.

This has no purpose whatsoever, I'm just learning and would like to be able to read in my C code the result of the and gate.

Link to comment
Share on other sites

1 answer to this question

Recommended Posts

Hi @aeon20,

I am not aware of an IP that demux the [0,4] output easily. I would think the easiest way to gain access to the first and second pin of the push_buttons_5bits  would be to write some VHDL/Verilog and demux signal 0 and signal 1 and then use the utility vector to use an and gate with the two signals.

best regards,

Jon 

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...