Re: Re: [casper] ROACH2 QDR testing address problem

2020-12-21 Thread zhang laiyu
205 Institute of High Energy Physics, CAS web: http://www.ihep.cas.cn > -原始邮件- 发件人:"Jack Hickish" 发送时间:2020-12-21 19:29:19 (星期一) 收件人: casper 抄送: sebastian.jorqu...@ug.uchile.cl 主题: Re: [casper] ROACH2 QDR

Re: [casper] ROACH2 QDR testing address problem

2020-12-21 Thread Jack Hickish
I'm not sure how that particular script / firmware works, but in general, a single read/write action in the ROACH2 QDR transfers 144 bits. The granularity of the python read writes is 32-bits, so what actually happens is that a read from casperfpga grabs 144 bytes, carves it up into 4x36 bit

[casper] ROACH2 QDR testing address problem

2020-12-21 Thread zhang laiyu
Hi Thanks for your help. The firmware and python script had worked (qdr_basic and qdr_counter).I can get the plot. But I can not understand the PPC readout script in qdr_counter.py thoroughly .The address is really weird. After studying the wiki of the CASPER QDR yellow block and