Title: Nanoscale Memristor Device and Circuits Design