Multiple-valued logic in VLSI design