Learning hardware using multiple-valued logic - Part 2: Cube calculus and architecture | IEEE Journals & Magazine | IEEE Xplore