Memristive Device for Logic Design and Computing