HAL
hal::CPBehaviorEntry Class Reference

A BooleanFunctionTableEntry that represents a clear-preset behavior. More...

#include <boolean_function_table_model.h>

Inheritance diagram for hal::CPBehaviorEntry:
Inheritance graph
Collaboration diagram for hal::CPBehaviorEntry:
Collaboration graph

Public Member Functions

 CPBehaviorEntry (u32 gateId, std::pair< hal::AsyncSetResetBehavior, hal::AsyncSetResetBehavior > cPBehavior)
 
std::pair< hal::AsyncSetResetBehavior, hal::AsyncSetResetBehaviorgetCPBehavior () const
 
- Public Member Functions inherited from hal::BooleanFunctionTableEntry
 BooleanFunctionTableEntry (u32 gateId)
 
QString getEntryIdentifier () const
 
QString getEntryValueString () const
 
u32 getGateId () const
 
EntryType getEntryType () const
 
virtual QString getPythonCode ()
 

Additional Inherited Members

- Public Types inherited from hal::BooleanFunctionTableEntry
enum class  EntryType {
  BooleanFunctionStandard , CPBehavior , StateComp , FFComp ,
  LatchComp
}
 
- Protected Attributes inherited from hal::BooleanFunctionTableEntry
QString mLeft
 
QString mRight
 
u32 mGateId
 
EntryType mType
 

Detailed Description

A BooleanFunctionTableEntry that represents a clear-preset behavior.

Definition at line 225 of file boolean_function_table_model.h.

Constructor & Destructor Documentation

◆ CPBehaviorEntry()

hal::CPBehaviorEntry::CPBehaviorEntry ( u32  gateId,
std::pair< hal::AsyncSetResetBehavior, hal::AsyncSetResetBehavior cPBehavior 
)

Constructor.

Parameters
gateId- The id of the gate the clear-preset behavior belongs to
cPBehavior- The clear set behavior

Definition at line 76 of file boolean_function_table_model.cpp.

References hal::BooleanFunctionTableEntry::CPBehavior, hal::BooleanFunctionTableEntry::mLeft, hal::BooleanFunctionTableEntry::mRight, and hal::BooleanFunctionTableEntry::mType.

Member Function Documentation

◆ getCPBehavior()

std::pair< hal::AsyncSetResetBehavior, hal::AsyncSetResetBehavior > hal::CPBehaviorEntry::getCPBehavior ( ) const

Get the clear-preset behavior.

Returns
the clear-preset behavior

Definition at line 85 of file boolean_function_table_model.cpp.


The documentation for this class was generated from the following files: