#include <sc_logic.h>
Public Methods | |
| sc_logic () | |
| sc_logic (const sc_logic &a) | |
| sc_logic (sc_logic_value_t v) | |
| sc_logic (bool a) | |
| sc_logic (char a) | |
| sc_logic (int a) | |
| sc_logic (const sc_bit &a) | |
| ~sc_logic () | |
| sc_logic & | operator= (const sc_logic &a) |
| sc_logic & | operator= (sc_logic_value_t v) |
| sc_logic & | operator= (bool a) |
| sc_logic & | operator= (char a) |
| sc_logic & | operator= (int a) |
| sc_logic & | operator= (const sc_bit &a) |
| sc_logic & | operator &= (const sc_logic &b) |
| sc_logic & | operator &= (sc_logic_value_t v) |
| sc_logic & | operator &= (bool b) |
| sc_logic & | operator &= (char b) |
| sc_logic & | operator &= (int b) |
| sc_logic & | operator|= (const sc_logic &b) |
| sc_logic & | operator|= (sc_logic_value_t v) |
| sc_logic & | operator|= (bool b) |
| sc_logic & | operator|= (char b) |
| sc_logic & | operator|= (int b) |
| sc_logic & | operator^= (const sc_logic &b) |
| sc_logic & | operator^= (sc_logic_value_t v) |
| sc_logic & | operator^= (bool b) |
| sc_logic & | operator^= (char b) |
| sc_logic & | operator^= (int b) |
| const sc_logic | operator~ () const |
| sc_logic & | b_not () |
| sc_logic_value_t | value () const |
| bool | is_01 () const |
| bool | to_bool () const |
| char | to_char () const |
| void | print (ostream &os=cout) const |
| void | scan (istream &is=cin) |
Static Public Methods | |
| void * | operator new (size_t, void *p) |
| void * | operator new (size_t sz) |
| void | operator delete (void *p, size_t sz) |
| void * | operator new[] (size_t sz) |
| void | operator delete[] (void *p, size_t sz) |
Static Public Attributes | |
| const sc_logic_value_t | char_to_logic [128] |
| const char | logic_to_char [4] = { '0', '1', 'Z', 'X' } |
| const sc_logic_value_t | and_table [4][4] |
| const sc_logic_value_t | or_table [4][4] |
| const sc_logic_value_t | xor_table [4][4] |
| const sc_logic_value_t | not_table [4] |
Friends | |
| class | sc_logic_resolve |
| const sc_logic | operator & (const sc_logic &a, const sc_logic &b) |
| const sc_logic | operator & (const sc_logic &a, sc_logic_value_t b) |
| const sc_logic | operator & (const sc_logic &a, bool b) |
| const sc_logic | operator & (const sc_logic &a, char b) |
| const sc_logic | operator & (const sc_logic &a, int b) |
| const sc_logic | operator & (sc_logic_value_t a, const sc_logic &b) |
| const sc_logic | operator & (bool a, const sc_logic &b) |
| const sc_logic | operator & (char a, const sc_logic &b) |
| const sc_logic | operator & (int a, const sc_logic &b) |
| const sc_logic | operator| (const sc_logic &a, const sc_logic &b) |
| const sc_logic | operator| (const sc_logic &a, sc_logic_value_t b) |
| const sc_logic | operator| (const sc_logic &a, bool b) |
| const sc_logic | operator| (const sc_logic &a, char b) |
| const sc_logic | operator| (const sc_logic &a, int b) |
| const sc_logic | operator| (sc_logic_value_t a, const sc_logic &b) |
| const sc_logic | operator| (bool a, const sc_logic &b) |
| const sc_logic | operator| (char a, const sc_logic &b) |
| const sc_logic | operator| (int a, const sc_logic &b) |
| const sc_logic | operator^ (const sc_logic &a, const sc_logic &b) |
| const sc_logic | operator^ (const sc_logic &a, sc_logic_value_t b) |
| const sc_logic | operator^ (const sc_logic &a, bool b) |
| const sc_logic | operator^ (const sc_logic &a, char b) |
| const sc_logic | operator^ (const sc_logic &a, int b) |
| const sc_logic | operator^ (sc_logic_value_t a, const sc_logic &b) |
| const sc_logic | operator^ (bool a, const sc_logic &b) |
| const sc_logic | operator^ (char a, const sc_logic &b) |
| const sc_logic | operator^ (int a, const sc_logic &b) |
| bool | operator== (const sc_logic &a, const sc_logic &b) |
| bool | operator== (const sc_logic &a, sc_logic_value_t b) |
| bool | operator== (const sc_logic &a, bool b) |
| bool | operator== (const sc_logic &a, char b) |
| bool | operator== (const sc_logic &a, int b) |
| bool | operator== (sc_logic_value_t a, const sc_logic &b) |
| bool | operator== (bool a, const sc_logic &b) |
| bool | operator== (char a, const sc_logic &b) |
| bool | operator== (int a, const sc_logic &b) |
| bool | operator!= (const sc_logic &a, const sc_logic &b) |
| bool | operator!= (const sc_logic &a, sc_logic_value_t b) |
| bool | operator!= (const sc_logic &a, bool b) |
| bool | operator!= (const sc_logic &a, char b) |
| bool | operator!= (const sc_logic &a, int b) |
| bool | operator!= (sc_logic_value_t a, const sc_logic &b) |
| bool | operator!= (bool a, const sc_logic &b) |
| bool | operator!= (char a, const sc_logic &b) |
| bool | operator!= (int a, const sc_logic &b) |
|
|
Definition at line 134 of file sc_logic.h. References sc_dt::Log_X. Referenced by operator &=(), operator=(), operator^=(), operator|=(), and operator~(). |
|
|
Definition at line 138 of file sc_logic.h. |
|
|
Definition at line 142 of file sc_logic.h. References sc_dt::sc_logic_value_t. |
|
|
Definition at line 146 of file sc_logic.h. |
|
|
Definition at line 150 of file sc_logic.h. |
|
|
Definition at line 154 of file sc_logic.h. |
|
|
Definition at line 158 of file sc_logic.h. References to_bool(). |
|
|
Definition at line 165 of file sc_logic.h. |
|
|
Definition at line 247 of file sc_logic.h. References not_table. |
|
|
Definition at line 405 of file sc_logic.h. References sc_dt::Log_0, and sc_dt::Log_1. Referenced by to_bool(). |
|
|
Definition at line 204 of file sc_logic.h. References sc_logic(). |
|
|
Definition at line 201 of file sc_logic.h. References sc_logic(). |
|
|
Definition at line 198 of file sc_logic.h. References sc_logic(). |
|
|
Definition at line 195 of file sc_logic.h. References sc_logic(), and sc_dt::sc_logic_value_t. |
|
|
Definition at line 192 of file sc_logic.h. |
|
||||||||||||
|
Definition at line 431 of file sc_logic.h. References sc_mempool::release(). |
|
||||||||||||
|
Definition at line 437 of file sc_logic.h. References sc_mempool::release(). |
|
|
Definition at line 428 of file sc_logic.h. References sc_mempool::allocate(). |
|
||||||||||||
|
Definition at line 425 of file sc_logic.h. |
|
|
Definition at line 434 of file sc_logic.h. References sc_mempool::allocate(). |
|
|
Definition at line 186 of file sc_logic.h. References sc_logic(). |
|
|
Definition at line 183 of file sc_logic.h. References sc_logic(). |
|
|
Definition at line 180 of file sc_logic.h. References sc_logic(). |
|
|
Definition at line 177 of file sc_logic.h. References sc_logic(). |
|
|
Definition at line 174 of file sc_logic.h. References sc_logic(), and sc_dt::sc_logic_value_t. |
|
|
Definition at line 171 of file sc_logic.h. References m_val. |
|
|
Definition at line 236 of file sc_logic.h. References sc_logic(). |
|
|
Definition at line 233 of file sc_logic.h. References sc_logic(). |
|
|
Definition at line 230 of file sc_logic.h. References sc_logic(). |
|
|
Definition at line 227 of file sc_logic.h. References sc_logic(), and sc_dt::sc_logic_value_t. |
|
|
Definition at line 224 of file sc_logic.h. |
|
|
Definition at line 220 of file sc_logic.h. References sc_logic(). |
|
|
Definition at line 217 of file sc_logic.h. References sc_logic(). |
|
|
Definition at line 214 of file sc_logic.h. References sc_logic(). |
|
|
Definition at line 211 of file sc_logic.h. References sc_logic(), and sc_dt::sc_logic_value_t. |
|
|
Definition at line 208 of file sc_logic.h. |
|
|
Definition at line 244 of file sc_logic.h. References not_table, and sc_logic(). |
|
|
Definition at line 417 of file sc_logic.h. References to_char(). Referenced by sc_dt::operator<<(). |
|
|
Definition at line 145 of file sc_logic.cpp. Referenced by sc_dt::operator>>(). |
|
|
Definition at line 408 of file sc_logic.h. References is_01(), and sc_dt::Log_0. Referenced by sc_logic(). |
|
|
Definition at line 411 of file sc_logic.h. References logic_to_char. Referenced by print(). |
|
|
Definition at line 401 of file sc_logic.h. References sc_dt::sc_logic_value_t. Referenced by sc_dt::sc_bitref< X >::operator &=(), sc_dt::sc_bitref< X >::operator=(), sc_dt::sc_bitref< X >::operator^=(), and sc_dt::sc_bitref< X >::operator|=(). |
|
||||||||||||
|
Definition at line 277 of file sc_logic.h. |
|
||||||||||||
|
Definition at line 274 of file sc_logic.h. |
|
||||||||||||
|
Definition at line 271 of file sc_logic.h. |
|
||||||||||||
|
Definition at line 268 of file sc_logic.h. |
|
||||||||||||
|
Definition at line 265 of file sc_logic.h. |
|
||||||||||||
|
Definition at line 262 of file sc_logic.h. |
|
||||||||||||
|
Definition at line 259 of file sc_logic.h. |
|
||||||||||||
|
Definition at line 256 of file sc_logic.h. |
|
||||||||||||
|
Definition at line 253 of file sc_logic.h. |
|
||||||||||||
|
Definition at line 395 of file sc_logic.h. |
|
||||||||||||
|
Definition at line 392 of file sc_logic.h. |
|
||||||||||||
|
Definition at line 389 of file sc_logic.h. |
|
||||||||||||
|
Definition at line 386 of file sc_logic.h. |
|
||||||||||||
|
Definition at line 383 of file sc_logic.h. |
|
||||||||||||
|
Definition at line 380 of file sc_logic.h. |
|
||||||||||||
|
Definition at line 377 of file sc_logic.h. |
|
||||||||||||
|
Definition at line 374 of file sc_logic.h. |
|
||||||||||||
|
Definition at line 371 of file sc_logic.h. |
|
||||||||||||
|
Definition at line 367 of file sc_logic.h. |
|
||||||||||||
|
Definition at line 364 of file sc_logic.h. |
|
||||||||||||
|
Definition at line 361 of file sc_logic.h. |
|
||||||||||||
|
Definition at line 358 of file sc_logic.h. |
|
||||||||||||
|
Definition at line 355 of file sc_logic.h. |
|
||||||||||||
|
Definition at line 352 of file sc_logic.h. |
|
||||||||||||
|
Definition at line 349 of file sc_logic.h. |
|
||||||||||||
|
Definition at line 346 of file sc_logic.h. |
|
||||||||||||
|
Definition at line 343 of file sc_logic.h. |
|
||||||||||||
|
Definition at line 337 of file sc_logic.h. |
|
||||||||||||
|
Definition at line 334 of file sc_logic.h. |
|
||||||||||||
|
Definition at line 331 of file sc_logic.h. |
|
||||||||||||
|
Definition at line 328 of file sc_logic.h. |
|
||||||||||||
|
Definition at line 325 of file sc_logic.h. |
|
||||||||||||
|
Definition at line 322 of file sc_logic.h. |
|
||||||||||||
|
Definition at line 319 of file sc_logic.h. |
|
||||||||||||
|
Definition at line 316 of file sc_logic.h. |
|
||||||||||||
|
Definition at line 313 of file sc_logic.h. |
|
||||||||||||
|
Definition at line 307 of file sc_logic.h. |
|
||||||||||||
|
Definition at line 304 of file sc_logic.h. |
|
||||||||||||
|
Definition at line 301 of file sc_logic.h. |
|
||||||||||||
|
Definition at line 298 of file sc_logic.h. |
|
||||||||||||
|
Definition at line 295 of file sc_logic.h. |
|
||||||||||||
|
Definition at line 292 of file sc_logic.h. |
|
||||||||||||
|
Definition at line 289 of file sc_logic.h. |
|
||||||||||||
|
Definition at line 286 of file sc_logic.h. |
|
||||||||||||
|
Definition at line 283 of file sc_logic.h. |
|
|
Definition at line 79 of file sc_logic.h. |
|
|
Initial value:
{
{ Log_0, Log_0, Log_0, Log_0 },
{ Log_0, Log_1, Log_X, Log_X },
{ Log_0, Log_X, Log_X, Log_X },
{ Log_0, Log_X, Log_X, Log_X }
}Definition at line 114 of file sc_logic.cpp. Referenced by operator &=(). |
|
|
Initial value:
{
Log_0, Log_1, Log_Z, Log_X, Log_X, Log_X, Log_X, Log_X,
Log_X, Log_X, Log_X, Log_X, Log_X, Log_X, Log_X, Log_X,
Log_X, Log_X, Log_X, Log_X, Log_X, Log_X, Log_X, Log_X,
Log_X, Log_X, Log_X, Log_X, Log_X, Log_X, Log_X, Log_X,
Log_X, Log_X, Log_X, Log_X, Log_X, Log_X, Log_X, Log_X,
Log_X, Log_X, Log_X, Log_X, Log_X, Log_X, Log_X, Log_X,
Log_0, Log_1, Log_X, Log_X, Log_X, Log_X, Log_X, Log_X,
Log_X, Log_X, Log_X, Log_X, Log_X, Log_X, Log_X, Log_X,
Log_X, Log_X, Log_X, Log_X, Log_X, Log_X, Log_X, Log_X,
Log_X, Log_X, Log_X, Log_X, Log_X, Log_X, Log_X, Log_X,
Log_X, Log_X, Log_X, Log_X, Log_X, Log_X, Log_X, Log_X,
Log_X, Log_X, Log_Z, Log_X, Log_X, Log_X, Log_X, Log_X,
Log_X, Log_X, Log_X, Log_X, Log_X, Log_X, Log_X, Log_X,
Log_X, Log_X, Log_X, Log_X, Log_X, Log_X, Log_X, Log_X,
Log_X, Log_X, Log_X, Log_X, Log_X, Log_X, Log_X, Log_X,
Log_X, Log_X, Log_Z, Log_X, Log_X, Log_X, Log_X, Log_X
}Definition at line 92 of file sc_logic.cpp. |
|
|
Definition at line 112 of file sc_logic.cpp. Referenced by to_char(). |
|
|
Initial value: |