Digital Blocks Semiconductor IP

Similar documents
C6845 CRT Controller Megafunction

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

Digital Blocks Semiconductor IP

PROCESSOR BASED TIMING SIGNAL GENERATOR FOR RADAR AND SENSOR APPLICATIONS

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

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

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

Design and Implementation of an AHB VGA Peripheral

BUSES IN COMPUTER ARCHITECTURE

TOSHIBA CMOS DIGITAL INTEGRATED CIRCUIT SILICON MONOLITHIC T7779

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

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

VARIABLE FREQUENCY CLOCKING HARDWARE

IMS B007 A transputer based graphics board

Digital Blocks Semiconductor IP

ECE 545 Digital System Design with VHDL Lecture 2. Digital Logic Refresher Part B Sequential Logic Building Blocks

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

Universal Asynchronous Receiver- Transmitter (UART)

Asynchronous (Ripple) Counters

S6B CH SEGMENT DRIVER FOR DOT MATRIX LCD

HIGH PERFORMANCE MEMORY DESIGN TECHNIQUE FOR THE MC68000

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

CprE 281: Digital Logic

ECE 545 Digital System Design with VHDL Lecture 1B. Digital Logic Refresher Part B Sequential Logic Building Blocks

Logic Devices for Interfacing, The 8085 MPU Lecture 4

Lab 3: VGA Bouncing Ball I

Counters

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

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

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

64CH SEGMENT DRIVER FOR DOT MATRIX LCD

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

Chapter 3 Unit Combinational

ASYNCHRONOUS COUNTER CIRCUITS

ECE 270 Lab Verification / Evaluation Form. Experiment 9

Logic Design. Flip Flops, Registers and Counters

2.6 Reset Design Strategy

82C55A CHMOS PROGRAMMABLE PERIPHERAL INTERFACE

Task 4_B. Decoder for DCF-77 Radio Clock Receiver

LSN 12 Shift Registers

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)

Modeling Latches and Flip-flops

Unit 11. Latches and Flip-Flops

FSM Cookbook. 1. Introduction. 2. What Functional Information Must be Modeled

Counter dan Register

Digilent Nexys-3 Cellular RAM Controller Reference Design Overview

Final Project [Tic-Tac-Toe]

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

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

T 2 : WR = 0, AD 7 -AD 0 (μp Internal Reg.) T 3 : WR = 1,, M(AB) AD 7 -AD 0 or BDB

CSE115: Digital Design Lecture 23: Latches & Flip-Flops

CS 4451A: Computer Graphics. Why Computer Graphics?

COMP2611: Computer Organization. Introduction to Digital Logic

ECE 545 Digital System Design with VHDL Lecture 1. Digital Logic Refresher Part B Sequential Logic Building Blocks

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

Logic Analysis Basics

EECS 373 Design of Microprocessor-Based Systems

CHAPTER1: Digital Logic Circuits

Logic Analysis Basics

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

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

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

Testing Sequential Circuits

Flip-flop and Registers

ELCT201: DIGITAL LOGIC DESIGN

Laboratory 1 - Introduction to Digital Electronics and Lab Equipment (Logic Analyzers, Digital Oscilloscope, and FPGA-based Labkit)

Digital Fundamentals: A Systems Approach

Combinational vs Sequential

Sequential Circuit Design: Principle

Logic Design Viva Question Bank Compiled By Channveer Patil

Lab #10: Building Output Ports with the 6811

High Performance Raster Scan Displays

An Efficient SOC approach to Design CRT controller on CPLD s

CPS311 Lecture: Sequential Circuits

Design and analysis of microcontroller system using AMBA- Lite bus

Sequential Logic. Introduction to Computer Yung-Yu Chuang

Low Power Digital Design using Asynchronous Logic

FPGA Development for Radar, Radio-Astronomy and Communications

LogiCORE IP Video Timing Controller v3.0

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

Computer Systems Architecture

Digital Electronics II 2016 Imperial College London Page 1 of 8

Modeling Latches and Flip-flops

