MICROCHIP Pattern Generator IP User Guide
- October 30, 2023
- MICROCHIP
Table of Contents
MICROCHIP Pattern Generator IP User Guide
Introduction
The pattern generator IP generates the test patterns in RGB (red, green, and blue) video format, Bayer format, and can be used for troubleshooting and analyzing the video processing pipeline and display. The Bayer format generates video output in RAW format that is identical to a camera sensor output and hence can be used as a replacement for camera sensor to test video processing pipeline.
The test pattern IP generates following eight different types of video test patterns.
- Color boxes pattern with 8 x 8 grid
- Only red
- Only green
- Only blue
- Horizontal eight color bars
- Vertical eight color bars
- Vertical graded bars from black to white
- Horizontal graded bars from black to white
Figure 1. Top-Level Block Diagram of Pattern Generator
The pattern generator IP is configurable and can generate test patterns for any video resolution as per the configuration. The video resolution can be configured using the configuration parameters H Resolution and V Resolution. The input signal PATTERN_SEL_I defines the type of the video pattern to be generated. Below is the selection of pattern based on the pattern_sel_i input:
- 3’b000 – color boxes pattern
- 3’b001 – only red
- 3’b010 – only green
- 3’b011 – only blue
- 3’b100 – vertical eight color bars
- 3’b101 – horizontal eight color bars
- 3’b110 – horizontal graded bars from black to white
- 3’b111 – vertical graded bars from black to white
The pattern generator IP generates the patterns based on the input DATA_EN_I signal; if the DATA_EN_I signal is high, then the desired pattern is generated, else the output pattern is not generated. This pattern generator IP operates at the system clock SYS_CLK_I. The output of the pattern generator IP is 24-bit data which comprises of R, G, and B data of 8-bit each. The input signal FRAME_END_O is 2-stage flopped inside the pattern generator block to compensate for the latency of R, G, and B data and transmitted out as FRAME_END_O.
Hardware Implementation
The following figure shows the color bar pattern generated from the pattern
generator. To generate the color bar pattern, a pattern generator counter is
implemented. A horizontal counter is incremented when DATA_EN_I is high and
reset to zero at the falling edge. A vertical counter is incremented at each
falling edge of DATA_EN_I and is reset to zero at FRAME_END_I. The following
figures show the eight patterns.
-
Figure 1-1. Color Boxes Pattern with 8 x 8 Grid
-
Figure 1-2. Only Red Pattern
-
Figure 1-3. Only Blue Pattern
-
Figure 1-4. Only Green Pattern
-
Figure 1-5. Horizontal Eight Color Bars
-
Figure 1-6. Vertical Eight Color Bars
-
Figure 1-7. Vertical Graded Bars from Black to White
-
Figure 1-8. Horizontal Graded Bars from Black to White
Inputs and Outputs
The following table shows the input and output ports of pattern generator.
Table 1-1. Inputs and Outputs of Pattern Conversion
Signal Name | Direction | Width | Description |
---|---|---|---|
RESET_N_I | Input | – | Active low asynchronous reset signal to design |
SYS_CLK_I | Input | – | System clock |
DATA_EN_I | Input | – | Data_enable signal that should have the valid period as |
per defined horizontal resolution
FRAME_END_I| Input| –| Frame end input to indicate end of frame
PATTERN_SEL_I| Input| [2:0]| Pattern select input for selecting the patterns
to be generated
DATA_VALID_O| Output| –| Data valid signal when test pattern is generating
FRAME_END_O| Output| –| Frame end signal, which is a delayed version of frame
end input
RED_O| Output| [7:0]| Output R-DATA
GREEN_O| Output| [7:0]| Output G-DATA
BLUE_O| Output| [7:0]| Output B-DATA
BAYER_O| Output| [7:0]| Output Bayer Data
Configuration Parameters
The following table shows the configuration parameters used in the hardware
implementation of pattern generator. These are generic parameters and can be
varied based on the application requirements.
Table 1-2. Configuration Parameters
Signal Name | Description |
---|---|
H_RESOLUTION | Horizontal resolution |
V_RESOLUTION | Vertical resolution |
g_BAYER_FORMAT | Bayer format selection for RGGB, BGGR, GRBG, and GBRG |
Testbench
A test bench has been provided to check the functionality of the pattern
generator core.
Table 1-3. Testbench Configuration Parameters
Name | Description |
---|---|
CLKPERIOD | Clock Period |
Resource Utilization
The following table lists the resource utilization of the pattern generator
block implemented in the SmartFusion2 and PolarFire system-on-chip (SoC) FPGA
device M2S150T-FBGA1152 package and PolarFire FPGA device MPF300TS_ES –
1FCG1152E package.
Table 1-4. Resource Utilization Report
Resource | Usage |
---|---|
DFFs | 78 |
4-Input LUTs | 240 |
MACC | 0 |
RAM1Kx18 | 0 |
RAM64x18 | 0 |
Revision History
The revision history describes the changes that were implemented in the document. The changes are listed by revision, starting with the most current publication.
Revision | Date | Description |
---|---|---|
A | 03/2022 | The following is the list of changes in revision A of the |
document:• The document was migrated to the Microchip template.• The
document number was updated to DS00004465A from 50200682.
1| 02/2016| Revision 1.0 was the first publication of this document.
Microchip FPGA Support
Microchip FPGA products group backs its products with various support services, including Customer Service, Customer Technical Support Center, a website, and worldwide sales offices. Customers are suggested to visit Microchip online resources prior to contacting support as it is very likely that their queries have been already answered. Contact Technical Support Center through the website at www.microchip.com/support. Mention the FPGA Device Part number, select appropriate case category, and upload design files while creating a technical support case. Contact Customer Service for non- technical product support, such as product pricing, product upgrades, update information, order status, and authorization.
- From North America, call 800.262.1060
- From the rest of the world, call 650.318.4460
- Fax, from anywhere in the world, 650.318.8044
The Microchip Website
Microchip provides online support via our website at
www.microchip.com/. This website is used to make
files and information easily available to customers. Some of the content
available includes:
- Product Support – Data sheets and errata, application notes and sample programs, design resources, user’s guides and hardware support documents, latest software releases and archived software
- General Technical Support – Frequently Asked Questions (FAQs), technical support requests, online discussion groups, Microchip design partner program member listing
- Business of Microchip – Product selector and ordering guides, latest Microchip press releases, listing of seminars and events, listings of Microchip sales offices, distributors and factory representatives
Product Change Notification Service
Microchip’s product change notification service helps keep customers current
on Microchip products. Subscribers will receive email notification whenever
there are changes, updates, revisions or errata related to a specified product
family or development tool of interest.
To register, go to www.microchip.com/pcn and
follow the registration instructions.
Customer Support
Users of Microchip products can receive assistance through several channels:
- Distributor or Representative
- Local Sales Office
- Embedded Solutions Engineer (ESE)
- Technical Support
Customers should contact their distributor, representative or ESE for support. Local sales offices are also available to help customers. A listing of sales offices and locations is included in this document. Technical support is available through the website at: www.microchip.com/support
Microchip Devices Code Protection Feature
Note the following details of the code protection feature on Microchip products:
- Microchip products meet the specifications contained in their particular Microchip Data Sheet.
- Microchip believes that its family of products is secure when used in the intended manner, within operating specifications, and under normal conditions.
- Microchip values and aggressively protects its intellectual property rights. Attempts to breach the code protection features of Microchip product is strictly prohibited and may violate the Digital Millennium Copyright Act.
- Neither Microchip nor any other semiconductor manufacturer can guarantee the security of its code. Code protection does not mean that we are guaranteeing the product is “unbreakable”. Code protection is constantly evolving. Microchip is committed to continuously improving the code protection features of our products.
Legal Notice
This publication and the information herein may be used only with Microchip products, including to design, test, and integrate Microchip products with your application. Use of this information in any other manner violates these terms. Information regarding device applications is provided only for your convenience and may be superseded by updates. It is your responsibility to ensure that your application meets with your specifications. Contact your local Microchip sales office for additional support or, obtain additional support at www.microchip.com/enus/support/design-help/client-support- services.
THIS INFORMATION IS PROVIDED BY MICROCHIP “AS IS”. MICROCHIP MAKES NO REPRESENTATIONS OR WARRANTIES OF ANY KIND WHETHER EXPRESS OR IMPLIED, WRITTEN OR ORAL, STATUTORY OR OTHERWISE, RELATED TO THE INFORMATION INCLUDING BUT NOT LIMITED TO ANY IMPLIED WARRANTIES OF NON-INFRINGEMENT, MERCHANTABILITY, AND FITNESS FOR A PARTICULAR PURPOSE, OR WARRANTIES RELATED TO ITS CONDITION, QUALITY, OR PERFORMANCE. IN NO EVENT WILL MICROCHIP BE LIABLE FOR ANY INDIRECT, SPECIAL, PUNITIVE, INCIDENTAL, OR CONSEQUENTIAL LOSS, DAMAGE, COST, OR EXPENSE OF ANY KIND WHATSOEVER RELATED TO THE INFORMATION OR ITS USE, HOWEVER CAUSED, EVEN IF MICROCHIP HAS BEEN ADVISED OF THE POSSIBILITY OR THE DAMAGES ARE FORESEEABLE. TO THE FULLEST EXTENT ALLOWED BY LAW, MICROCHIP’S TOTAL LIABILITY ON ALL CLAIMS IN ANY WAY RELATED TO THE INFORMATION OR ITS USE WILL NOT EXCEED THE AMOUNT OF FEES, IF ANY, THAT YOU HAVE PAID DIRECTLY TO MICROCHIP FOR THE INFORMATION.
Use of Microchip devices in life support and/or safety applications is entirely at the buyer’s risk, and the buyer agrees to defend, indemnify and hold harmless Microchip from any and all damages, claims, suits, or expenses resulting from such use. No licenses are conveyed, implicitly or otherwise, under any Microchip intellectual property rights unless otherwise stated.
Trademarks
The Microchip name and logo, the Microchip logo, Adaptec, AnyRate, AVR, AVR logo, AVR Freaks, BesTime, BitCloud, CryptoMemory, CryptoRF, dsPIC, flexPWR, HELDO, IGLOO, JukeBlox, KeeLoq, Kleer, LANCheck, LinkMD, maXStylus, maXTouch, MediaLB, megaAVR, Microsemi, Microsemi logo, MOST, MOST logo, MPLAB, OptoLyzer, PIC, picoPower, PICSTART, PIC32 logo, PolarFire, Prochip Designer, QTouch, SAM-BA, SenGenuity, SpyNIC, SST, SST Logo, SuperFlash, Symmetricom, SyncServer, Tachyon, TimeSource, tinyAVR, UNI/O, Vectron, and XMEGA are registered trademarks of Microchip Technology Incorporated in the U.S.A. and other countries. AgileSwitch, APT, ClockWorks, The Embedded Control Solutions Company, EtherSynch, Flashtec, Hyper Speed Control, HyperLight Load, IntelliMOS, Libero, motorBench, mTouch, Powermite 3, Precision Edge, ProASIC, ProASIC Plus, ProASIC Plus logo, Quiet- Wire, SmartFusion, SyncWorld, Temux, TimeCesium, TimeHub, TimePictra, TimeProvider, TrueTime, WinPath, and ZL are registered trademarks of Microchip Technology Incorporated in the U.S.A.
Adjacent Key Suppression, AKS, Analog-for-the-Digital Age, Any Capacitor, AnyIn, AnyOut, Augmented Switching, BlueSky, BodyCom, CodeGuard, CryptoAuthentication, CryptoAutomotive, CryptoCompanion, CryptoController, dsPICDEM, dsPICDEM.net, Dynamic Average Matching, DAM, ECAN, Espresso T1S, EtherGREEN, GridTime, IdealBridge, In-Circuit Serial Programming, ICSP, INICnet, Intelligent Paralleling, Inter-Chip Connectivity, JitterBlocker, Knob-on-Display, maxCrypto, maxView, memBrain, Mindi, MiWi, MPASM, MPF, MPLAB Certified logo, MPLIB, MPLINK, MultiTRAK, NetDetach, NVM Express, NVMe, Omniscient Code Generation, PICDEM, PICDEM.net, PICkit, PICtail, PowerSmart, PureSilicon, QMatrix, REAL ICE, Ripple Blocker, RTAX, RTG4, SAMICE, Serial Quad I/O, simpleMAP, SimpliPHY, SmartBuffer, SmartHLS, SMART-I.S., storClad, SQI, SuperSwitcher, SuperSwitcher II, Switchtec, SynchroPHY, Total Endurance, TSHARC, USBCheck, VariSense, VectorBlox, VeriPHY, ViewSpan, WiperLock, XpressConnect, and ZENA are trademarks of Microchip Technology Incorporated in the U.S.A. and other countries. SQTP is a service mark of Microchip Technology Incorporated in the U.S.A.The Adaptec logo, Frequency on Demand, Silicon Storage Technology, Symmcom, and Trusted Time are registered trademarks of Microchip Technology Inc. in other countries. GestIC is a registered trademark of Microchip Technology Germany II GmbH & Co. KG, a subsidiary of Microchip Technology Inc., in other countries.
All other trademarks mentioned herein are property of their respective
companies.
© 2022, Microchip Technology Incorporated and its subsidiaries. All Rights
Reserved.ISBN: 978-1-5224-9898-8
Quality Management System
For information regarding Microchip’s Quality Management Systems, please visit www.microchip.com/quality.
AMERICAS
Corporate Office
2355 West Chandler Blvd.
Chandler, AZ 85224-6199
Tel: 480-792-7200
Fax: 480-792-7277
Technical Support:
www.microchip.com/support
Web Address:www.microchip.com
References
- {波多野42部无码喷潮在线,18禁美女裸身无遮挡免费网站,国产成人精品一区二三区在线观看,久久精品国产亚洲AⅤ无码}
- Empowering Innovation | Microchip Technology
- Empowering Innovation | Microchip Technology
- Support | Microchip Technology
- Product Change Notification | Microchip Technology
- Quality | Microchip Technology
- Microchip Lightning Support
- Client Support Services | Microchip Technology
Read User Manual Online (PDF format)
Read User Manual Online (PDF format) >>