Presentation is loading. Please wait.

Presentation is loading. Please wait.

Verification work 20.03.14 Arild Velure. Goals As only part of the final functionality has been implemented for this MPW1, the focus for the testing has.

Similar presentations


Presentation on theme: "Verification work 20.03.14 Arild Velure. Goals As only part of the final functionality has been implemented for this MPW1, the focus for the testing has."— Presentation transcript:

1 Verification work 20.03.14 Arild Velure

2 Goals As only part of the final functionality has been implemented for this MPW1, the focus for the testing has been to verify the basic functionality of the digital part to see that it is not malfunctioning or hampering the testing of the analog part. A top-down approach has thus been utilized

3 SAMPA Testbench overview AMS RND sysC Physics DDL* Buffer + + filter models Select & compare Config *2010 TPC ALTRO data Test seq. CH*10 4*serial out Instruction serial I/O Finished Partly finished Not started SAMPA verilog code

4 Default MPW1 configuration Pre trigger / Trigger delay = 0 BC1 = data in – fixed pedestal – Fixed pedestal = 0 -> BC1 disabled Tail cancelation filter = disabled – Coeffecients = 0 BC2 moving average = enabled – pre/post samples = 7 (max) Time window = 1021 samples Trigger mode = Continous Number of serial out = all Zero supression threshold = 10

5 Verification work completed pre+post layout + timing Data+header verification of serial output data vs realistic/random input data – All channels inn and out simultaneously – Default configuration with BC2 disabled – Continous and triggered mode – Ran for 20 timewindows ~2sec Instruction serial interface – Write random data, receive acknowledge of same data – Read back of same data Mux output verification

6 Work remaining Verifying filters Verify buffer sizes – Not needed for MPW1 as long as we run serial out at more than 10 times ADC speed – We have 2 master students currently working on making the simulation Adding analogue and ADC model

7 Test overview TestToggle/set pinSpecific setupResultVerified byCompletedComment Sync Bxcountersync Reset BxcounterCheck header serial outNO trigger in trigger modetrgTrigger modeDevice is triggereddata in vs data outYES trigger in continous modetrgContinous modeNo change in data, early trigger bit setdata in vs data outYES Set chip addresshaddChip address usedCheck header serial outYES Choose between ADCdin0 and MPW1_dinOUTSIDEMPW1_selectIn0 selects ADCdin0, 1 selects MPW1_dinOUTSIDEdata in vs data outYES Data in, 1 serial outMPW1_numSerialOutMPW1_numSerialOut = 01Correct data and at correct serial outdata in vs data out + headerYES Data in, 2 serial outMPW1_numSerialOutMPW1_numSerialOut = 02Correct data and at correct serial outdata in vs data out + headerYES Data in, 4 serial outMPW1_numSerialOutMPW1_numSerialOut = 03Correct data and at correct serial outdata in vs data out + headerYES Mux out, BC1MPW1_selectOutMPW1_selectOut = 000ADCdin0/MPW1_dinOUTSIDE data from output of BC1data in vs data outYES Mux out, TCFUMPW1_selectOutMPW1_selectOut = 001ADCdin0/MPW1_dinOUTSIDE data from output of TCFUdata in vs data outYES Mux out, BC2MPW1_selectOutMPW1_selectOut = 010ADCdin0/MPW1_dinOUTSIDE data from output of BC2data in vs data outYES Mux out, ZSUMPW1_selectOutMPW1_selectOut = 011ADCdin0/MPW1_dinOUTSIDE data from output of ZSUdata in vs data outYES Mux out, ADCdin0MPW1_selectOutMPW1_selectOut = 100ADCdin0 datadata in vs data outYES Mux out, din8MPW1_selectOutMPW1_selectOut = 101Din8 datadata in vs data outYES Mux out, din16MPW1_selectOutMPW1_selectOut = 110Din16 datadata in vs data outYES enable/disable BC1 filterMPW1_enBC1Set FPD to specific valuedata out = data in - FPD when 1 else dataout=dataindata in vs data outNO Filter not implemented in TB enable/disable TCFU filterMPW1_enTCFUenable TCFUCorrect datadata in vs data outNO Filter not implemented in TB enable/disable BC2 filterMPW1_enBC2data out = data in - average when 1 else dataout=dataindata in vs data outNO Filter not implemented in TB enable/disable ZSU filterMPW1_enZSUSet ZSU thresholdCorrect data recovereddata in vs data outNO Filter not implemented in TB

8 Notes As the data formating was not updated, there are 3 samples that are not recorded at end of each timewindow SAMPA code has been lint’ed to discover and remove many bugs

9 TB code https://svnweb.cern.ch/cern/wsvn/SAMPA https://svn.cern.ch/reps/SAMPA


Download ppt "Verification work 20.03.14 Arild Velure. Goals As only part of the final functionality has been implemented for this MPW1, the focus for the testing has."

Similar presentations


Ads by Google