CIRCT 23.0.0git
Loading...
Searching...
No Matches
Public Attributes | List of all members
circt::ImportVerilog::HierPathInfo Struct Reference

Hierarchical path information. More...

#include <ImportVerilogInternals.h>

Collaboration diagram for circt::ImportVerilog::HierPathInfo:
Collaboration graph
[legend]

Public Attributes

mlir::StringAttr hierName
 
std::optional< unsigned int > idx
 
slang::ast::ArgumentDirection direction
 
llvm::SmallVector< std::pair< const slang::ast::ValueSymbol *, const slang::ast::InstanceBodySymbol * >, 2 > valueSyms
 The symbols this path resolves to, each paired with the elaborated instance body it was observed in.
 

Detailed Description

Hierarchical path information.

The "hierName" means a different hierarchical name at different module levels. The "idx" means where the current hierarchical name is on the portlists. The "direction" means hierarchical names whether downward(In) or upward(Out).

Definition at line 158 of file ImportVerilogInternals.h.

Member Data Documentation

◆ direction

slang::ast::ArgumentDirection circt::ImportVerilog::HierPathInfo::direction

Definition at line 161 of file ImportVerilogInternals.h.

◆ hierName

mlir::StringAttr circt::ImportVerilog::HierPathInfo::hierName

Definition at line 159 of file ImportVerilogInternals.h.

◆ idx

std::optional<unsigned int> circt::ImportVerilog::HierPathInfo::idx

Definition at line 160 of file ImportVerilogInternals.h.

◆ valueSyms

llvm::SmallVector<std::pair<const slang::ast::ValueSymbol *, const slang::ast::InstanceBodySymbol *>, 2> circt::ImportVerilog::HierPathInfo::valueSyms

The symbols this path resolves to, each paired with the elaborated instance body it was observed in.

Sibling instances elaborate the same logical variable to distinct symbol objects. The pairing lets instance wiring bind each one to the right instance.

Definition at line 170 of file ImportVerilogInternals.h.


The documentation for this struct was generated from the following file: