Skip to content

[#333] Fix for tProcV2 doesnt pause when dispatcher FIFOs are full#345

Merged
meeg merged 9 commits intomainfrom
PR-37-tproc-v2-doesnt-pause-when-dispatcher-fifos-are-full
Jun 24, 2025
Merged

[#333] Fix for tProcV2 doesnt pause when dispatcher FIFOs are full#345
meeg merged 9 commits intomainfrom
PR-37-tproc-v2-doesnt-pause-when-dispatcher-fifos-are-full

Conversation

@ghost
Copy link
Copy Markdown

@ghost ghost commented Jun 24, 2025

Closes #333.

The fix implements a Hazard control for when several writes to the dispatcher FIFOs are being processed in the pipeline and that could lead to a Full event, correctly pausing the core execution but was corrupting some instructions after the core resumes the processing.

As a side fix, it fixes a major issue in the qick_processor where enabling the Debug Output Ports was making the processor to stop working due to a type in one the debug bits mapping.
Fixed also some descriptions and minor wrong width assignments and indentations.

On the software side, created two functions - print_pmem2hex() and print_wmem2hex() - to print the assembly code generated from a jupyter notebook to replicate it in RTL simulations loading the memory contents using $readmemh() call

mmdiego added 6 commits June 13, 2025 10:09
…hen DEBUG=3 is used. Created testbench to replicate demo notebook. Created test project with 1ch to speedup compilation
…stall when processing overlapping PORT_WR instructions
@ghost ghost added this to the Next Release milestone Jun 24, 2025
@ghost ghost assigned meeg Jun 24, 2025
@ghost ghost added bug Something isn't working enhancement New feature or request firmware Anything related to FPGA design labels Jun 24, 2025
qickbot and others added 3 commits June 24, 2025 14:06
…ull' of github.com:openquantumhardware/qick into PR-37-tproc-v2-doesnt-pause-when-dispatcher-fifos-are-full
@ghost ghost requested a review from meeg June 24, 2025 14:13
@ghost ghost marked this pull request as ready for review June 24, 2025 14:19
@meeg meeg merged commit 4770f84 into main Jun 24, 2025
2 checks passed
@meeg meeg deleted the PR-37-tproc-v2-doesnt-pause-when-dispatcher-fifos-are-full branch June 24, 2025 22:37
@meeg meeg mentioned this pull request Jun 28, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working enhancement New feature or request firmware Anything related to FPGA design

Projects

None yet

Development

Successfully merging this pull request may close these issues.

tProc v2 doesn't pause when dispatcher FIFOs are full

3 participants