CIRCT 24.0.0git
Loading...
Searching...
No Matches
circt::firrtl::FieldSource::PathNode Struct Reference

#include <FIRRTLFieldSource.h>

Collaboration diagram for circt::firrtl::FieldSource::PathNode:

Public Member Functions

 PathNode (Value src, ArrayRef< int64_t > ar, Flow flow)
bool isRoot () const
 Roots are operations which define the storage or aggregate value.
bool isSrcWritable () const
 Writable sources can appear as a LHS of a connect given this node's path.
bool isSrcTransparent () const
 Transparent sources reflect a value written to them in the same cycle it is written.

Public Attributes

Value src
Flow flow
SmallVector< int64_t, 4 > path

Detailed Description

Definition at line 32 of file FIRRTLFieldSource.h.

Constructor & Destructor Documentation

◆ PathNode()

circt::firrtl::FieldSource::PathNode::PathNode ( Value src,
ArrayRef< int64_t > ar,
Flow flow )
inline

Definition at line 33 of file FIRRTLFieldSource.h.

References flow, path, and src.

Member Function Documentation

◆ isRoot()

bool circt::firrtl::FieldSource::PathNode::isRoot ( ) const
inline

Roots are operations which define the storage or aggregate value.

Definition at line 40 of file FIRRTLFieldSource.h.

References path.

◆ isSrcTransparent()

bool circt::firrtl::FieldSource::PathNode::isSrcTransparent ( ) const
inline

Transparent sources reflect a value written to them in the same cycle it is written.

These are sources which provide dataflow backwards in SSA during one logical execution of a module body. A port may be transparent (no storage), but not be writable from the side of the instance we are on.

Definition at line 51 of file FIRRTLFieldSource.h.

References src.

◆ isSrcWritable()

bool circt::firrtl::FieldSource::PathNode::isSrcWritable ( ) const
inline

Writable sources can appear as a LHS of a connect given this node's path.

Definition at line 44 of file FIRRTLFieldSource.h.

References flow, and circt::firrtl::Source.

Member Data Documentation

◆ flow

Flow circt::firrtl::FieldSource::PathNode::flow

Definition at line 36 of file FIRRTLFieldSource.h.

Referenced by isSrcWritable(), and PathNode().

◆ path

SmallVector<int64_t, 4> circt::firrtl::FieldSource::PathNode::path

Definition at line 37 of file FIRRTLFieldSource.h.

Referenced by isRoot(), and PathNode().

◆ src

Value circt::firrtl::FieldSource::PathNode::src

Definition at line 35 of file FIRRTLFieldSource.h.

Referenced by isSrcTransparent(), and PathNode().


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