Skip to content

[P0] Conv test numerical value mismatch #292

@guosran

Description

@guosran

Summary

The expected numerical return is not produced. The CPU-visible packet from tile 2 is CMD_COMPLETE with data=0, while the test expects 4200 for an all-ones A/B preload.

Current code has been committed to: zeonica-conv-validation.

Current Evidence

Observed packets:

cpu_pkt: cycle 42145 src 9 cmd 14 data 0
cpu_pkt: cycle 42146 src 2 cmd 14 data 0

Expected sink packet:

src=2 cmd=CMD_COMPLETE data=4200 predicate=1

Received:

src=2 cmd=CMD_COMPLETE data=0 predicate=0

Interpretation

The likely failing area is the final return path around core 2:

  • YAML has RETURN_VALUE on core 2 at time_step: 12, index_per_ii: 2, invalid_iterations: 2.
  • Generated core 2 config includes:
    • addr 1: OPT_GRT_PRED
    • addr 2: OPT_RET
  • The visible src=2,data=0 appears to be the tile completion packet, not a valid RETURN_VALUE carrying the accumulated value.
  • Extending total ctrl steps by 20 delayed completion but still returned data=0, so this does not appear to be a simple off-by-one total-cycle cutoff.

Visualization

Image

Metadata

Metadata

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions