|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
for 6.111 Introduction to Digital Systems |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
6.111 home → Labkit home → Test Programs → Audio and Video Tests Audio and Video Testsby Nathan IckesIntroductionThis test verifies that the labkit's audio and video components are working properly. This includes audio input and output, VGA output, and TV (composite and s-video) input and output.SetupMost components of this test program require external equipment in order to generate inputs for the labkit, or reproduce signals output by the labkit. Testing the audio codec requires
Testing the VGA output port requires a computer monitor capable of displaying 1024×768 @ 75Hz, and a cable to connect it to the labkit's 15-pin VGA connector. Testing the labkit's TV components requires
Precompiled bitstreams for this test can be downloaded below
Audio Test ProcedureWhen the FPGA has been configured using the above bitstreams and all of the slide switches are in their down position, the alphanumeric display should read As indicated by the display (" After loading the Next, connect a line-level audio source to the left and right audio inputs, and plug a PC amplified microphone into the microphone jack. The three rightmost slide switches (2-0) control what is heard in the headphones, according to the table below. For all of the above settings, no static or other noise should be heard in the audio output, even at the highest volume settings.
For the silence, sine wave, and square wave settings, data for the audio output DACs is directly generated by the FPGA. For the line-in and microphone settings, the corresponding input is sampled by the audio codec's ADC, the samples are sent to the FPGA over the AC'97 link, and the FPGA immediately retransmits the samples back to the codec's DAC for regeneration on the audio outputs. These loopback tests therefore test the entire audio codec, as well as the AC'97 between the codec and the FPGA. The line-level audio outputs are driven with the same waveforms as the headphone outputs. VGA Test ProcedureWhen a monitor is connected to the labkit's VGA output connector, the following pattern should be displayed on the monitor
TV Test ProcedureConnect a composite video source to the labkit's composite video input jack, and s-video source to the s-video input jack, and a composite-input monitor to the labkit's composite video output jack. Slide switches 3 and 4 control whether the labkit's output displays colorbars (generated by the ADV7194 video encoder itself), the MIT logo (generated by a state machine in the FPGA), or a replica of the video signal on either the s-video or composite input jacks.
Signals Available for Probing
Source Code
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
MIT 6.111 Introduction to Digital Systems, Updated April 11, 2005 |