Académique Documents
Professionnel Documents
Culture Documents
AN4090
Associated Project: No
Associated Part Family: HOTLink II™ Video PHY
Software Version: None
Associated Application Notes: None
[+] Feedback
AN4090
2.2 CRC Detection checkwords. ‘P’ is the parity bit. If bits 2 through 7 combine to
For SD applications, CRC detection is embedded in the EDH be an odd number, the P is set to ‘1’ so that bits 0 through 8
detection process. The CRC words are detected when the combine to be an even number. In this manner even parity is
rest of the EDH packet is detected as well. Verification of the achieved. P is always set as the inverse of P. The ‘V’ in words
correct CRC word also occurs at that time. Please refer to 8 and 11 may be used to flag whether a CRC calculation is
section 2.4 for more information. valid or not. In this manner, implementations which only per-
form either active or full-field calculations can be achieved.
2.3 EDH Generation However, in this HDL module, V is always set to ‘1’. In EDH
generation, the correct bits are simply moved into the corre-
sponding words. Words 12 through 14 contain the error flags.
2.3.1 EDH Checkword Generation
However, this EDH module does not employ the error flags.
The information in each EDH word is determined based on
Therefore, words 12 through 14 are always set to
Table 3. Table 3 describes the different information which
“1000000000”. For designers who wish to employ the error
each EDH word carries. There is a total of 23 EDH words in
flags, Table 4 contains descriptions for each one. The final
the packet. Excluding the ancillary data, all of the words have
EDH word is the checksum. Checksum is a sum of the 9 least
‘0’s for the two least significant bits. Since the EDH words are
significant bits of all the words from Data ID up to and includ-
10 bits, this allows for compatibility with equipment using 8
bits. Words 6 through 11 contain the active and full-field CRC ing the Full-field error flags. he carry for the sum is ignored.
[+] Feedback
AN4090
Table 4. Error Flag Descriptions wordcount. The function edh_insert in edh.vhd carries out the
insertion.
Error Flag Description
edh Error Detected Here—Serial transmission error Figure 2. EDH Packet Location in Each Line
was detected. In other words, a checksum mis-
match occurred in at least one of the ANC blocks.
EDH PACKET
eda Error Detected Already—Serial transmission error
was detected upstream. If the edh flag has been
EAV
SAV
raised upstream, then upon reception in another Active Video Data
device, the edh flag is lowered, and the eda flag is
raised in its place.
idh Internal Error Detected Here—An internal hard-
ware error, unrelated to the serial transmission, Horizontal Blanking
was detected. Interval
[+] Feedback
AN4090
CLK 8 ACRC_ERRORS
ENABLE 8 FCRC_ERRORS
DATA_IN 10 10 DATA_OUT
LINECOUNT 10
VIDEO_TYPE 3
READ_ACRC_ERRORS
READ_FCRC_ERRORS
[+] Feedback
AN4090
Summary
This application note provides an HDL code to communicate with HOTLink II Video PHY SERDES with an Altera FPGA to test
EHD Generation and Detection for SMPTE 259M.
[+] Feedback
AN4090
In March of 2007, Cypress recataloged all of its Application Notes using a new documentation number and revision code. This new
documentation number and revision code (001-xxxxx, beginning with rev. **), located in the footer of the document, will be used in all
subsequent revisions.
HOTLink II is a trademark of Cypress Semiconductor Corporation. All other product and company names mentioned in this document may be
the trademarks of their respective holders.
Cypress Semiconductor
198 Champion Court
San Jose, CA 95134-1709
Phone: 408-943-2600
Fax: 408-943-4730
http://www.cypress.com
© Cypress Semiconductor Corporation, 2007 - 2011. The information contained herein is subject to change without notice. Cypress Semiconductor
Corporation assumes no responsibility for the use of any circuitry other than circuitry embodied in a Cypress product. Nor does it convey or imply any
license under patent or other rights. Cypress products are not warranted nor intended to be used for medical, life support, life saving, critical control or
safety applications, unless pursuant to an express written agreement with Cypress. Furthermore, Cypress does not authorize its products for use as critical
components in life-support systems where a malfunction or failure may reasonably be expected to result in significant injury to the user. The inclusion of
Cypress products in life-support systems application implies that the manufacturer assumes all risk of such use and in doing so indemnifies Cypress
against all charges.
This Source Code (software and/or firmware) is owned by Cypress Semiconductor Corporation (Cypress) and is protected by and subject to worldwide
patent protection (United States and foreign), United States copyright laws and international treaty provisions. Cypress hereby grants to licensee a personal,
non-exclusive, non-transferable license to copy, use, modify, create derivative works of, and compile the Cypress Source Code and derivative works for
the sole purpose of creating custom software and or firmware in support of licensee product to be used only in conjunction with a Cypress integrated circuit
as specified in the applicable agreement. Any reproduction, modification, translation, compilation, or representation of this Source Code except as specified
above is prohibited without the express written permission of Cypress.
Disclaimer: CYPRESS MAKES NO WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, WITH REGARD TO THIS MATERIAL, INCLUDING, BUT NOT
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. Cypress reserves the right to
make changes without further notice to the materials described herein. Cypress does not assume any liability arising out of the application or use of any
product or circuit described herein. Cypress does not authorize its products for use as critical components in life-support systems where a malfunction or
failure may reasonably be expected to result in significant injury to the user. The inclusion of Cypress' product in a life-support systems application implies
that the manufacturer assumes all risk of such use and in doing so indemnifies Cypress against all charges.
Use may be limited by and subject to the applicable Cypress software license agreement.
[+] Feedback