The ordered naming rules behind the visual categories.
Type inference and colors
Type wins, then instance name
The inference function scans the class type first and the instance name second. The first matching category wins, so rule order is meaningful.
| Category | Recognized substrings |
|---|---|
| Environment | env |
| Agent | agent |
| Driver | driver, drv |
| Monitor | monitor, mon |
| Sequencer | sequencer, seqr |
| Scoreboard | scoreboard, sb |
| Sequence | sequence, seq |
| Test | test |
| Register / RAL | reg_block, _rm, ral |
| Unknown | No rule matched |
A category is a display hint
Inference uses substrings, not UVM reflection or source analysis. Unconventional names can appear as Unknown, and an ambiguous name follows the first matching rule. Edit src/typeInference.js and its tests when a team's naming scheme needs different behavior.