Side Street. Traffic Sensor. Main Street. Walk Button. Traffic Lights

EECS150 - Digital Design Lecture 10 - Interfacing. Recap and Topics

EKT 121/4 ELEKTRONIK DIGIT 1

Design of VGA Controller using VHDL for LCD Display using FPGA

Flip Flop. S-R Flip Flop. Sequential Circuits. Block diagram. Prepared by:- Anwar Bari

Lecture 14: Computer Peripherals

Clock Domain Crossing. Presented by Abramov B. 1

cascading flip-flops for proper operation clock skew Hardware description languages and sequential logic

The University of Texas at Dallas Department of Computer Science CS 4141: Digital Systems Lab

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

CSE140L: Components and Design Techniques for Digital Systems Lab. CPU design and PLDs. Tajana Simunic Rosing. Source: Vahid, Katz

Figure 1 shows a simple implementation of a clock switch, using an AND-OR type multiplexer logic.

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

Chapter 2 Clocks and Resets

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

64CH SEGMENT DRIVER FOR DOT MATRIX LCD INTRODUCTION FEATURES 100 QFP-1420C

Transcription:

Digital Blocks Semiconductor IP General Description The Digital Blocks core is a full function equivalent to the Motorola MC6845 device. The interfaces a microprocessor to a raster-scan CRT display. The microprocessor access 19 registers (1 and 18 Data s) within the 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 (MA[13:0]) and Row (RA[4:0]) output buses. Features Synchronous, synthesizable VHDL Core, functionally equivalent to Motorola MC6845. Capable of driving alphanumeric, semi-graphic, or bit-mapped graphics displays. Wide range of programmable 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 (MA[13:0]) start address. Programmable Start for Hardware Scrolling. Programmable registers controlling Row (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 Cursor. Light Pen. Microprocessor 8-bit Data Bus and Control Interface. -DS-V1.1 1 5/6/2016

Block Diagram CLK RESETN DE HS CLK RESETN Set Reset Sync Width Character Row Set Reset PU_RESETn And Decoder R0 Total R1 Displayed Sync Position R2 R3 Sync Width Vertical R4 Total RWN CSN RS E PDBTRI DIN[7:0] VS Vertical Control R5 Vertical Total Adjust Vertical R6 Displayed R7 Vertical Sync Position R8 Interlace Mode Cursor Scan Line Linear Generator Cursor Control Light Pen Sync R9 Max Scan Line R10Cursor Start R11Cursor End R12Start R13 R14Cursor R15 RA(4:0) MA(13:0) LPSTB CLK R16 R17 Light Pen DOUT[7:0] Figure 1: Block Diagram -DS-V1.1 2 5/6/2016

Assignment CSn RS [4:0]. No. Name Program Unit R/ W Data Bit D[7:0] 1 - - - - - - 0 0 - AR - W 0 1 00000 R0 Character W 0 1 00001 R1 Character W Displayed 0 1 00010 R2 H. Sync Character W Position 0 1 00011 R3 Sync Width - W 0 1 00100 R4 Vertical Character W Width Row 0 1 00101 R5 V. Total Scan Line W Adjust 0 1 00110 R6 Vertical Character W Displayed Row 0 1 00111 R7 V. Sync Character W Position Row 0 1 01000 R8 Interlace Mode & Skew - W I1 I0 0 1 01001 R9 Max Scan Line Scan Line 0 1 01010 R10 Cursor Start Scan Line W B P 0 1 01011 R11 Cursor End Scan Line W 0 1 01100 R12 Start Memory W 0 0 (H) 0 1 01101 R13 Start Memory W (L) 0 1 01110 R14 Cursor (H) Memory R/ 0 0 W 0 1 01111 R15 Cursor (L) Memory R/ W 0 1 10000 R16 Light Pen Memory R 0 0 (H) 0 1 10001 R17 Light Pen (L) Memory R Table 1: Internal Assignments W -DS-V1.1 3 5/6/2016

Functional Description The core is partitioned into modules as shown in Figure 1 and described below. Timing In Figure 1, the Timing section consists of the, Sync Width, s R0 through R3, and associated synchronous Set/Reset Flip-Flops and Coincidence Circuits. The counts from zero until coincidence with 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 R1 marks the end of the active display portion of a horizontal line with Display Enable (DE) going inactive. Coincidence of the with R2 marks the beginning of horizontal retrace with Sync (HS) going active high. Coincidence of the Sync Width with R3 marks the end of horizontal retrace with Sync (HS) going inactive low. Vertical Timing In Figure 1, the Vertical Timing section consists of the Scan Line, Character Row, s R4 through R9, the Vertical Control logic block, and associated Coincidence Circuits. The Scan Line counts from zero until coincidence with 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 R6 marks the end of the active display portion of the vertical frame measured in character rows. The Character Row coincidence with 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. R8, Interlace Mode, affects the Vertical Timing according to its programming. Normal Sync (Non-Interlace) mode displays the same field each frame. -DS-V1.1 4 5/6/2016

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 counter sequences on even fields through 0, 2, 4, counter values while on odd fields, through 1, 3, 5, counter values. Cursor In Figure 1, the Cursor section consist of the Cursor Control, Cursor Start R10, Cursor End R11, Cursor s R14 and R15, and associated Interlace Mode settings and Refresh Memory and Row buses as well as associated Coincidence Circuits. As a first condition for activating the cursor, Cursor s R14 and R15 signify the character in linear address space the cursor can be active. Then, Cursor Start R10 and Cursor End R11 select the scan lines within the designated character space the cursor will be active. In addition, Cursor Start 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 Start R12 and R13 indicate the first address the Linear Generator puts on the Refresh Memory bus at the start of a vertical frame. Whenever the microprocessor writes to R12 and R13, the Linear Generator is updated at the start of the next vertical frame. Light Pen On the rising edge of the LPSTB input, after synchronization by two CLK cycles, the value of the Refresh Memory bus is captured by the Light Pen s R16 and R17. These registers are readable by-way-of the microprocessor interface. Linear Generator The Linear Generator generates the Refresh Memory. The Linear Generator initializes to the value of the Start s R12 and R13 at the start of each vertical frame. The Linear Generator remains active during horizontal and vertical retrace, for refresh of dynamic RAMs Verification Methods The cores function & timing were verified by means of a prototype board containing the Motorola MC6845 and the in an FPGA. Both s registers were loaded and the results captured by a logic analyzer. -DS-V1.1 5 5/6/2016

Inputs and outputs were then compared on a cycle-by-cycle basis using compare scripts. The has been verified in silicon via customer designs. 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 Below) Processor Data Bus Tri-state Control H= Processor Reads L= Processor Writes RS IN Low Select High Data Select RWn IN Low Write to Internal High Read Internal CSn IN Low Chip Select E IN High Enable Data Bus Output During Microprocessor Reads Falling Edge 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 CLK IN Falling Edge Synchronous Clock (Except for Micro-processor Interface) PU_RESETn IN Low Asynchronous Power-up Reset CRT Control Interface DE OUT High Display Enable HS OUT High Sync VS OUT High Vertical Sync Refresh Memory/Character Generator ing Interface MA[13..0] OUT - Refresh Memory RA[4..0] OUT - Row Cursor Interface CURSOR OUT High Cursor Notes to Table 1: Table 2: I/O Pin Description 1. If bus wrapper employed, buses DIN[7:0] and DOUT[7:0] and signal PDBTRI replace the MC6845 bi-directional data bus D[7:0]. Related Information Motorola MC6845 Datasheet. Please contact Digital Blocks for a copy. -DS-V1.1 6 5/6/2016

Ordering Information Please contact Digital Blocks for additional technical, pricing, and support information. Digital Blocks, Inc. PO Box 192 587 Rock Rd Glen Rock, NJ 07452 USA Phone: +1-201-251-1281 efax: +1-702-552-1905 info@digitalblocks.com Copyright Digital Blocks, Inc. 2001-2016, ALL RIGHTS RESERVED -DS-V1.1 7 5/6/2016