SDLC Controller. Documentation. Design File Formats. Verification



Similar documents
Using FPGAs to Design Gigabit Serial Backplanes. April 17, 2002

Manchester Encoder-Decoder for Xilinx CPLDs

Design and Verification of Nine port Network Router

LogiCORE IP AXI Performance Monitor v2.00.a

AES (Rijndael) IP-Cores

TIP-VBY1HS Data Sheet

Gigabit Ethernet MAC. (1000 Mbps Ethernet MAC core with FIFO interface) PRODUCT BRIEF

AES1. Ultra-Compact Advanced Encryption Standard Core. General Description. Base Core Features. Symbol. Applications

Digitale Signalverarbeitung mit FPGA (DSF) Soft Core Prozessor NIOS II Stand Mai Jens Onno Krah

10/100/1000 Ethernet MAC with Protocol Acceleration MAC-NET Core

2.8.3 / (Z80 Serial I/O)

Modbus and ION Technology

10/100/1000Mbps Ethernet MAC with Protocol Acceleration MAC-NET Core with Avalon Interface

Best Practises for LabVIEW FPGA Design Flow. uk.ni.com ireland.ni.com

Objectives. Basics of Serial Communication. Simplex vs Duplex. CMPE328 Microprocessors (Spring ) Serial Interfacing. By Dr.

7a. System-on-chip design and prototyping platforms

Reading User Data from Configuration PROMs

10/100 Mbps Ethernet MAC

9/14/ :38

Lab 1: Introduction to Xilinx ISE Tutorial

Serial Communications

a8251 Features General Description Programmable Communications Interface

Using Altera MAX Series as Microcontroller I/O Expanders

PART B QUESTIONS AND ANSWERS UNIT I

PLL Dynamic Reconfiguration Author: Karl Kurbjun and Carl Ribbing

Design and Implementation of Vending Machine using Verilog HDL

How To Fix A 3 Bit Error In Data From A Data Point To A Bit Code (Data Point) With A Power Source (Data Source) And A Power Cell (Power Source)

Serial Communications

10 Gigabit Ethernet MAC Core for Altera CPLDs. 1 Introduction. Product Brief Version February 2002

MW_DVB-T/H DVB Terrestrial/Handheld Modulator Core. AllianceCORE Facts. S.r.l.

DDS. 16-bit Direct Digital Synthesizer / Periodic waveform generator Rev Key Design Features. Block Diagram. Generic Parameters.

Post-Configuration Access to SPI Flash Memory with Virtex-5 FPGAs Author: Daniel Cherry

AGIPD Interface Electronic Prototyping

DS2155 T1/E1/J1 Single-Chip Transceiver

Elettronica dei Sistemi Digitali Costantino Giaconia SERIAL I/O COMMON PROTOCOLS

Example-driven Interconnect Synthesis for Heterogeneous Coarse-Grain Reconfigurable Logic

Embedded Component Based Programming with DAVE 3

Testing of Digital System-on- Chip (SoC)

MicroBlaze Debug Module (MDM) v3.2

Quartus II Software Design Series : Foundation. Digitale Signalverarbeitung mit FPGA. Digitale Signalverarbeitung mit FPGA (DSF) Quartus II 1

Design of a High Speed Communications Link Using Field Programmable Gate Arrays

Technical Note. Micron NAND Flash Controller via Xilinx Spartan -3 FPGA. Overview. TN-29-06: NAND Flash Controller on Spartan-3 Overview

Digital Systems Design! Lecture 1 - Introduction!!

Introduction. Jim Duckworth ECE Department, WPI. VHDL Short Course - Module 1

Modbus and ION Technology

High-Level Data Link Control

PMC-XM-DIFF & EADIN/MODBUS Virtex Design

System on Chip Platform Based on OpenCores for Telecommunication Applications

USB 2.0 Transceiver Macrocell Interface (UTMI) Specification

Arbitration and Switching Between Bus Masters

(Refer Slide Time: 00:01:16 min)

SyncLink GT2/GT4 Serial Adapter

Rapid System Prototyping with FPGAs

MAX II ISP Update with I/O Control & Register Data Retention

USB Test Environment ATUSBTEST- SS7400. Summary

EC313 - VHDL State Machine Example

Below is a diagram explaining the data packet and the timing related to the mouse clock while receiving a byte from the PS-2 mouse:

Hello, and welcome to this presentation of the STM32 SDMMC controller module. It covers the main features of the controller which is used to connect

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

ChipScope Pro 11.4 Software and Cores

ARM Thumb Microcontrollers. Application Note. Software ISO 7816 I/O Line Implementation. Features. Introduction

DECT Module UM-9802 Datasheet

Chapter 2 Logic Gates and Introduction to Computer Architecture

Serial port interface for microcontroller embedded into integrated power meter

Enhancing High-Speed Telecommunications Networks with FEC

AVR151: Setup and Use of the SPI. Introduction. Features. Atmel AVR 8-bit Microcontroller APPLICATION NOTE

