Gowin SDI Encoder IP User Guide

IPUG1205-1.0E, 04/11/2025

1 About This Guide

1.1 Purpose

The purpose of Gowin SDI Encoder IP is to help you learn the features and usage of Gowin SDI Encoder IP by providing the descriptions of features, functions, ports, timing, GUI and reference design, etc. The software screenshots and the supported products listed in this manual are based on Gowin Software 1.9.11 (64-bit). As the software is subject to change without notice, some information may not remain relevant and may need to be adjusted according to the software that is in use.

1.2 Related Documents

The latest user guides are available on the GOWINSEMI website. You can find the related documents at www.gowinsemi.com:

  • DS981, GW5AT series of FPGA Products Data Sheet
  • DS1239, GW5AST series of FPGA Products Data Sheet
  • SUG100, Gowin Software User Guide

1.3 Terminology and Abbreviations

Table 1-1 shows the abbreviations and terminology used in this manual.

Terminology and AbbreviationsMeaning
DEData Enable
FPGAField Programmable Gate Array
HSHorizontal Sync
IPIntellectual Property
SDISerial Digital Interface
SerDesSerializer/Deserializer
SMPTESociety of Motion Picture and Television Engineers
VESAVideo Electronics Standards Association
VSVertical Sync

1.4 Support and Feedback

Gowin Semiconductor provides customers with comprehensive technical support. If you have any questions, comments, or suggestions, please feel free to contact Gowin Semiconductor directly using the information provided below.

Website: www.gowinsemi.com

E-mail: support@gowinsemi.com

2 Overview

2.1 Overview

The Serial Digital Interface (SDI) is a member of the digital video interface family and is used for transmitting digital video signals. Gowin SDI Encoder IP can be operated under HD or 3G rate standards defined by the Society of Motion Picture and Television Engineers (SMPTE), converting video signals into SDI signals.

Table 2-1 Gowin SDI Encoder IP

Gowin SDI Encoder IPDetails
Logic ResourcePlease refer to Table 2-2.
Delivered Doc.
Design FilesVerilog (encrypted)
Reference DesignVerilog
TestBenchVerilog
Test and Design Flow
Synthesis SoftwareGowinSynthesis
Application SoftwareGowin Software (V1.9.11 and above)

Note: For the devices supported, you can click here to get the information.

2.2 Features

  • Operates with 1 lane
  • Supports link rates of 1.485/2.97 Gbps per lane
  • Supports HD-SDI and 3G-SDI

2.3 Resource Utilization

Gowin SDI Encoder IP can be implemented by Verilog. Its performance and resource utilization may vary when the design is employed in different devices, or at different densities, speeds, or grades. Taking Gowin GW5AST series of FPGA as an instance, the resource utilization of Gowin SDI Encoder IP is as shown in Table 2-2.

Table 2-2 Gowin SDI Encoder IP Resource Utilization

DeviceGW5AST-60
Register629
LUT1015

3 Functional Description

3.1 System Block Diagram

Gowin SDI Encoder IP can convert video signals into SDI signals. The SDI signal is then connected into the SDI PHY IP. The block diagram of Gowin SDI Encoder IP is as shown in Figure 3-1.

Figure 3-1 Gowin SDI Encoder IP Block Diagram: Textual representation of the block diagram. It shows a 'Video_Source' input connected to the 'SDI_Encoder_IP' via signals Vs, Hs, De, and Data. The 'SDI_Encoder_IP' outputs 'SDI_PHY_Data' to the 'SDI_PHY_IP'. The 'SDI_PHY_IP' then connects to a 'Single-ended_To_Differential_Circuit' which outputs 'SDI_Data' to a 'BNC_Interface'. Input signals for the SDI_PHY_IP include SerDes_Data_P and SerDes_Data_N.

3.2 Function Modules

Figure 3-2 Gowin SDI Encoder IP Block Diagram: Textual representation of the block diagram showing 'Video_Source' inputs (Vs, Hs, De, Data) feeding into 'SDI_Encoder_IP', which then outputs to 'SDI_PHY_Data' connected to 'SDI_PHY_IP'.

As shown in the diagram above, Gowin SDI Encoder IP can convert video data into SDI data.

3.3 Supported Format

Table 3-1 shows the formats supported by Gowin SDI Encoder IP.

Table 3-1 Formats Supported by Gowin SDI Encoder IP

StandardHD-SDI3G-SDI
Hor Addr Pixel1280128019201920192019201920
Ver Addr Line72072010801080108010801080
Hor Total Pixel1650198022002640275022002640

