CIRCT 24.0.0git
Loading...
Searching...
No Matches
circt::ImportVerilog::PortLowering Struct Reference

Port lowering information. More...

#include <ImportVerilogInternals.h>

Collaboration diagram for circt::ImportVerilog::PortLowering:

Public Attributes

const slang::ast::PortSymbol & ast
Location loc
BlockArgument arg
std::optional< unsigned > outputIdx
 Slot index in the module signature.
std::optional< unsigned > inputIdx

Detailed Description

Port lowering information.

Definition at line 48 of file ImportVerilogInternals.h.

Member Data Documentation

◆ arg

BlockArgument circt::ImportVerilog::PortLowering::arg

Definition at line 51 of file ImportVerilogInternals.h.

◆ ast

const slang::ast::PortSymbol& circt::ImportVerilog::PortLowering::ast

Definition at line 49 of file ImportVerilogInternals.h.

◆ inputIdx

std::optional<unsigned> circt::ImportVerilog::PortLowering::inputIdx

Definition at line 56 of file ImportVerilogInternals.h.

◆ loc

Location circt::ImportVerilog::PortLowering::loc

Definition at line 50 of file ImportVerilogInternals.h.

◆ outputIdx

std::optional<unsigned> circt::ImportVerilog::PortLowering::outputIdx

Slot index in the module signature.

outputIdx is set for outputs; inputIdx is set for inputs and inouts. Regular and expanded interface-modport ports share one numbering per direction.

Definition at line 55 of file ImportVerilogInternals.h.


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