lnls-dig / lnls-dig/fofb-ctrl-gw

Magic bitstream

Open
#39 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
VHDL
Stars
1
Forks
2
PR merge metrics
No merged PRs in 30d

Description

We've been facing undefined behavior with the latest commits' builds. These behaviors aren't deterministic: they only occur on some controllers. Some examples are:
- Not being able to write the correction matrix;
- Not being able to write the filters' coefficients;
- Not being able to sync DCC network;
- Some correctors having "pulsating" current readings.

The main hypothesis at the moment is a lack of timing constraints which is only revealed when the design becomes more congested.

There is a bitstream which is functionally identical to `master` (c86a1ea7fcd51e24f97d31fa725a06c02d3a3b8a) and works well, but it was built with a local commit that doesn't belong to git history anymore. I've pushed its [branch](https://github.com/lnls-dig/fofb-ctrl-gw/tree/magic-commit) and I'm attaching the bitstream to this issue.

[afcv4_ref_fofb_ctrl-2024-05-10-a46b56a4b4.zip](https://github.com/user-attachments/files/17512416/afcv4_ref_fofb_ctrl-2024-05-10-a46b56a4b4.zip)

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by comparing the magic-commit branch and attached bitstream with master at c86a1ea7fcd51e24f97d31fa725a06c02d3a3b8a. Reproduce the controller-specific failures and investigate whether timing constraints explain the correction matrix, filter coefficient, DCC sync, and pulsating-current issues. Done means the affected functions behave deterministically on the controllers where they currently fail.

Written by the indexing model from the issue text.

Assessment

Domain
embedded-iot
Issue type
Bug
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.