D type flipflop with enable and read trigger. The top switch selects between high or low. The momentary push button is write enable and the bottom switch is a read / enable switch. Led is the output of the memory contents while read switch is closed. Whatever is the state of the data line is written to memory on clock / write set button push.