yosys-master
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
ezSATbit Struct Reference

#include <ezsat.h>

+ Collaboration diagram for ezSATbit:

Public Member Functions

 ezSATbit (ezSAT &sat, ezSAT::_V a)
 
ezSATbit operator~ ()
 
ezSATbit operator& (const ezSATbit &other)
 
ezSATbit operator| (const ezSATbit &other)
 
ezSATbit operator^ (const ezSATbit &other)
 
ezSATbit operator== (const ezSATbit &other)
 
ezSATbit operator!= (const ezSATbit &other)
 
 operator int () const
 
 operator ezSAT::_V () const
 
 operator std::vector< int > () const
 

Data Fields

ezSATsat
 
int id
 

Detailed Description

Definition at line 306 of file ezsat.h.

Constructor & Destructor Documentation

ezSATbit::ezSATbit ( ezSAT sat,
ezSAT::_V  a 
)
inline

Definition at line 311 of file ezsat.h.

311 : sat(sat), id(sat.VAR(a)) { }
int VAR(_V a)
Definition: ezsat.h:193
int id
Definition: ezsat.h:309
ezSAT & sat
Definition: ezsat.h:308

Member Function Documentation

ezSATbit::operator ezSAT::_V ( ) const
inline

Definition at line 321 of file ezsat.h.

321 { return ezSAT::_V(id); }
ezSATbit::operator int ( ) const
inline

Definition at line 320 of file ezsat.h.

320 { return id; }
int id
Definition: ezsat.h:309

+ Here is the call graph for this function:

ezSATbit::operator std::vector< int > ( ) const
inline

Definition at line 322 of file ezsat.h.

322 { return std::vector<int>(1, id); }
int id
Definition: ezsat.h:309

+ Here is the call graph for this function:

ezSATbit ezSATbit::operator!= ( const ezSATbit other)
inline

Definition at line 318 of file ezsat.h.

318 { return ezSATbit(sat, sat.NOT(sat.IFF(id, other.id))); }
int NOT(_V a)
Definition: ezsat.h:197
ezSATbit(ezSAT &sat, ezSAT::_V a)
Definition: ezsat.h:311
int id
Definition: ezsat.h:309
ezSAT & sat
Definition: ezsat.h:308
int IFF(_V a, _V b=0, _V c=0, _V d=0, _V e=0, _V f=0)
Definition: ezsat.h:213
ezSATbit ezSATbit::operator& ( const ezSATbit other)
inline

Definition at line 314 of file ezsat.h.

314 { return ezSATbit(sat, sat.AND(id, other.id)); }
int AND(_V a=0, _V b=0, _V c=0, _V d=0, _V e=0, _V f=0)
Definition: ezsat.h:201
ezSATbit(ezSAT &sat, ezSAT::_V a)
Definition: ezsat.h:311
int id
Definition: ezsat.h:309
ezSAT & sat
Definition: ezsat.h:308
ezSATbit ezSATbit::operator== ( const ezSATbit other)
inline

Definition at line 317 of file ezsat.h.

317 { return ezSATbit(sat, sat.IFF(id, other.id)); }
ezSATbit(ezSAT &sat, ezSAT::_V a)
Definition: ezsat.h:311
int id
Definition: ezsat.h:309
ezSAT & sat
Definition: ezsat.h:308
int IFF(_V a, _V b=0, _V c=0, _V d=0, _V e=0, _V f=0)
Definition: ezsat.h:213
ezSATbit ezSATbit::operator^ ( const ezSATbit other)
inline

Definition at line 316 of file ezsat.h.

316 { return ezSATbit(sat, sat.XOR(id, other.id)); }
ezSATbit(ezSAT &sat, ezSAT::_V a)
Definition: ezsat.h:311
int XOR(_V a=0, _V b=0, _V c=0, _V d=0, _V e=0, _V f=0)
Definition: ezsat.h:209
int id
Definition: ezsat.h:309
ezSAT & sat
Definition: ezsat.h:308
ezSATbit ezSATbit::operator| ( const ezSATbit other)
inline

Definition at line 315 of file ezsat.h.

315 { return ezSATbit(sat, sat.OR(id, other.id)); }
ezSATbit(ezSAT &sat, ezSAT::_V a)
Definition: ezsat.h:311
int id
Definition: ezsat.h:309
int OR(_V a=0, _V b=0, _V c=0, _V d=0, _V e=0, _V f=0)
Definition: ezsat.h:205
ezSAT & sat
Definition: ezsat.h:308
ezSATbit ezSATbit::operator~ ( )
inline

Definition at line 313 of file ezsat.h.

313 { return ezSATbit(sat, sat.NOT(id)); }
int NOT(_V a)
Definition: ezsat.h:197
ezSATbit(ezSAT &sat, ezSAT::_V a)
Definition: ezsat.h:311
ezSAT & sat
Definition: ezsat.h:308

Field Documentation

int ezSATbit::id

Definition at line 309 of file ezsat.h.

ezSAT& ezSATbit::sat

Definition at line 308 of file ezsat.h.


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