C6845 CRT Controller Megafunction

Similar documents
Digital Blocks Semiconductor IP

A * Rockwell. R6500 Microcomputer System DATA SHEET CRT CONTROLLER (CRTC) r- r- 31 O PART NUMBER R FEATURES DESCRIPTION O 30-4 O O

IMS B007 A transputer based graphics board

An Efficient SOC approach to Design CRT controller on CPLD s

Design of VGA Controller using VHDL for LCD Display using FPGA

PROCESSOR BASED TIMING SIGNAL GENERATOR FOR RADAR AND SENSOR APPLICATIONS

Design and Implementation of an AHB VGA Peripheral

FPGA Laboratory Assignment 4. Due Date: 06/11/2012

Lancelot. VGA video controller for the Altera Nios II processor. V4.0. December 16th, 2005

Logic Devices for Interfacing, The 8085 MPU Lecture 4

Chapter 6. Flip-Flops and Simple Flip-Flop Applications

HIGH PERFORMANCE MEMORY DESIGN TECHNIQUE FOR THE MC68000

DT3162. Ideal Applications Machine Vision Medical Imaging/Diagnostics Scientific Imaging

Digital Blocks Semiconductor IP

Block Diagram. dw*3 pixin (RGB) pixin_vsync pixin_hsync pixin_val pixin_rdy. clk_a. clk_b. h_s, h_bp, h_fp, h_disp, h_line

Design and Implementation of SOC VGA Controller Using Spartan-3E FPGA

VHDL Design and Implementation of FPGA Based Logic Analyzer: Work in Progress

LogiCORE IP Video Timing Controller v3.0

Massachusetts Institute of Technology Department of Electrical Engineering and Computer Science Introductory Digital Systems Laboratory

Lab # 9 VGA Controller

Smart Night Light. Figure 1: The state diagram for the FSM of the ALS.

Laboratory Exercise 7

SPCA711A DIGITAL VIDEO ENCODER FOR VIDEOCD GENERAL DESCRIPTION FEATURES BLOCK DIAGRAM APPLICATIONS

Digital Blocks Semiconductor IP

TOSHIBA CMOS DIGITAL INTEGRATED CIRCUIT SILICON MONOLITHIC T7779

IT T35 Digital system desigm y - ii /s - iii

Lab #5: Design Example: Keypad Scanner and Encoder - Part 1 (120 pts)

Lab 3: VGA Bouncing Ball I

CS 4451A: Computer Graphics. Why Computer Graphics?

Lecture 14: Computer Peripherals

T1 Deframer. LogiCORE Facts. Features. Applications. General Description. Core Specifics

Digilent Nexys-3 Cellular RAM Controller Reference Design Overview

CPS311 Lecture: Sequential Circuits

VGA Port. Chapter 5. Pin 5 Pin 10. Pin 1. Pin 6. Pin 11. Pin 15. DB15 VGA Connector (front view) DB15 Connector. Red (R12) Green (T12) Blue (R11)

Computer Graphics. Introduction

High Performance Raster Scan Displays

CSCB58 - Lab 4. Prelab /3 Part I (in-lab) /1 Part II (in-lab) /1 Part III (in-lab) /2 TOTAL /8

Sequential Circuit Design: Principle

4 of 40. Multi-ASIC reset synchronization Good Multi-Flip-Flop. Synthesis issues with reset nets. 3 of 40. Synchronous Resets? Asynchronous Resets?

Timing Pulses. Important element of laboratory electronics. Pulses can control logical sequences with precise timing.

82C55A CHMOS PROGRAMMABLE PERIPHERAL INTERFACE

Testing Sequential Circuits

Single Channel LVDS Tx

Hitachi Europe Ltd. ISSUE : app084/1.0 APPLICATION NOTE DATE : 28/04/99

Instructions. Final Exam CPSC/ELEN 680 December 12, Name: UIN:

System IC Design: Timing Issues and DFT. Hung-Chih Chiang

VARIABLE FREQUENCY CLOCKING HARDWARE

Objectives. Combinational logics Sequential logics Finite state machine Arithmetic circuits Datapath

EECS 578 SVA mini-project Assigned: 10/08/15 Due: 10/27/15

