m-labs / artiq

A leading-edge control system for quantum information experiments
https://m-labs.hk/artiq
GNU Lesser General Public License v3.0
437 stars 201 forks source link

flush dataflow pipeline when analyzer is stopped #263

Closed sbourdeauducq closed 8 years ago

sbourdeauducq commented 8 years ago

Otherwise, when the SDRAM word is larger than the message (as is the case on KC705), some messages may still be in the Converter buffer and only written to SDRAM after the analyzer has been restarted and more messages added.

This requires changes to the stream API of MiSoC to do nicely.

sbourdeauducq commented 8 years ago

Revert this after fixing: https://github.com/m-labs/buildbot-config/commit/3e35528436895813220ed5491670a148fce5f2ca#commitcomment-16638068

sbourdeauducq commented 8 years ago

Done in 8a6873cab25faa22a3be89a3543845e80af3f4dd, untested.

sbourdeauducq commented 8 years ago

Works.