Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Firmware release: LHC stable beams #33

Open
wants to merge 126 commits into
base: master
Choose a base branch
from
Open

Firmware release: LHC stable beams #33

wants to merge 126 commits into from

Conversation

dfinogee
Copy link
Collaborator

@dfinogee dfinogee commented Jul 4, 2022

No description provided.

dfinogee and others added 30 commits January 26, 2021 12:43
- F6 -microcode timestamp
- HDMI on/off
- BC-correlator for ora orc configurable
- tcm board v0 renamed to tcm_proto
- F6 -microcode timestamp
- HDMI on/off
- BC-correlator for ora orc configurable
- tcm board v0 renamed to tcm_protoMerge branch 'temp' into Serebr-dev
- HDMI sync fix
- SPI reset command sent by TCM and act on PM even SPI is off.
- avto HDMI resync after HDMI reset
- bit files added
- SGMII/BASE-X autodetect improved to work with switch capable of both protocols on optical transceivers.
- HDMI link synchronization algorithm fixes.
update while tests at CERN Apr 21
- full readout project was reimplemented
- python simulation outputs test was reimplemented
- readout project was tested with simulation
- FTM, PM+TCM was tested with HW tests at INR
ip BC_corr_mem fixed
-- selector start/stop send data fsm reimplemented
-- python simulation adopted to new fsm
-- some bug fixed
- readout bypass mode
- HBr option
- TCM readout data in reg added to meet timing
- BC corr fix
- ltu decoder fix
- BC ind ignore TCM laser events
- gen mode type renamed
- ltu decored mark_debug
- rx sync fix. ltu decoder was right
- phase err reset fix
- rx sync reset after force_idle
- rdbypass reset now 15 cycles
- trg fifo is 4096 now
- trg fifo masked
- bin updated, typo fixed
- data flow in selector is regulated from ltu_decred
- continue run w/o SOR/EOR trigger
- python simulation updated
- erros for PM packet errors
- PM void packet is work now
- Zero packets in simulation now
- Converter PM ready for wrong packets
- PM wrong void packet fix
dfinogee added 30 commits July 14, 2022 19:36
- ila connected
- some bugs fixed
- included to all projects
- PM compilation Explore -> ExploreWithRemap
- IsData flag checked in FSM
- LTU emu updated (generate IsData during the run like LTU)
- Tested in Simulation
- Tested with PM at INR
- also build_local.sh fixed
- now CRU run status check with is_data only in HB, Orbit
- run is restored when CRU running for two orbits in sequence
- waiting fifos are empty for RUN restore
- new run recover procedure tested in simulation
- reset_err_report added to simulation
- bug found in vivado simulator: writing/reading data to/from file depends on variables declaration order in status/control type. Current order works.
- CRU readout status fixed
- control test macro was implemented for toggling force_idle with delay 0..50 orbits for RUN restore testing
- also: error report reset by general reset
- tested
Error report 'sync lost' can store all GBT words or only with flag is_data, is controlled by bit 0(26) 'ErrRep SLost all gbtw'.
new BC synchronization logic:
- BC shift apply is avaliable while CRU is in RUN state
- if event id from cru is not equal local counter bc_slost_cnt is incremented
- when bc_slost_cnt becomes bc_slost_cnt_max ( = 1) bc_sync_lost error raised
- each time event id from cru is not equal local counter, err_counter (reg2 bits 15..8) is incremented, the counter resets with fsm_reset or by reset orbit sync command
- error report generated for each time event id from cru is not equal local counter in a run
now order is EVID sync -> BC apply -> start the run
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants