llvm / llvm/circt

[HGLDD] Emit HW struct and array types

Open
#6,816 7 comments 0 reactions 0 assignees View on GitHub
Debug good first issue
Dominant language
C++
Stars
2.2k
Forks
524
Avg merge
3d 2h
Merged PRs (30d)
46

Description

The `EmitHGLDD` target can emit the necessary HGLDD JSON bits to encode arrays and structs when it sees `dbg.array` and `dbg.struct` operations, but it ignores `dbg.variable` ops with `!hw.array` and `!hw.struct` types. Supporting these native HW types and creating the corresponding JSON structures should be fairly straightforward.

Contributor guide

No contributing guide indexed for this repository

Research direction

Locate the EmitHGLDD implementation and inspect how dbg.array and dbg.struct operations become HGLDD JSON. Trace handling for dbg.variable operations with !hw.array and !hw.struct types, then verify that the corresponding native HW type structures are emitted consistently.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
compilers
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.