Universal Asynchronous Receiver- Transmitter (UART)

2.6 Reset Design Strategy

Serial FIR Filter. A Brief Study in DSP. ECE448 Spring 2011 Tuesday Section 15 points 3/8/2011 GEORGE MASON UNIVERSITY.

Comp 410/510. Computer Graphics Spring Introduction to Graphics Systems

Chapter 9 MSI Logic Circuits

Read-only memory (ROM) Digital logic: ALUs Sequential logic circuits. Don't cares. Bus

Massachusetts Institute of Technology Department of Electrical Engineering and Computer Science Introductory Digital Systems Laboratory

BUSES IN COMPUTER ARCHITECTURE

OL_H264MCLD Multi-Channel HDTV H.264/AVC Limited Baseline Video Decoder V1.0. General Description. Applications. Features

Sequential Logic. Introduction to Computer Yung-Yu Chuang

SignalTap Plus System Analyzer

Overview: Logic BIST

Revision: August 11, E Main Suite D Pullman, WA (509) Voice and Fax. 8 LEDs. Doc: page 1 of 9

Contents Circuits... 1

Chapter 4. Logic Design

Asynchronous (Ripple) Counters

Block Diagram. pixin. pixin_field. pixin_vsync. pixin_hsync. pixin_val. pixin_rdy. pixels_per_line. lines_per_field. pixels_per_line [11:0]

COMP2611: Computer Organization. Introduction to Digital Logic

Modeling Latches and Flip-flops

Introduction to Computer Graphics

ECE 270 Lab Verification / Evaluation Form. Experiment 9

Digital Fundamentals: A Systems Approach

Chapter 18. DRAM Circuitry Discussion. Block Diagram Description. DRAM Circuitry 113

Counters

LogiCORE IP Video Timing Controller v3.0

Final Exam review: chapter 4 and 5. Supplement 3 and 4

NS8050U MICROWIRE PLUSTM Interface

SP2 Multi-Function DVI Converter

Display Technology. Images stolen from various locations on the web... Cathode Ray Tube

HD66840/HD LVIC/LVIC-II (LCD Video Interface Controller) Description. Features

Testing Digital Systems II

Low Power Digital Design using Asynchronous Logic

LFSRs as Functional Blocks in Wireless Applications Author: Stephen Lim and Andy Miller

VGA 8-bit VGA Controller

ASYNCHRONOUS COUNTER CIRCUITS

IE1204 Digital Design F11: Programmable Logic, VHDL for Sequential Circuits

Integration of Computer Generated Images with NTSC Video

Experiment # 4 Counters and Logic Analyzer

Laboratory 4. Figure 1: Serdes Transceiver

DIGITAL SYSTEM FUNDAMENTALS (ECE421) DIGITAL ELECTRONICS FUNDAMENTAL (ECE422) LATCHES and FLIP-FLOPS

BTV Tuesday 21 November 2006

Report on 4-bit Counter design Report- 1, 2. Report on D- Flipflop. Course project for ECE533

Final Project [Tic-Tac-Toe]

Camera Interface Guide

Advanced Devices. Registers Counters Multiplexers Decoders Adders. CSC258 Lecture Slides Steve Engels, 2006 Slide 1 of 20

L14 - Video. L14: Spring 2005 Introductory Digital Systems Laboratory

System IC Design: Timing Issues and DFT. Hung-Chih Chiang

Scans and encodes up to a 64-key keyboard. DB 1 DB 2 DB 3 DB 4 DB 5 DB 6 DB 7 V SS. display information.

VID_OVERLAY. Digital Video Overlay Module Rev Key Design Features. Block Diagram. Applications. Pin-out Description

CHAPTER 6 DESIGN OF HIGH SPEED COUNTER USING PIPELINING

DT3130 Series for Machine Vision

Transcription:

