This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module ADC( | |
input clk_50, //50 MHz clock PIN_R8 | |
input dout, //digital output from ADC128S022 (serial 12-bit) PIN_A9 | |
input reset, | |
output adc_cs_n, //ADC128S022 Chip Select PIN_A10 | |
output din, //Ch. address input to ADC128S022 (serial) PIN_B10 | |
output adc_sck, //2.5 MHz ADC clock PIN_B14 | |
output [11:0]d_out_ch5, //12-bit output of ch. 5 (parallel) | |
output [11:0]d_out_ch6, //12-bit output of ch. 6 (parallel) | |
output [11:0]d_out_ch7 //12-bit output of ch. 7 (parallel) |