aeon20 Posted April 3, 2019 Share Posted April 3, 2019 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): 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 More sharing options...
jpeyron Posted April 4, 2019 Share Posted April 4, 2019 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 More sharing options...
Question
aeon20
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):
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
Archived
This topic is now archived and is closed to further replies.