Architectures and Platforms

USB - FPGA MODULE (PRELIMINARY)

FPGAs for High-Performance DSP Applications

Atmel Norway XMEGA Introduction

AXI Performance Monitor v5.0

Command Processor for MPSSE and MCU Host Bus Emulation Modes

Bluetooth Audio Data Transfer between Bluetooth chipset (PMB6752&PMB6625) and TriCore Host TC1920

UMBC. ISA is the oldest of all these and today s computers still have a ISA bus interface. in form of an ISA slot (connection) on the main board.

Measurement and Analysis Introduction of ISO7816 (Smart Card)

AMC13 T1 Rev 2 Preliminary Design Review. E. Hazen Boston University E. Hazen - AMC13 T1 V2 1

Von der Hardware zur Software in FPGAs mit Embedded Prozessoren. Alexander Hahn Senior Field Application Engineer Lattice Semiconductor

Clocking Wizard v5.1

AVR317: Using the Master SPI Mode of the USART module. 8-bit Microcontrollers. Application Note. Features. Introduction

Data Link Layer(1) Principal service: Transferring data from the network layer of the source machine to the one of the destination machine

A Verilog HDL Test Bench Primer Application Note

Microprocessor & Assembly Language

RAPID PROTOTYPING OF DIGITAL SYSTEMS Second Edition

ISE In-Depth Tutorial. UG695 (v14.1) April 24, 2012

Written examination in Computer Networks

A New Paradigm for Synchronous State Machine Design in Verilog

Low Cost System on Chip Design for Audio Processing

COMPUTERS ORGANIZATION 2ND YEAR COMPUTE SCIENCE MANAGEMENT ENGINEERING UNIT 5 INPUT/OUTPUT UNIT JOSÉ GARCÍA RODRÍGUEZ JOSÉ ANTONIO SERRA PÉREZ

Computer Network. Interconnected collection of autonomous computers that are able to exchange information

LogiCORE IP Block Memory Generator v7.3

The Advanced JTAG Bridge. Nathan Yawn 05/12/09

RS-422/485 Multiport Serial PCI Card. RS-422/485 Multiport Serial PCI Card Installation Guide

Mbps PCI LAN Controller A Guide to Compatibility

ECE232: Hardware Organization and Design. Part 3: Verilog Tutorial. Basic Verilog

Design Verification & Testing Design for Testability and Scan

8-ch RAID0 Design by using SATA Host IP Manual Rev1.0 9-Jun-15

Engineering Change Order (ECO) Support in Programmable Logic Design

PA-MC-T3 Multi-Channel T3 Synchronous Serial Port Adapter Enhancement

Microcontroller Based Low Cost Portable PC Mouse and Keyboard Tester

Transcription:

January 15, 2004 Product Specification 11 Stonewall Court Woodcliff Lake, NJ 07677 USA Phone: +1-201-391-8300 Fax: +1-201-391-8694 E-mail: info@cast-inc.com URL: www.cast-inc.com Features AllianceCORE Facts Documentation Design File Formats Constraints Files Verification Based on Intel s 80C152 Global Serial Channel Flexible addressing schemes - Single and double byte address recognition - Address filtering allowing multicast and broadcast addresses 16-bit CCITT or 32-bit frame check sequence NRZ or NRZI encoding Full or half duplex operation Automatic bit stuffing/stripping 3-byte internal receive and transmit FIFOs External or internally generated transmit and receive clocks Optional preamble generation Programmable interframe space Raw transmit and receive testing modes Instantiation templates Reference designs & application notes Additional Items Provided with Core Core Specifications, Instruction set details, test set details EDIF or NGC netlist, VHDL Source RTL available at extra cost chip_sdlc.ucf Test bench, test vectors VHDL, Verilog Example Design Assembler programs Simulation and synthesis scripts Simulation Tool Used 1076-Compliant VHDL Simulator Support provided by Support Table 1: Example Implementation Statistics Family Example Device Fmax 1 (MHz) Slices IOB 2 GCLK BRAM MULT DCM/ DLL MGT PPC Design Tools Virtex-II Pro XC2VP2-7 250 376 39 1 2 0 0 0 0 ISE 5.2.03i Virtex-E XCV50E-8 139 383 39 1 2 N/A 0 N/A N/A ISE 5.2.03i Virtex-II XC2V80-6 199 377 39 1 2 0 0 N/A N/A ISE 5.2.03i Spartan-IIE XC2S50E-7 129 368 39 1 2 N/A 0 N/A N/A ISE 5.2.03i Spartan-3 XC3S200-4 109 376 39 1 2 0 0 N/A N/A ISE 5.2.03i Notes: 1) Optimized for speed 2) Assuming all core I/O is routed off-chip January 15, 2004 1

