E N D
Verificationwork 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 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
Testbenchoverview Test seq. Config Instructionserial I/O Physics AMS SAMPA Select & compare 4*serialout RND CH*10 DDL* sysC Buffer + + filter models SAMPA verilogcode Finished *2010 TPC ALTRO data Partlyfinished Not started
Default MPW1 configuration • Pre trigger / Trigger delay = 0 • BC1 = data in – fixedpedestal • Fixedpedestal = 0 -> BC1 disabled • Tailcancelation filter = disabled • Coeffecients = 0 • BC2 movingaverage = enabled • pre/post samples = 7 (max) • Time window = 1021 samples • Trigger mode = Continous • Numberofserialout = all • Zero supressionthreshold = 10
Verificationworkcompletedpre+postlayout + 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
Workremaining • 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
Notes • As the data formatingwas not updated, thereare 3 samples thatare not recorded at end ofeachtimewindow • SAMPA code has beenlint’ed to discover and removemanybugs
TB code • https://svnweb.cern.ch/cern/wsvn/SAMPA • https://svn.cern.ch/reps/SAMPA