! Dave Write then Read Test 1 ! Created 12-APR-02 D.E. in the scratch directory ! Let's talk with the correct crate Vertical_Master: 3 Vertical_Slave: 2 ! We will assume that the Pointers are initialized. ! First let's Write 3 times to two different chips in Slot 7 ! Then Read 3 times from there two chips in Slot 7. ! Setup the Test Data Registers for the 1st FIFO Write Card_Slot: 7 Chip_Address: 1 Register_Address: 10 ! Test Data Register Write_Value: 0x0101 ! Load zero into Test Data Register Chip_Address: 2 Register_Address: 10 ! Test Data Register Write_Value: 0x0201 ! Load zero into Test Data Register ! Now do the 1st FIFO Write Card_Slot: 5 Chip_Address: 1 Register_Address: 40 ! Control Error Detection Section Register Write_Value: 0x0000 ! Default Value Register_Address: 40 ! Control Error Detection Section Register Write_Value: 0x0100 ! Enable manual initiated FIFO Write Register_Address: 40 ! Control Error Detection Section Register Write_Value: 0x0300 ! Do a manual initiated FIFO Write Register_Address: 40 ! Control Error Detection Section Register Write_Value: 0x0000 ! Default Value ! Setup the Test Data Registers for the 2nd FIFO Write Card_Slot: 7 Chip_Address: 1 Register_Address: 10 ! Test Data Register Write_Value: 0x0102 ! Load zero into Test Data Register Chip_Address: 2 Register_Address: 10 ! Test Data Register Write_Value: 0x0202 ! Load zero into Test Data Register ! Now do the 2nd FIFO Write Card_Slot: 5 Chip_Address: 1 Register_Address: 40 ! Control Error Detection Section Register Write_Value: 0x0000 ! Default Value Register_Address: 40 ! Control Error Detection Section Register Write_Value: 0x0100 ! Enable manual initiated FIFO Write Register_Address: 40 ! Control Error Detection Section Register Write_Value: 0x0300 ! Do a manual initiated FIFO Write Register_Address: 40 ! Control Error Detection Section Register Write_Value: 0x0000 ! Default Value ! Setup the Test Data Registers for the 3rd FIFO Write Card_Slot: 7 Chip_Address: 1 Register_Address: 10 ! Test Data Register Write_Value: 0x0103 ! Load zero into Test Data Register Chip_Address: 2 Register_Address: 10 ! Test Data Register Write_Value: 0x0203 ! Load zero into Test Data Register ! Now do the 3rd FIFO Write Card_Slot: 5 Chip_Address: 1 Register_Address: 40 ! Control Error Detection Section Register Write_Value: 0x0000 ! Default Value Register_Address: 40 ! Control Error Detection Section Register Write_Value: 0x0100 ! Enable manual initiated FIFO Write Register_Address: 40 ! Control Error Detection Section Register Write_Value: 0x0300 ! Do a manual initiated FIFO Write Register_Address: 40 ! Control Error Detection Section Register Write_Value: 0x0000 ! Default Value ! Now the 3 Reads from the FIFO ! First the 1st Read Card_Slot: 7 Chip_Address: 1 Read_Register: 20 ! Read the FIFO Readout Register Chip_Address: 2 Read_Register: 20 ! Read the FIFO Readout Register ! Increment the Read Pointer to get ready for the next Read Card_Slot: 5 Chip_Address: 1 Register_Address: 40 ! Control Error Detection Section Register Write_Value: 0x0000 ! Default Value Register_Address: 40 ! Control Error Detection Section Register Write_Value: 0x0010 ! Increment the Read Pointer Register_Address: 40 ! Control Error Detection Section Register Write_Value: 0x0000 ! Default Value ! Now the 2nd Read Card_Slot: 7 Chip_Address: 1 Read_Register: 20 ! Read the FIFO Readout Register Chip_Address: 2 Read_Register: 20 ! Read the FIFO Readout Register ! Increment the Read Pointer to get ready for the next Read Card_Slot: 5 Chip_Address: 1 Register_Address: 40 ! Control Error Detection Section Register Write_Value: 0x0000 ! Default Value Register_Address: 40 ! Control Error Detection Section Register Write_Value: 0x0010 ! Increment the Read Pointer Register_Address: 40 ! Control Error Detection Section Register Write_Value: 0x0000 ! Default Value ! Now the 3rd Read Card_Slot: 7 Chip_Address: 1 Read_Register: 20 ! Read the FIFO Readout Register Chip_Address: 2 Read_Register: 20 ! Read the FIFO Readout Register ! Increment the Read Pointer to get ready for the next Read Card_Slot: 5 Chip_Address: 1 Register_Address: 40 ! Control Error Detection Section Register Write_Value: 0x0000 ! Default Value Register_Address: 40 ! Control Error Detection Section Register Write_Value: 0x0010 ! Increment the Read Pointer Register_Address: 40 ! Control Error Detection Section Register Write_Value: 0x0000 ! Default Value