Dear all,

During debugging for the new ROACH2 Lovell spectrometer, I've found a potential 
issue with the snapshot block that I'm hoping is a control issue.
The snapshot block is intended to take a 4096-channel slice of spectrum, and 
display it via a GUI at intervals around 1 second. The spectrum appears to 
"dance" around by a few channels, and in particular on larger designs the 
spectrum seems to scroll across the screen. After ruling out issues with the 
Python interface, I found that the snapshot block itself seemed to be 
generating the address incorrectly. In simulation, the address was lagging 
behind the data and write enable by a few clocks per acc, which created the 
scrolling behaviour.

Now, since circular capture is enabled and 0 are inserted to both the trig and 
stop inputs, I'm writing 0b1011 to snap_control. According to the instructions 
(and, on examination, the logic), this should enable repeated capture, ignoring 
both the stop and trig inputs, but obeying the write_enable. Can I check that 
this input is correct?

Actually writing a block to do only what I need it to do is not difficult, but 
I'd prefer to avoid recompiling everything if it is simply a control issue.

Thanks
Michael

Reply via email to