sfri shift register CRC checker flag detection bit stripping decoder rxd sfro sfraddr sfrwe FIFO address detection receive receive frame sequencer clock recovery rxc sfrra tv re sfr internal signals rv ptv FIFO transmit frame sequencer transmit txc pre prv shift register CRC generator bit stuffing flag insertion encoder den txd Figure 1: SDLC Controller Block Diagram Applications ISDN D-channel X.25 networks Frame Relay networks Custom serial interfaces General Description The SDLC controller is a synthesizable HDL core of a high-speed synchronous serial communication interface. Operation of the controller is similar to that used in Intel 8XC152 Global Serial Channel (GSC) working in SDLC mode under CPU control. Communication with CPU is realized through Special Function Registers (SFRs) and 3 interrupt sources. This allows the SDLC controller for an easy integration into any CPU core. The design is strictly synchronous with positive-edge clocking, no internal tri-states and a synchronous reset; therefore scan insertion is straightforward. Functional Description The SDLC core is partitioned into modules as shown in figure 1 and described below. 2 January 15, 2004

SFR unit This part is responsible for communication with the external host controller. In a typical application the external host may be a simple 8-bit embedded controller such as the 8051. Communication with that host is performed via a set of directly accessible 8-bit registers and 3 interrupt lines. These interrupts inform the external CPU about the ability for writing transmit into the FIFO, reading just received or about receive errors. The SFR unit also contains a baud rate generator used by the Transmit and Receive units. Transmit unit This unit controls the transmit operation of the SDLC and is subdivided into several components responsible for generating properly formatted SDLC/HDLC frames. The whole unit is synchronous to the same global clock, which also feeds the SFR and Receive units. The transmit frame sequencer is the main state machine responsible for generating all control signals used during frame formatting. Incoming from the CPU goes directly into the transmit FIFO. After a transmit initialization sequence, the transmit frame sequencer automatically appends the HDLC frame flag and the optionally generated preamble sequence. It then periodically instructs the FIFO for writing into the shift register. After passing the shift register, the goes to the crc generator, which computes the frame check sequence. Then the goes to the bit stuffing unit which performs ones insertion procedure defined by the HDLC/SDLC protocol. The encoder block forms with NRZ or NRZI algorithms according to the current operating mode. If there is no transmit request, the Transmit unit can be idle or can generate a continuous idle flag sequence. Receive unit This unit controls the receive operation of the SDLC and is subdivided into several components responsible for receiving properly formatted SDLC/HDLC frames. The whole unit is synchronous to the same global clock, which also feeds the SFR and Transmit units. Incoming together with clock information passes through the decoder which separates from the incoming bit stream. The same bit stream also feeds the clock recovery unit, which detects and recovers the receiver clock signal. Decoded goes through the bit stripping circuit to remove any appended zeros and then to the flag detector. The flag detector recognizes flags defined by the HDLC/SDLC and indicates events such as the start of a new frame, end of a frame, abort or idle state on the line. This indication is used by the frame sequencer unit, the main state machine of the Receive component. After passing the flag detector, goes to the crc checker unit and to the shift register. The frame sequencer periodically instructs the shift register to write into the receive FIFO. Core Modifications The SDLC core can be modified to include features such as: Custom interfaces for external CPU Custom baud rate generation variants Variable size of internal FIFOs January 15, 2004 3

Core I/O Signals The core signal I/O have not been fixed to specific device pins to provide flexibility for interfacing with user logic. Descriptions of all signal I/O are provided in Table 2. Table 2: Core I/O Signals. Signal Signal Direction clk in Global clock reset in Global reset Control Signal Description Special Function Registers interface sfri in SFR bus input sfro out SFR bus output sfraddr in SFR address bus sfrwe in SFR write enable sfrra in SFR read acknowledge Interrupt sources rv out Receive valid interrupt re out Receive error interrupt tv out Transmit valid interrupt Interrupt priorities prv out Receive valid priority pre out Receive error priority ptv out Transmit valid priority rxd in Receive input txd out Transmit output rxc in Receive clock txc in Transmit clock Serial communication interface den out External driver enable Verification Methods The SDLC core s functionality was verified by means of a proprietary hardware modeler. The same stimulus was applied to a hardware model that contained the original Intel 80C152 chip, and the results compared with the core s simulation outputs. Recommended Design Experience The user must be familiar with HDL design methodology as well as instantiation of Xilinx netlists in a hierarchical design environment. Ordering Information This product is available directly from Xilinx AllianceCORE member under the terms of the SignOnce IP License. Please contact CAST for pricing and additional information about this product. Contact information for them is on the front page of this sheet. The SDLC core is licensed from Evatronix, S.A. To learn more about the SignOnce IP License program, contact CAST or visit the web: 4 January 15, 2004

Email: commonlicense@xilinx.com URL: www.xilinx.com/ipcenter/signonce Xilinx Programmable Logic For information on Xilinx programmable logic or development system software, contact your local Xilinx sales office, or: Xilinx, Inc. 2100 Logic Drive San Jose, CA 95124 Phone: +1 408-559-7778 Fax: +1 408-559-7114 URL: www.xilinx.com January 15, 2004 5