Forum Discussion
Altera_Forum
Honored Contributor
17 years agoThe easiest way to tell which version is by the components. Look at the capacitors next to the power switch, TC4 and TC5. If they are in a rectangular package, just as is shown on the box, you have PCB 1.X. If they are in a metal canister container, you have 2.X. This is based on the boards I've seen, though it may not be true 100% of the time.
Please note that this worked for my specific case, which was using code based on the old itu_r656_decoder from the DE2_TV demo. Note that this code is no longer available, and on the Terasic site they have a new version using an SDRAM frame buffer designed for both boards (1.x (http://www.terasic.com.tw/attachment/archive/30/de2_tv_new_v1.rar) and 2.x (http://www.terasic.com.tw/attachment/archive/30/de2_tv_new_v2.rar)). If you're doing a new design, use one of these, as they appear more robust. This method is only if you have 1.X-era legacy code that you need to quickly get working on a newer board. In the Pin Planner, find OSC_27 (pin D13) and change it to pin C16. If this alone doesn't work, you need to open the Assignment Editor and pick the Global Signals category (in the dropdown under Logic Options). Set the following fields: From (blank), To "OSC_27" (use the Node Finder), Assignment Name "Global Signal", Value "Global Clock", Enabled "Yes". Again, I'd highly recommend using the newer code as a starting point for your decoder, as you can then easily switch between versions (it appears the only differences between versions are DE2_TV.v, DE2_TV.qsf, and of course the programming files). The differences in 27MHz clocks between the boards are explained above. Good luck!