

Tvp board
Video digitizer add-on module for DE2-115 FPGA development board.
- Size
- 77.5 × 63.2 mm
- Copper layers
- 2
- Thickness
- 1.6 mm
- Parts
- 70
- Nets
- 72
- Pads
- 348
- Tracks, vias
- 707, 47
- Pours
- 2
- Routed
- Yes
- KiCad
- KiCad 3
- Created
- 16 Feb 2015
- Updated
- 17 Apr 2017
Overview
Tvp board is an open-source printed circuit board by marqs85, from the marqs85/de2-vd repository on GitHub, published under the GPL-3.0 licence. It is a 2-layer board of 77.5 × 63.2 mm with 70 parts on 72 nets, routed with 707 tracks and 47 vias.
It is built around the SN74LVC2G17DBV, TVP7002PZP and TLV71209DBV, with the MIC5210-3.3 among its other parts. Its parts include 38 capacitors, 15 resistors, 8 ICs and 5 connectors. It belongs with the fPGA and programmable logic and microcontroller boards boards of this library.
Main components
4SN74LVC2G17DBV
SOT-23-6-40℃~+85℃ 1 1.65V~5.5V 10uA 2 32mA 32mA 5.4ns@3.3V,50pF 74LVC Schmitt trigger SOT-23-6 Buffers, Drivers, Receivers, Transceivers ROHSTexas InstrumentsBuffers, Drivers, Receivers, TransceiversTVP7002PZP
HTQFP-100(14x14)0℃~+70℃ 1.65Gbps 1.8V~2V、3V~3.6V Bridge/Converter I2C HTQFP-100(14x14) Video Interface ICs ROHSTexas InstrumentsVideo Interface ICsTLV71209DBV
SOT-23-5-40℃~+125℃@(Tj) 1 300mA 30uVrms 35uA 5.5V 68dB@(1kHz) 900mV Fixed Over Current Protection、Over Temperature Protection Positive SOT-23-5 Voltage Regulators - Linear, Low Drop Out (LDO) Regulators ROHSTexas InstrumentsVoltage Regulators - Linear, Low Drop Out (LDO) RegulatorsMIC5210-3.3
-- Voltage Regulators - Linear, Low Drop Out (LDO) Regulators ROHSMicrochip TechnologyVoltage Regulators - Linear, Low Drop Out (LDO) Regulators
README
README.mdDE2-vd
DE2-vd is a video digitization add-on module for Altera DE2-115 FPGA development board. Together with DE2-115, it can be used in converting analog RGB/component video into digital format with very low processing latency. The system is mainly designed for using retro game consoles / home computers on modern displays.
The module is a prototype for a single-board digitization and scan converter system to be released in the future. Therefore, the current system is targeted for developers / hobbyists interested in FPGA design and video digitization - no in-depth documentation is currently provided.
Features
- detects and digitizes various video modes from 240p to 1280x1024 (and possibly higher with future updates)
- linedouble-support for 240p, 480i, 288p, 576i
- linetriple-support for 240p with 4 different sampling modes
- very low latency (less than 2 input scanlines)
- single-field "deinterlace" for 480i/576i: minimal latency overhead with decent image quality
- quick recover from input video mode change (e.g. 240p<->480i)
- all video processing done in RGB domain - no conversion to YCbCr
- multiple inputs supporting various formats
- RGBS via SCART connector
- RGBHV/RGBS via VGA connector
- YPbPr/RGsB via 3xRCA connector
- Two possible output methods
- full-range RGB output through HDMI
- analog RGB output through VGA DAC
- emulated scanlines with configurable strength
- configurable mask for overscan area
- configurable horizontal sample rate (only limited by display support)
- fully open source: rtl, software and pcb design files all avaiable for modification
Required HW and SW
-
Hardware
-
HDMI Transmitter Daughter Card (optional, for HDMI output)
-
DE2-vd PCB and components
-
SMA and 2x20 ribbon cables between the boards (as short as possible)
-
5V DC power supply (min. 1A, 1.3/4.5mm center positive)
-
Software
-
Altera Quartus II (v 14.1 or higher - free Web edition available)
-
Altera University Program IP (for on-board LCD character display)
Connection diagrams
DE2-vd module connections
DE2-115 board controls and connections
Build instructions
- Edit rtl/output_sel.v.example to suit your setup, and save the modified file into rtl/output_sel.v
- Load the project (videoproc.qpf) in Quartus II
- Generate Qsys system files (Tools -> Qsys. Open sys.qsys -> Generate -> Generate HDL)
- Generate the FPGA bitstream (Quartus window -> Processing -> Start Compilation)
- Program the bitstream into the FPGA using either JTAG (volatile/.sof) or AS programming (nonvolatile/.pof) method
Usage
Before turning on the power, set jumpers JP7 and JP8 on the DE2-115 development board into 3.3V position. After programming the FPGA, the character LCD and 7-segment LEDs should display "OSSC" if the connection between the boards is operational.
Input selection
Active input and format can be selected by using the 3 leftmost push-buttons on the board (see connection diagram). The inputs and corresponding connectors and formats are listed in the following table. The format within one input can be switched by pressing the same input button again.
| Input | Connector | Format |
|---|---|---|
| AV1 | SCART | RGBS (csync or cvbs as sync) |
| AV2 | VGA | RGBHV |
| RGBS (csync connected to pin 13) | ||
| AV3 | 3xRCA | YPbPr |
| RGsB |
Line multiplier configuration
With SD video input, the line multiplier is activated in order to generate an output which is accepted by the target display. By default, the system uses linedouble and a horizontal sampling rate which results to 720 active pixels (720x480 with 60Hz, 720x576 with 50Hz). This is a standard mode which is compatible with basically all HDMI-enabled displays.
With 240p input, it is possible to improve output quality by enabling linetripler (L3_ENABLE=1) and selecting a suitable sampling mode (L3_MODE). This allows sampling the input video with a rate which matches the rate of the DAC generating the video, or alternatively with significant oversampling. Moreover, the output resolution (1280x720) is closer to the native resolution of modern displays, resulting to less scaling. There features reduce the softness resulting from inoptimal sampling and/or scaling. The sampling modes are as follows:
| L3_MODE[1:0] | Number | Description |
|---|---|---|
| 00 | 0 | Input sampled at full 1280 horizontal, resulting to 1280x720 effective area. Generic oversampling mode for 16:9 video. |
| 01 | 1 | Input sampled at 960 horizontal, resulting to 960x720 effective area. Generic oversampling mode for 4:3 video. |
| 10 | 2 | Input sampled at 320 horizontal, multiplied by 3 in horizontal direction resulting to 960x720 effective area. A mode suitable for 320x240 input, e.g. PSX, N64. |
| 11 | 3 | Input sampled at 256 horizontal, multiplied by 4 in horizontal direction resulting to 1024x720 effective area. A mode suitable for 256x240 input, e.g. SNES, MD. |
NOTE: the 1280x720 mode outputted by linetripler does not match the standardized 1280x720 mode and is not guarateed to work correctly on all displays.
Scanlines
Emulated scanlines can be enabled with SCANLINES_ENABLE-switch, and their strength is adjusted by SCANLINE_STR[2:0]. Scanlines are active every other output line with linedouble/bare digitize, and every third output line with linetriple.
Border masking
Up to 15 pixels of input video's borders can be masked with black bars in horizontal and vertical direction via H_MASK[3:0] and V_MASK[3:0] switches.
Parts
70| Qty | Value | Footprint | References |
|---|---|---|---|
| 21 | 0.1u | SM0603_Capa | C1, C2, C3, C4, C10, C12, C14, C15, C18, C20, C21, C22, C23, C26, C27, C28 +5 |
| 10 | 75 | SM0603 | R1, R2, R3, R4, R5, R6, R7, R8, R9, R10 |
| 7 | 1u | SM0603_Capa | C32, C33, C34, C35, C36, C37, C38 |
| 4 | 1n | SM0603_Capa | C11, C13, C16, C24 |
| 4 | P*** | 1pin | 1PIN, 1PIN, 1PIN, 1PIN |
| 3 | 2.2k | SM0603 | R13, R14, R15 |
| 3 | TLV71209DBV | SOT23-5 | U6, U7, U8 |
| 2 | 10n | SM0603_Capa | C17, C25 |
| 2 | 2.2u | SM1206POL | C29, C30 |
| 1 | 1.5k | SM0603 | R11 |
| 1 | 330 | SM0603 | R12 |
| 1 | 3XRCA_CONN | 3xRCA_CONN | U2 |
| 1 | 4.7n | SM0603_Capa | C19 |
| 1 | 470p | SM0603_Capa | C31 |
| 1 | 5VDC_IN | BARREL_JACK_roundconn | CON1 |
| 1 | ACHL-27MHZ-EK | ACHL-24 | U3 |
| 1 | CONN_20X2 | PIN_ARRAY_20X2 | P2 |
| 1 | MIC5210 | MSOP_8 | U5 |
| 1 | SCART-F | SCART_CONN | P1 |
| 1 | SMA_PCLK | SMA_CONN | P3 |
| 1 | SN74LVC2G17 | sc70-6 | U4 |
| 1 | TVP7002PZP | TQFP_100-thermal | U1 |
| 1 | VGA | VGA_CONN | J1 |
Questions
How big is the Tvp board PCB?
It measures 77.5 × 63.2 mm and has 2 copper layers, 1.6 mm thick.
What parts does the Tvp board use?
70 parts, built around the SN74LVC2G17DBV, TVP7002PZP, TLV71209DBV and MIC5210-3.3. The full list of its parts is on this page, with links to each part's symbol and footprint where PCBKit's library has them.
Where can I download the Tvp board KiCad files?
From the marqs85/de2-vd repository on GitHub, at the commit this page was made from: the board is pcb/tvp_board.kicad_pcb. PCBKit opens the board in the browser, with nothing to install.
Can I use the Tvp board design in my own project?
Its repository publishes it under the GPL-3.0 licence: you may reuse it on that licence's terms (keep the author's notice, and for a copyleft licence share your changes alike).
Similar boards
- 4 layers124.6 × 68.7 mm

- 2 layers46.3 × 47.6 mm

- 6 layers177.7 × 96.6 mm

Centrifuge
vgacentrifuge/pcb
The repository for designing the PCB for the VGA-mixer in TDT4295
399 parts1 - 4 layers95 × 95 mm

- 4 layers57.5 × 92 mm

Prototype1
domenipavec/usb-vga-computer-control
sudo apt-get install python-opencv v4l-utils python-pip sudo pip install -r python-software/requirements.txt
147 parts - 2 layers

VideoIO
DaveRichmond/PCBs
Just a bunch of PCBs I've designed for various prototyping or experimentation purposes. Mostly breakouts or adapters. CC-BY-3.0-AU
67 parts - 4 layers165 × 125 mm

- 4 layers160 × 100 mm

Rosco m68k
rosco-m68k/rosco_m68k
Design, documentation and software for the Really Old School Computer (M68K)
140 parts200

