Lines Matching refs:sc_logic
22 sc_logic.cpp -- C++ implementation of logic type. Behaves
40 // $Log: sc_logic.cpp,v $
52 #include "systemc/ext/dt/bit/sc_logic.hh"
59 // CLASS : sc_logic
66 sc_logic::invalid_value(sc_logic_value_t v)
72 sc_logic::invalid_value(char c)
75 msg << "sc_logic('" << c << "')";
80 sc_logic::invalid_value(int i)
83 msg << "sc_logic(" << i << ")";
89 sc_logic::invalid_01() const
99 const sc_logic_value_t sc_logic::char_to_logic[128] = {
118 const char sc_logic::logic_to_char[4] = { '0', '1', 'Z', 'X' };
120 const sc_logic_value_t sc_logic::and_table[4][4] = {
127 const sc_logic_value_t sc_logic::or_table[4][4] = {
134 const sc_logic_value_t sc_logic::xor_table[4][4] = {
141 const sc_logic_value_t sc_logic::not_table[4] = {
147 sc_logic::scan(::std::istream &is)
155 const sc_logic sc_logic_0(Log_0);
156 const sc_logic sc_logic_1(Log_1);
157 const sc_logic sc_logic_Z(Log_Z);
158 const sc_logic sc_logic_X(Log_X);
161 const sc_logic SC_LOGIC_0(Log_0);
162 const sc_logic SC_LOGIC_1(Log_1);
163 const sc_logic SC_LOGIC_Z(Log_Z);
164 const sc_logic SC_LOGIC_X(Log_X);