查询 C6845 供应商 捷多邦, 专业 PCB 打样工厂,24 小时加急出货 C6845 CRT ler Megafunction General Description The C6845 Cathode Ray Tube ler (CRTC) interfaces a microprocessor to a raster-scan CRT display. The C6845 is a synchronous, synthesizable VHDL megafunction, functionally equivalent to the Motorola MC6845 CRT ler. The microprocessor access 19 registers (1 Address and 18 Data isters) within the C6845 in order to provide video timing, refresh memory addresses, cursor, and light pen strobe signals. CRT video timing signals include Vertical Sync (VS), Sync (HS), and Display Enable (DE) output signals. Refresh memory addressing includes Memory Address (MA[13:0]) and Row Address (RA[4:0]) output buses. The C6845 microprocessor interface consist of unidirectional data input (DIN[7:0]) and data output (DOUT[7:0]) buses and control signals RS, RWn, CSn, and E. Optionally, an available bus wrapper converts the unidirectional data buses into an 8-bit bi-directional data bus (D[7:0]). This is the pin equivalent to the MC6845. Features Fully-synchronous, synthesizable VHDL Megafunction, functionally equivalent to Motorola MC6845 Capable of driving alphanumeric, semi-graphic, or bit-mapped graphics displays Wide range of programmable alphanumeric screen formats Programmable registers controlling output signals Vertical Sync (VS), Sync (HS), and Display Enable (DE) signals Programmable horizontal line rate and sync pulse width Programmable vertical frame rate Programmable registers controlling Memory Address (MA[13:0]) start address Programmable Start Address ister for Hardware Scrolling Programmable registers controlling Row Address (RA[4:0]) size, yielding a character row Programmable register controlling Normal Sync (Non-Interlace), Interlace Sync, or Interlace Sync & Video Mode Programmable registers for control and format of Light Pen ister Microprocessor 8-bit Data Bus and Interface

Symbol PDBTRI VS Microprocessor Interface DOUT[7..0] DIN[7..0] RS HS DE CRT Light Pen Strobe Reset & Clock RWn CSn E LPSTB RESETn C6845 CRT ler MA[13..0] RA[4..0] CURSOR Refresh Memory/ Charactor Generator Addressing PU_RESETn Pin Description Name Type Polarity Description Microprocessor Interface DIN[7..0] IN - Data Bus Input DOUT[7..0] OUT - Data Bus Output PDBTRI OUT (See Description) Processor Data Bus Tri-state H= Processor Reads L= Processor Writes RS IN Low Address ister Select High Data ister Select RWn IN Low Write to Internal ister High Read Internal ister CSn IN Low Chip Select E IN High Enable Data Bus Output During Microprocessor Reads Falling Edge ister Data During Microprocessor Writes Light Pen Strobe Interface LPSTB IN Rising Edge Light Pen Strobe Reset and Clock Interface RESETn IN Low Reset/Test Mode IN Falling Edge Synchronous Clock (Except for Micro-processor Interface) PU_RESETn IN Low Asynchronous Power-up Reset CRT Interface DE OUT High Display Enable HS OUT High Sync VS OUT High Vertical Sync Refresh Memory/Character Generator Addressing Interface MA[13..0] OUT - Refresh Memory Address RA[4..0] OUT - Row Address Interface CURSOR OUT High Applications Point-of-contact Kiosk

Medical instrumentation Test & Measurement Instrumentation Industrial Equipment Avionics Gaming & Amusement Machines Block Diagram RESETN DE HS RESETN Set Reset ister Sync Width Character Row Set Reset ister PU_RESETn Address ister And Decoder R0 R1 R2 Total Displayed Sync Position R3 Sync Width Vertical R4 Total RWN CSN RS E PDBTRI DIN[7:0] VS Vertical R5 Vertical Total Adjust R6 Vertical Displayed R7 Vertical Sync Position R8 Interlace Mode Scan Line Linear Address Generator Light Pen Sync R9 Max Scan Line Address R10 Start R11 End R12Start Address R13 R14 Address R15 RA(4:0) MA(13:0) LPSTB R16 R17 Light Pen DOUT[7:0] Functional Description This section describes the Block Diagram above. A description of each of the blocks in the diagram is given here.

