Q
Qunwei Chen
Guest
I opened a project "C++ Template Classes of Multi-Value Logic" at
sourceforge.net. http://hdl.sourceforge.net/. The purpose is to design a
lightweight library for multi-value logic types including bit, logic,
std_logic and user defined types. This library supports
o template class mvl<T> and mvl_vector<T> with arbitrary precision.
o user defined multi-value logic types, i.e. SUBTYPE in VHDL.
o automatical conversion between C/C++ builtin data types and
multi-value logic types.
o three values boolean type (true, false and unknown).
o arbitrary precision integer and natual.
o bit, bit_vector.
o logic, logic_vector.
o std_logic, std_logic_vector.
o "don't care" in comparison.
o bitwise addition, substraction and multiplication to trace unknown
value easier.
The current release is alpha version for comments and testing. Hope it
is useful to your projects.
ANY COMMENTS ARE WELCOME.
Qunwei
sourceforge.net. http://hdl.sourceforge.net/. The purpose is to design a
lightweight library for multi-value logic types including bit, logic,
std_logic and user defined types. This library supports
o template class mvl<T> and mvl_vector<T> with arbitrary precision.
o user defined multi-value logic types, i.e. SUBTYPE in VHDL.
o automatical conversion between C/C++ builtin data types and
multi-value logic types.
o three values boolean type (true, false and unknown).
o arbitrary precision integer and natual.
o bit, bit_vector.
o logic, logic_vector.
o std_logic, std_logic_vector.
o "don't care" in comparison.
o bitwise addition, substraction and multiplication to trace unknown
value easier.
The current release is alpha version for comments and testing. Hope it
is useful to your projects.
ANY COMMENTS ARE WELCOME.
Qunwei