Defect Characterization and Test Generation for Spintronic-based Compute-In-Memory | IEEE Conference Publication | IEEE Xplore