Timing The Timing section consist of the, Sync Width, isters R0 through R3, and associated synchronous Set/Reset Flip-Flops and Coincidence Circuits. The counts from zero until coincidence with ister R0 synchronously resets the counter. This represents the horizontal line rate and enabling of the Display Enable (DE) for a new line takes place. Coincidence of the with ister R1 marks the end of the active display portion of a horizontal line with Display Enable (DE) going inactive. Coincidence of the with ister R2 marks the beginning of horizontal retrace with Sync (HS) going active high. Coincidence of the Sync Width with ister R3 marks the end of horizontal retrace with Sync (HS) going inactive low. Vertical Timing The Vertical Timing section consists of the Scan Line, Character Row, isters R4 through R9, the Vertical logic block, and associated Coincidence Circuits. The Scan Line counts from zero until coincidence with ister R9 synchronously resets the Scan Line and synchronously increments the Character Row. The Scan Line counts the Scan Lines composing a character row, and the Character Row counts the character rows comprising a vertical frame. The Character Row coincidence with R4 and the residual Scan Line count represented by R5 marks the end of a vertical frame. The Character Row coincidence with ister R6 marks the end of the active display portion of the vertical frame measured in character rows. The Character Row coincidence with ister R7 marks the beginning of vertical retrace with Vertical Sync (VS) going active high. VS remains high for a fixed period of 16 scan lines. ister R8, Interlace Mode ister, effects the Vertical Timing according to its programming. Normal Sync (Non-Interlace) mode displays the same field each frame. Interlace Sync Mode splits a frame into even and odd fields. Vertical Sync (VS) active high is delayed one-half scan line at the end of even fields. For Interlace Sync & Video Mode, in addition to the VS delay on even fields, the Row Address counter sequences on even fields through 0,2,4, counter values while on odd fields, through 1,3,5, counter values. The section consist of the, Start ister R10, End ister R11, Address isters R14 and R15, and associated Interlace Mode ister settings and Refresh Memory Address and Row Address buses as well as associated Coincidence Circuits. As a first condition for activating the cursor, Address isters R14 and R15 signify the character in linear address space the cursor can be active. Then, Start ister R10 and End ister R11 select the scan lines within the designated character space the cursor will be active. In addition, Start ister R10 contains a 2-bit field indicating whether the cursor is active or not, and, if so, whether it should blink or not, and, if blink, at 1/16 th or 1/32 nd the field rate.

Start Address Start Address ister R12 and R13 indicate the first address the Linear Address Generator puts on the Refresh Memory Address bus at the start of a vertical frame. Whenever the microprocessor writes to R12 and R13, the Linear Address Generator is updated at the start of the next vertical frame. Light Pen ister On the rising edge of the LPSTB input, after synchronization by two cycles, the value of the Refresh Memory Address bus is captured by the Light Pen isters R16 and R17. These registers are readable by-wayof the microprocessor interface. Linear Address Generator The Linear Address Generator generates the Refresh Memory Address. The Linear Address Generator initializes to the value of the Start Address isters R12 and R13 at the start of each vertical frame. The Linear Address Generator remains active during horizontal and vertical retrace, for refresh of dynamic RAMs. Device Utilization & Performance Supported Device Utilization Performance Family Tested LEs Memory Memory bits F max Cyclone EP1C20-6 399 0 0 186 MHz Stratix EP1S20-5 399 0 0 194 MHz Stratix-II EP2S60-3 330 0 0 221 MHz Deliverables Encrypted Netlist License Post synthesis EDIF netlist Assignment & Configuration Symbol & Include files Testbench Vectors for testing the functionality of the megafunction Place & Route Scripts Documentation

VHDL Source License VHDL RTL source code Testbenches Vectors for testing functionality Expected results Synthesis scripts Simulation scripts Documentation Related Information MC6845 CRT ler Contact: Motorola Semiconductors 3501 ED Bluestein Blvd. Austin, Texas 78721 Phone: 512-933-6000 800-201-0399 (literature) URL: www.motorola.com To obtain a copy of the MC6845 CRT ler Data Sheet, contact CAST. Contact Information CAST, Inc. 11 Stonewall Court Woodcliff Lake, New Jersey 07677 USA Phone: +1 201-391-8300 Fax: +1 201-391-8694 E-Mail: info@cast-inc.com URL: www.cast-inc.com This core developed by the peripheral controller experts at Digital Blocks, Inc. Copyright CAST, Inc. 2004, All Rights Reserved. Contents subject to change without notice.