Loading [MathJax]/extensions/tex2jax.js
CIRCT 21.0.0git
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Public Attributes | List of all members
circt::llhd::deseq::DriveInfo Struct Reference

A drive op and the clock and reset that resulted from trigger analysis. More...

#include <DeseqUtils.h>

Collaboration diagram for circt::llhd::deseq::DriveInfo:
Collaboration graph
[legend]

Public Member Functions

 DriveInfo ()
 
 DriveInfo (DrvOp op)
 

Public Attributes

DrvOp op
 The drive operation.
 
ClockInfo clock
 The clock that triggers a change to the driven value.
 
ResetInfo reset
 The optional reset that triggers a change of the driven value to a fixed reset value.
 

Detailed Description

A drive op and the clock and reset that resulted from trigger analysis.

A process may describe multiple clock and reset triggers, but since the registers we lower to only allow a single clock and a single reset, this struct tracks a single clock and reset, respectively. Processes describing multiple clocks or resets are skipped.

Definition at line 216 of file DeseqUtils.h.

Constructor & Destructor Documentation

◆ DriveInfo() [1/2]

circt::llhd::deseq::DriveInfo::DriveInfo ( )
inline

Definition at line 226 of file DeseqUtils.h.

◆ DriveInfo() [2/2]

circt::llhd::deseq::DriveInfo::DriveInfo ( DrvOp  op)
inlineexplicit

Definition at line 227 of file DeseqUtils.h.

Member Data Documentation

◆ clock

ClockInfo circt::llhd::deseq::DriveInfo::clock

The clock that triggers a change to the driven value.

Guaranteed to be non-null.

Definition at line 221 of file DeseqUtils.h.

◆ op

DrvOp circt::llhd::deseq::DriveInfo::op

The drive operation.

Definition at line 218 of file DeseqUtils.h.

◆ reset

ResetInfo circt::llhd::deseq::DriveInfo::reset

The optional reset that triggers a change of the driven value to a fixed reset value.

Null if no reset was detected.

Definition at line 224 of file DeseqUtils.h.


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