1. 12 Feb, 2021 1 commit
  2. 11 Feb, 2021 4 commits
  3. 10 Feb, 2021 4 commits
    • Federico Vaga's avatar
      8e28ad7c
    • Federico Vaga's avatar
      sw:drv: what for previous shot completion · 2a83d638
      Federico Vaga authored
      With the MBLT implementation we can't anymore prepare the memory in
      advance, and then execute a single DMA transfer for multiple shots.
      Instead we have to handle sequentially each shot with a dedicated DMA
      transfer.
      
      The previous implementation was relying on the fact that the SVEC DDR
      offset gets incremented automatically when fetching a word in single
      transfer mode, and that there is no gap between two consecutive shots.
      So the transition between a shot and the next one was handled
      automatically at the FPGA level.
      
      The data pre-fetch mechanism in the MBLT implementation increases the
      throughput. To do this the VME slave core, fetches the next data in
      DDR in advance, and this moves the DDR offset pointer. At the end of
      a DMA transfer the DDR offset will not point to the last word, but
      to some address after it (it depends on the pre-fetch size).
      
      For example, a 16 bytes acquisition from DDR offset 0x0000 with
      pre-fetch 4 bytes will shift the DDR offset register to 0x0014
      
          final DDR offset = initial DDR offset + length + pre-fetch-size
                    0x0014 = 0x0000             + 0x0010 + 0x0004
      
      This means that in our ADC acquisition we must set again the DDR
      offset for the following shot (multishot mode), to the address
      0x0010. Otherwise the each shot acquisition will be shifted by
      pre-fetch-size number of bytes.
      Signed-off-by: Federico Vaga's avatarFederico Vaga <federico.vaga@cern.ch>
      2a83d638
    • Federico Vaga's avatar
      sw:drv: fix bug in error handling · 70394ed7
      Federico Vaga authored
      Signed-off-by: Federico Vaga's avatarFederico Vaga <federico.vaga@cern.ch>
      70394ed7
    • Tristan Gingold's avatar
      Add generated kernel headers · 952e85c0
      Tristan Gingold authored
      952e85c0
  4. 08 Feb, 2021 2 commits
  5. 28 Jan, 2021 1 commit
  6. 05 Jan, 2021 2 commits
  7. 14 Dec, 2020 3 commits
  8. 04 Dec, 2020 1 commit
  9. 26 Nov, 2020 2 commits
  10. 24 Nov, 2020 2 commits
  11. 23 Nov, 2020 1 commit
  12. 20 Nov, 2020 1 commit
  13. 19 Nov, 2020 5 commits
  14. 18 Nov, 2020 8 commits
  15. 21 Oct, 2020 2 commits
  16. 07 Oct, 2020 1 commit