).Elif(change | counter_done,
source.stb.eq(1),
source.data[:flen(counter.value)].eq(counter.value),
- source.data[-1].eq(1), # Set RLE bit
+ source.data[-1].eq(1), # Set RLE bit
buf.q.ack.eq(source.ack),
If(source.ack,
NextState("BYPASS")
la = LiteScopeLADriver(wb.regs, "la", debug=True)
#cond = {"cnt0" : 128} # trigger on cnt0 = 128
- cond = {} # trigger on cnt0 = 128
+ cond = {} # trigger on cnt0 = 128
la.configure_term(port=0, cond=cond)
la.configure_sum("term")
la.configure_subsampler(1)
if init_dump:
self.vars = init_dump.vars
- def generate_vars(self):
+ def generate_vars(self):
r = ""
for var in self.vars:
r += var.name