On designing circuit primitives for cortical processors with memristive hardware | IEEE Conference Publication | IEEE Xplore