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

A mapping entry for resolving Slang virtual interface member accesses. More...

#include <ImportVerilogInternals.h>

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

Public Attributes

const slang::ast::ValueSymbol * base = nullptr
 
StringAttr fieldName
 The name of the field in the lowered virtual interface handle struct that should be accessed for this member.
 

Detailed Description

A mapping entry for resolving Slang virtual interface member accesses.

Slang may resolve vif.member expressions (where vif has a VirtualInterfaceType) directly to a NamedValueExpression for member. This table records which virtual interface base symbol that member access is rooted in, so ImportVerilog can materialize the appropriate Moore IR.

Definition at line 78 of file ImportVerilogInternals.h.

Member Data Documentation

◆ base

const slang::ast::ValueSymbol* circt::ImportVerilog::VirtualInterfaceMemberAccess::base = nullptr

◆ fieldName

StringAttr circt::ImportVerilog::VirtualInterfaceMemberAccess::fieldName

The name of the field in the lowered virtual interface handle struct that should be accessed for this member.

Definition at line 82 of file ImportVerilogInternals.h.

Referenced by circt::ImportVerilog::Context::registerVirtualInterfaceMembers().


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