[INSTRM-709] Allow new ics_xcu_fpga code to run with old ADC boards. Created: 16/Jul/19  Updated: 27/May/20  Resolved: 27/May/20

Status: Done
Project: Instrument control development
Component/s: ics_xcu_fpga
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Normal
Reporter: cloomis Assignee: cloomis
Resolution: Done Votes: 0
Labels: SM1, SPS
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Story Points: 3
Sprint: SM1-2019 L, SM1-2019 M, SM1-2019 N, SM1PD-2019 E, SM1PD-2020 A

 Description   

The last tag on ics_xcu_fpga was for the old ADC boards. Since then INSTRM-616 with most of the development for the new ADC boards has been merged, and we want to run with that code.

The intent was to switch old to new hardware everywhere and never look back. Sadly, we will be running with the old ADC boards for a while, and we need to make the code run with both.

The main issues come from the polarity switch on the IR clock. This affects the clocking tables, which I unfortunately implemented in terms of the signal and not the logic. It also affects the FEE initialization, where the old card has a special clocking sequence on power up in order not to fry some part in the integrator circuit.

The other problem is with the FPGA image. I'm pretty sure that the new image will work with the old ADC cards, but need to check.



 Comments   
Comment by cloomis [ 27/May/20 ]

Decided that since this will only ever be used with b1 and r1 at Subaru, and that for a short time, there was no point in doing something general. Basically, id the ccdActor's config file has adcVersion = old, we configure the FPGA differently.

ics_xcu_fpga merged at 07d6058, tagged 82.1.0
ics_ccdActor merged at f70eccd, tagged 1.6.0

Generated at Sat Feb 10 16:27:50 JST 2024 using Jira 8.3.4#803005-sha1:1f96e09b3c60279a408a2ae47be3c745f571388b.