llvm / llvm/circt

[FIRRTL] Reject symbols on non-hw things in verifier

Open
#6,050 1 comment 0 reactions 0 assignees View on GitHub
FIRRTL
Dominant language
C++
Stars
2.2k
Forks
524
Avg merge
3d 2h
Merged PRs (30d)
46

Description

There are use-cases for this to make sense, but inner symbols are untyped yet often expect/required to always point to something that will have a final path in, e.g., emitted verilog.

To ensure there are no silent breakages/surprises, pro-actively reject symbols (ports, wires) that target non-hw (in whole or part).

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by locating the FIRRTL verifier and how it validates symbols on ports and wires. Determine how targets that are non-hw in whole or in part are represented, then make verification reject those cases and confirm that symbols always target things eligible for a final path.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
compilers
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.