- Edited
In our experiment we have the following demand for logic control of 4 TTL channels. Three of these channels should be taking input signals, marked as ttl0
, ttl1
and ttl2
. The fourth channel, marked as ttl_out
, is set as output. We hope that the output signal of ttl_out
is the same as the input of ttl1
when ttl0
is off, and the same as the input of ttl2
when ttl0
is on. To put it more clearly, we need the output of ttl_out
to be (!ttl0 & ttl1) | (ttl0 & ttl2)
. This is a simple function for a normal FPGA developer board, but how could I accomplish this task on ARTIQ?