Skip to content

Fix missing ASM hang line in --dump-aie-status#27

Closed
jyothees99 wants to merge 2 commits into
Xilinx:mainfrom
jyothees99:fix-asm-hang-line-dump-aie-status
Closed

Fix missing ASM hang line in --dump-aie-status#27
jyothees99 wants to merge 2 commits into
Xilinx:mainfrom
jyothees99:fix-asm-hang-line-dump-aie-status

Conversation

@jyothees99

Copy link
Copy Markdown

The --dump-aie-status path called AIEStatus.get() without forwarding the resolved debug_map.json path, so debug_map_json defaulted to None and the ASM hang line (ASM_OPCODE/ASM_OPCODE_LINE/ASM_OPCODE_FILE) was never emitted.

  • Forward args.debug_map_json into get() in launch_debug, guarded by an os.path.exists check that warns and degrades when the map is missing.
  • Harden _get_uc_status to skip (with a warning) instead of raising when the debug_map_json path does not exist.

jyothees99 and others added 2 commits June 24, 2026 23:58
The --dump-aie-status path called AIEStatus.get() without forwarding the
resolved debug_map.json path, so debug_map_json defaulted to None and the
ASM hang line (ASM_OPCODE/ASM_OPCODE_LINE/ASM_OPCODE_FILE) was never emitted.

- Forward args.debug_map_json into get() in launch_debug, guarded by an
  os.path.exists check that warns and degrades when the map is missing.
- Harden _get_uc_status to skip (with a warning) instead of raising when the
  debug_map_json path does not exist.

Co-authored-by: Cursor <cursoragent@cursor.com>
Centralize debug_map.json resolution so the ASM hang line is emitted by every
status entry point (--dump-aie-status, --exec "status()"/"uc_status()", and the
interactive a/u commands), not just --dump-aie-status.

- AIEStatus stores a default debug_map_json (from args) at construction;
  update() and get_uc_status() fall back to it when callers pass None.
- ClientDebug forwards args.debug_map_json into the AIEStatus constructor.
- Drop the now-redundant explicit pass/guard in the --dump-aie-status branch.

Co-authored-by: Cursor <cursoragent@cursor.com>
@jyothees99 jyothees99 closed this Jun 25, 2026
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.

1 participant