3.4 Port List

The IO port of Gowin SDI Encoder IP is shown in Figure 3-3.

Figure 3-3 Gowin SDI Encoder IP Port Diagram: Textual representation of the port diagram. It lists input ports such as I_rst_n, I_rate[2:0], I_hres[15:0], I_vres[15:0], I_ver_fre[20], I_interlace, I_color, I_mfactor, I_pixbit, I_pixstruc[1:0], I_clk, I_fld, I_vs, I_hs, I_de, I_data[19:0]. It also shows an output port O_data[79:0].

The IO ports vary slightly depending on the parameters.

The details of IO port of Gowin SDI Encoder IP are shown in Table 3-2.

Table 3-2 I/O List of Gowin SDI Encoder IP

Signal NameI/OData WidthDescription
I_rst_nI1Reset signal, active-low
I_rateI3Rate input: 0: Reserved, 1: HD-SDI, 2: 3G-SDI
I_hresI16Horizontal resolution input
I_vresI16Vertical resolution input
I_ver_freI3Vertical frequency input: 0: 60Hz, 1: 50Hz, 2: 30Hz, 3: 25Hz, 4: 24Hz
I_interlaceI1Interlace input: 0: Reserved, 1: Progressive scan P
I_colorI1Color input: 0: YC, 1: Reserved
I_mfactorI1N factor input: 0: M = 1, 1: Reserved
I_pixbitI1Pixel bit input: 0: 10bit, 1: Reserved
I_pixstrucI2Pixel structure input: 2'b00: 4:2:2, 2'b01: Reserved, 2'b10: Reserved, 2'b11: Reserved
I_clkI1Input clock
I_fldI1Field input (odd/even)
I_vsI1vs input (positive polarity)
I_hsI1hs input (positive polarity)
I_deI1de input
I_dataI20Data input
O_dataO80The encoded data, connected to the SDI PHY IP.

3.5 Timing Description

The input interface timing diagram of Gowin SDI Encoder IP is as shown in Figure 3-4. For standard video, simply input the signals, and Gowin SDI Encoder IP will encode them. The encoded data is then output to the SDI PHY IP.

Figure 3-4 Timing Diagram of Video Input Interface: Textual representation of the Video Input Interface Timing Diagram. It shows the timing relationships between I_clk, I_fld, I_vs, I_hs, I_de, and I_data signals over a series of clock cycles (1 to 26).

4 Interface Configuration

You can use IP core generator tool in Gowin Software to call and configure Gowin SDI Encoder IP.

1. Open IP Core Generator

After creating the project, click the "Tools" tab in the upper left, click "IP Core Generator" from the drop-down list to open Gowin IP Core Generator, as shown in Figure 4-1.

Figure 4-1 Open IP Core Generator: Screenshot of the Gowin FPGA Designer showing the 'Tools' menu with 'IP Core Generator' highlighted, indicating how to access the IP core generation tool.

2. Select SDI Encoder IP

Double Click "Multimedia” and select SDI Encoder to open SDI Encoder IP configuration interface, as shown in Figure 4-2.

Figure 4-2 Select SDI Encoder IP: Screenshot of the Gowin IP Core Generator interface, showing the 'Multimedia' category expanded to reveal 'SDI Encoder' which can be selected.

3. Gowin SDI Encoder IP Configuration Interface

First configure “General” tab in the SDI Encoder IP interface as shown in Figure 4-3.

Figure 4-3 Gowin SDI Encoder IP Configuration Interface: Screenshot of the SDI Encoder IP Customization dialog. It shows the 'General' tab with fields for Device, Device Version, Part Number, Language (Verilog/VHDL), File Name, Module Name, and Create In path. Input ports are listed on the left.

  • Device, Device Version, Part Number: Part number settings, determined by the current project, and the user can not set it.
  • Language: Supports Verilog and VHDL; choose the language as requirements, and the default is Verilog.
  • File Name, Module Name, Create In: Displays SDI file name, module name and the generated file path.

4. Click "OK"

Click "OK" directly to generate the IP.

5 Reference Design

This chapter is intended to introduce the usage and structure of the reference design of Gowin SDI Encoder IP. Please see the SDI PHY IP Reference Design for details at Gowinsemi website. This reference design takes DK_START_GW5AT-LV60PG484A_V1.1 development board as an example. For more information about DK_START_GW5AT-LV60PG484A_V1.1 development board, please refer to Gowinsemi website. The block diagram of reference design is shown in Figure 5-1.

