Skip to content

Commit

Permalink
Explicitly insert crossbar
Browse files Browse the repository at this point in the history
  • Loading branch information
Diego Ristè committed May 14, 2019
1 parent 991e64d commit 5939e55
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion QGL/drivers/APS2Pattern.py
Original file line number Diff line number Diff line change
Expand Up @@ -1349,7 +1349,10 @@ def tdm_instructions(seqs):
print('STOREMEAS(channel=%s, addr=0x%x, mapping=0x%x)' %
(str(s.channel), s.addr, s.value))
instructions.append(StoreMeas(s.addr, s.value, label=label))
else: # TODO: add CrossBar (no need for explicit QGL call for TDM)
elif s.instruction == "CROSSBAR":
print("reset CROSSBAR") #temporary
instructions.append(CrossBar(s.addr,s.value,label=label))
else:
print('UNSUPPORTED WriteAddr: %s(channel=%s, addr=0x%x, val=0x%x)' %
(s.instruction, str(s.channel),
s.addr, s.value))
Expand Down

0 comments on commit 5939e55

Please sign in to comment.