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

Memory reset synchronization in TETC chain #286

Open
aryd opened this issue Aug 4, 2023 · 0 comments
Open

Memory reset synchronization in TETC chain #286

aryd opened this issue Aug 4, 2023 · 0 comments

Comments

@aryd
Copy link
Contributor

aryd commented Aug 4, 2023

In the process of merging PR 277 we had one event with a discrepancy between the simulation of the TETC chain and the emulation. This was tracked down to an issue where the nentry counter in the SP memories were reset before the last processing clock in the TC was finish. This meant that the TC thought it was done processing stub pairs and hence lost the last SP. A fix was provided in which the nentries are saved locally in the TC module to not be affected by the overwriting of the nentries in the SP memory. I did not track down the source of this problem, but I wonder if it is related to the warning from the rewind pragma in the TC module that states that it can not start processing on the first clock. This would then delay the processing of the last SP and could cause this problem.

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

No branches or pull requests

1 participant