1 programming of fpga in licas adc for continuous data readout week 7 report friday 15 th august...

8
1 Programming of FPGA in LiCAS ADC for Continuous Data Readout Week 7 Report Friday 15 th August 2008 Jack Hickish

Upload: daniel-franklin

Post on 18-Jan-2018

215 views

Category:

Documents


0 download

DESCRIPTION

3 Since then... External FIFO Switched to using external FIFO as main buffer. Reason: it's about 100 times bigger than the internal FIFO. Could have done this from the beginning, but internal FIFO was easier to work with and simulate. But not much, in the end.

TRANSCRIPT

Page 1: 1 Programming of FPGA in LiCAS ADC for Continuous Data Readout Week 7 Report Friday 15 th August 2008 Jack Hickish

1

Programming of FPGAin LiCAS ADC for

Continuous Data Readout

Week 7 ReportFriday 15th August 2008

Jack Hickish

Page 2: 1 Programming of FPGA in LiCAS ADC for Continuous Data Readout Week 7 Report Friday 15 th August 2008 Jack Hickish

2

Progress Last Week

Implemented error checking system – both continuous and single “get status” methods

Page 3: 1 Programming of FPGA in LiCAS ADC for Continuous Data Readout Week 7 Report Friday 15 th August 2008 Jack Hickish

3

Since then...

External FIFO

Switched to using external FIFO as main buffer. Reason: it's about 100 times bigger than the internal FIFO.

Could have done this from the beginning, but internal FIFO was easier to work with and simulate. But not much, in the end.

Page 4: 1 Programming of FPGA in LiCAS ADC for Continuous Data Readout Week 7 Report Friday 15 th August 2008 Jack Hickish

4

Speed TestTest 1

Data received over USB but not written to disk.

Maximum speed: 7 channels full speed (This is theoretical maximum for FPGA)

Test 2

Data received and written (without analysis/checking/combining bytes) to file. File closed.

File reopened and overwritten with new data.

Cycle continuously, checking full LED for signs of error.

Page 5: 1 Programming of FPGA in LiCAS ADC for Continuous Data Readout Week 7 Report Friday 15 th August 2008 Jack Hickish

5

Speed Test

Page 6: 1 Programming of FPGA in LiCAS ADC for Continuous Data Readout Week 7 Report Friday 15 th August 2008 Jack Hickish

6

Speed Test

Unable to do better than 1 channel at half speed – (1.4 million samples per second) or 2.8MB/s

If all 16 channels were being used, this equates to 87kHz per channel.

An overnight test showed 1.5 hrs error free data acquisition at this speed.

However, Ian's new binary file writer is much faster (around 8 times).

Page 7: 1 Programming of FPGA in LiCAS ADC for Continuous Data Readout Week 7 Report Friday 15 th August 2008 Jack Hickish

7

New test function implemented, which will allow data to be simulated at the earliest point in the FPGA.

Allows testing of new accumulators.

Simulated data is also different for each channel, can help check bits of data are not being lost to timing lags.

New Test Mode

Page 8: 1 Programming of FPGA in LiCAS ADC for Continuous Data Readout Week 7 Report Friday 15 th August 2008 Jack Hickish

8

Test everything.

Make sure it all works.

The Week Ahead...