Design and analysis of all optical latch circuit using RSOA. (2022)