Download Low-Cost Telemetry Encoder Backplane Communication
Transcript
20 SRAM 12x4096 ADC_READY SMPL_ADDR DATA_BUFF_SEL ADC_DATA ADC_REG ADC_BUFF_SEL ADC_DATA_IN MEM_RD_DATA MEM_RD_ADDR MEM_WR_DATA MEM_WR_EN_H MEM_WR_ADDR ADC_DATA_RDY DIO_READY SMPL_ADDR DATA_BUFF_SEL DIO_DATA DIO_REG DIO_BUFF_SEL DIO_DATA_RDY ADC_SMPL SAMPLE_START DIO_DATA_IN DIO_SMPL CHAN_SEL_CODE UP_SMPL MUX_SEL SAMPLEDECODER UP_READY BP_SMPL DATA_BUFF_SEL FS1_SMPL UP_DATA_IN UP_REG UP_DATA Data_Arbiter UP_BUFF_SEL FS2_SMPL SFID_SMPL MEM_CONTROLLER BP_READY SMPL_ADDR WORD_COUNT DATA_BUFF_SEL MAJ_STROBE WR_ADDR WR_DATA Holding_Registers TLM_DATA WR_ENBL BP_DATA BP_REG BP_BUFF_SEL BP_DATA_IN MIN_STROBE DATA_BUFF_SEL SMPL_ADDR DATAMEM_RD_ADDR FS1_REG FS2_REG SFID_REG Fig. 3.4: DATCONTROLLER block diagram. Additions to the FGPA firmware for the backplane functionality all took place within the DATCONTROLLER module. A block diagram of the sub-level contained within the DATCONTROLLER module is seen in fig. 3.4. The MEM CONTROLLER module is one of the more complicated sections in the FPGA firmware. It controls access to the FPGA memory, writing the sampling LUT to memory on startup and then reading the LUT entries from memory during normal operation. It also controls access to the four holding registers. The MEM CONTROLLER uses matrix parameters from the setup LUT together with word and bit strobe signals and internal counters to generate synchronization signals. In addition to these two tasks, the MEM CONTROLLER parses out channel select codes and channel addresses from the sampling LUT entries. The SAMPLEDECODER module generates sample requests using the channel select codes from the MEM CONTROLLER module, the MUX SEL signal, and the word strobe signal. These sample requests trigger other sections of the design, eventually causing a sample to be made. The REG modules receive the sample requests from the SAMPLEDECODER block. When samples are requested, the REG modules initiate a sampling and then, after new data is obtained, pass sampled data to the DATA ARBITER module. The DATA ARBITER