Figure 5-1 Block Diagram of Reference Design: Textual representation of the Reference Design Block Diagram. It shows a flow starting from 'Pattern generation module' and 'RGB to YC', feeding into 'SDI Encoder IP'. This connects to 'SDI PHY IP', which then goes through 'SDI physical interface' and 'Single-ended to differential IC' to a 'SDI to HDMI device', finally leading to a 'Display'.

6 File Delivery

The file delivery for Gowin SDI Encoder IP includes the documentation, the design source code, and the reference design.

6.1 Documentation

Table 6-1 Document List

NameDescription
IPUG1025, Gowin SDI Encoder IP User GuideGowin SDI Encoder IP User Guide, i.e., this manual.

6.2 Design Source Code (Encryption)

The encrypted code folder contains encrypted RTL code for Gowin SDI Encoder IP. This code is intended for use with GUI to generate the IP core as needed.

Table 6-2 File List of Gowin SDI Encoder IP

NameDescription
sdi_encoder.vSDI Decoder IP File, encrypted.

6.3 Reference Design

The RefDesign folder contains the netlist files, user reference designs, constraints files, top-level files, and project files for Gowin SDI PHY IP, Gowin SDI Encoder IP, and Gowin SDI Decoder IP.

Table 6-3 Gowin SDI Encoder IP RefDesign Folder Content List

NameDescription
video_top.vThe top module of reference design
testpattern.vTest pattern generation module
dk_video.cstProject physical constraints file
dk_video.sdcProject timing constraints file
key_debounceN.vKey debouncing
adv7513_iic_init.vadv7513 configuration file
yc_to_rgbyc_to_rgb folder
rgb_to_ycrgb_to_yc folder
i2c_masterI2c_master folder, encrypted.
NameDescription
sdi_decodersdi_decoder folder, encrypted.
sdi_encodersdi_decoder folder, encrypted.
serdesSerDes project folder, encrypted.
gowin_pllgowin_pll folder
Models: IPUG1205-1.0E, IPUG1205 SDI Encoder IP, SDI Encoder IP, Encoder IP

File Info : application/pdf, 21 Pages, 705.22KB

PDF preview unavailable. Download the PDF instead.

67f8e68208f42

References

Microsoft Word 2016 Microsoft Word 2016

Related Documents

PreviewGowin_EMPU(GW1NS-4C) Hardware Design Reference Manual
This reference manual provides comprehensive details on the Gowin_EMPU(GW1NS-4C) hardware design, covering system architecture, features, ports, design flow, and configuration for developers.
PreviewGowin XCORR IP User Guide
User guide for the Gowin XCORR IP, detailing its features, configuration, and usage for cross-correlation operations in FPGA designs. Covers input parameters, port descriptions, timing, and resource utilization.
PreviewGowin_EMPU(GW1NS-4C) Hardware Design Reference Manual
This reference manual from Guangdong Gowin Semiconductor Corporation provides comprehensive details on the hardware design of the Gowin_EMPU(GW1NS-4C). It guides users through the system architecture, hardware design flow, project template setup, and configuration of various interfaces and peripherals, including memory interfaces and reference designs.
PreviewGowin MIPI D-PHY RX TX Advance IP ユーザーガイド
このユーザーガイドは、Gowin MIPI D-PHY RX TX Advance IP に関する詳細情報を提供し、Gowin FPGA を使用する開発者向けに、その機能、ポート、タイミング、および構成を網羅しています。
PreviewGowin Complex Multiplier IP User Guide
User guide for the Gowin Complex Multiplier IP, detailing its features, port descriptions, timing, configuration, and reference design. This IP is designed for complex number multiplication.
PreviewGowin NPU IP User Guide: Features, Configuration, and Reference Design
Comprehensive user guide for the Gowin NPU IP, detailing its architecture, functions, ports, interface configuration, and reference design for accelerating machine learning algorithms on FPGAs.
PreviewGowin FP Comp IP User Guide - FPGA Core Documentation
This user guide provides comprehensive details on the Gowin FP Comp IP, covering its features, functionality, port descriptions, timing, GUI configuration, and reference design for FPGA development.
PreviewGowin_EMPU_M1 Software Programming Reference Manual
Explore the Gowin_EMPU_M1 Software Programming Reference Manual. This guide details the EMPU-M1 microcontroller's software library, memory system, peripherals (UART, SPI, CAN, Ethernet, etc.), RTOS integration, and protocol stacks, essential for embedded system developers.