OrCAD Support for Atmel PLDs. Application Note. OrCAD Support for Atmel PLDs. Overview

Similar documents
Atmel-Synario CPLD/PLD Design Software ATDS1100PC ATDS1120PC ATDS1130PC ATDS1140PC. Features. Description

When is Data Susceptible to Corruption

Preparations. Creating a New Project

Parallel EEPROM Die Products. Die Products. Features. Description. Testing

Interrupt Controlled UART

AT17A Series FPGA Configuration EEPROM Memory. Application Note. FPGAs. AT17A Series Conversions from Altera FPGA Serial Configuration Memories

design cycle involving simulation, synthesis

Product Description. Application Note. AVR360: XmodemCRC Receive Utility for the AVR. Features. Theory of Operation. Introduction

AT94K Series Field Programmable System Level Integrated Circuit. Application Note. FPSLIC Baud Rate Generator

Secure Microcontrollers for Smart Cards. AT90SC Summary

Battery-Voltage. 16K (2K x 8) Parallel EEPROMs AT28BV16. Features. Description. Pin Configurations

2-wire Serial EEPROM AT24C512. Preliminary. 2-Wire Serial EEPROM 512K (65,536 x 8) Features. Description. Pin Configurations.

a Serial Peripheral Interace (SPI). Embedded RISC Microcontroller Core Peripheral

hex file. The example described in this application note is written for the AT94K using the FPSLIC Starter Kit. Creating a New Project

1-Megabit (128K x 8) Low Voltage Paged Parallel EEPROMs

2-wire Serial EEPROM AT24C01A AT24C02 AT24C04 AT24C08 AT24C16

EPROM. Application Note CMOS EPROM. Interfacing Atmel LV/BV EPROMs on a Mixed 3-Volt/5- Volt Data Bus

3-wire Serial EEPROMs AT93C46 AT93C56 AT93C57 AT93C66

256K (32K x 8) 3-volt Only Flash Memory

2-wire Serial EEPROM AT24C512

AT40K FPGA IP Core AT40K-FFT. Features. Description

DIP Top View VCC WE A17 NC A16 A15 A12 A14 A13 A8 A9 A11 A7 A6 A5 A4 A3 A2 A1 A0 I/O0 A10 CE I/O7 I/O6 I/O5 I/O4 I/O3 I/O1 I/O2 GND.

2-wire Serial EEPROMs AT24C128 AT24C256. Features. Description. Pin Configurations. 128K (16,384 x 8) 256K (32,768 x 8)

8-bit Microcontroller. Application Note. AVR031: Getting Started with ImageCraft C for AVR

8051 Microcontrollers. Application Note. Migration from AT89C5131 & AT89C5131A-L to AT89C5131A-M

AT17 Series FPGA. Configuration Memory. Application Note. In-System Programming Circuits for AT17 Series Configurators with Atmel and Xilinx FPGAs

Battery-Voltage. 256K (32K x 8) Parallel EEPROMs AT28BV256. Features. Description. Pin Configurations

DatasheetDirect.com. Visit to get your free datasheets. This datasheet has been downloaded by

8-bit Microcontroller. Application Note. AVR134: Real-Time Clock (RTC) using the Asynchronous Timer. Features. Theory of Operation.

ATICE10... User Guide

TSC695. Application Note. Annulled Cycle Management on the TSC695. References

8-bit Microcontroller. Application Note. AVR030: Getting Started with C for AVR

8-bit RISC Microcontroller. Application Note. AVR 305: Half Duplex Compact Software UART

FPGA Configurator Programming Kit (Enhanced) ATDH2200E. Features. Description

FPGA Configuration EEPROM Memory. Application Note. Programming Atmel s EEPROMs: AT17LV020(A) vs. AT17LV002(A) Introduction.

4-Megabit (512K x 8) 5-volt Only 256-Byte Sector Flash Memory AT29C040A. Features. Description. Pin Configurations

FPGA Configuration EEPROM Memory AT17C020A AT17LV020A

1-Megabit (128K x 8) 5-volt Only Flash Memory AT29C010A. Features. Description. Pin Configurations

4-megabit (512K x 8) Single 2.7-volt Battery-Voltage Flash Memory AT49BV040 AT49BV040T AT49LV040 AT49LV040T

Section 1 ATAVRAUTOEK1 Getting Started

2-wire Serial EEPROM Smart Card Modules AT24C32SC AT24C64SC

64K (8K x 8) Low-voltage Parallel EEPROM with Page Write and Software Data Protection AT28LV64B. 3-Volt, 64K E 2 PROM with Data Protection

Atmel FPGA Integrated Development System (IDS)

System Designer. Programmable SLI AT94K/AT94S Series. Features. Description

System Designer. Programmable SLI AT94K/AT94S Series. Features. Description

AT17F Series. Application Note. Programming Circuits for AT17F Series Configurators with Xilinx FPGAs. 1. Introduction

MP3 Player Reference Design Based on AT89C51SND1 Microcontroller... User Guide

1-megabit (64K x 16) 5-volt Only Flash Memory AT49F1024 AT49F1025

AT89C5131 Starter Kit... Software User Guide

TSSOP CLK/IN IN IN IN IN IN IN IN IN IN IN GND VCC IN I/O I/O I/O I/O I/O I/O I/O I/O IN OE/IN CLK/IN 1 VCC

Atmel FPGA Integrated Development System (IDS)

Application Note Microcontrollers. C Flash Drivers for T89C51RC/RB/IC2 and AT89C51RC/RB/IC2 for Keil Compilers

Bluetooth General Information White Paper

AT17(A) Series FPGA Configuration Memory. Application Note

AT91 ARM Thumb Microcontrollers. Application Note. AT91M55800A Clock Switching Considerations using Advanced Power Management Controller.

Programming Flash Devices

FPGA Configuration EEPROM Memory AT17C65 AT17LV65 AT17C128 AT17LV128 AT17C256 AT17LV256

MARC4. Application Note. Hints and Tips for Hard- and Software Developments with MARC4 Microcontrollers

Migration From AT89C51SND1C to AT83C51SDN1C. Application Note. MP3 Microcontrollers

DIP Top View A18 A16 A15 A12 A7 A6 A5 A4 A3 A2 A1 A0 I/O0 I/O1 I/O2 GND VCC A17 A14 A13 A8 A9 A11 A10 I/O7 I/O6 I/O5 I/O4 I/O3 VCC A18 A17

AVR32 UC3 Software Framework... User Manual

SOIC VCC RESET A11 A10 A9 A8 A7 A6 A5 A4 A12 A13 A14 A15 A16 A17 A18 A19 NC NC NC NC I/O0 RDY/BUSY I/O1 I/O7 I/O6 I/O5 I/O4 VCC I/O2 I/O3 GND GND

shown in Figure 3. An example where the command 0x35 is sent to system 5 is shown in Figure 4. Figure 2. RC5 Frame Format Figure 3.

SPI Serial EEPROMs AT25010 AT25020 AT SPI, 1K Serial E 2 PROM. Features. Description. Pin Configurations 8-Pin PDIP. 1K (128 x 8) 2K (256 x 8)

Programmable SLI AT40K AT40KAL AT94K. Application Note. Implementing a Single-coefficient Multiplier

CAN Microcontrollers. Application Note. Migrating from T89C51CC01 to AT89C51CC03. Feature Comparison

1-megabit (64K x 16) 3-volt Only Flash Memory AT49LV1024 AT49LV1025

8-bit Microcontroller. Application Note. AVR033: Getting Started with the CodeVisionAVR C Compiler

8-bit Microcontroller. Application Note. AVR201: Using the AVR Hardware Multiplier

UART. Embedded RISC Microcontroller Core Peripheral

ATAVRAUTO User Guide

5M bytes free disk space Available parallel printer port

Highperformance EE PLD ATF16V8B ATF16V8BQ ATF16V8BQL. Features. Block Diagram. All Pinouts Top View

AT89STK-09 Starter Kit for AT83C26... User Guide

AT91 ARM Thumb Microcontrollers. Application Note. AT91 Host Flash Loader. 1. Package Contents. 2. Definition of Terms. 3.

8-Megabit 5-volt Only Serial DataFlash AT45D081. Features. Description

8-bit Microcontroller. Application Note. AVR033: Getting Started with the CodeVisionAVR C Compiler

4-megabit (512K x 8) Single 2.7-volt Battery-Voltage Flash Memory AT49BV040 AT49LV040

ATAVRAUTO User Guide

Rad Hard FPGA. AT40KEL-DK Design Kit Content. Description. Kit Content. Reference Material. Support

Embedded RISC Microcontroller Core ARM7TDMI

Two-wire Serial EEPROM Smart Card Modules 128K (16,384 x 8) 256 (32,768 x 8) AT24C128SC AT24C256SC. Features. Description VCC NC

AVR1303: Use and configuration of IR communication module. 8-bit Microcontrollers. Application Note. Features. 1 Introduction

AVR1315: Accessing the XMEGA EEPROM. 8-bit Microcontrollers. Application Note. Features. 1 Introduction

Application Note. Microcontrollers. Using Keil FlashMon Emulator with AT89C51CC01/03 AT89C51CC01/ Summary. 2. Background overview

3-Wire Serial EEPROM AT93C46C

a clock signal and a bi-directional data signal (SCL, SDA)

Highperformance EE PLD ATF16V8C. Features. Block Diagram. Pin Configurations. All Pinouts Top View

AT89ISP Programmer Cable Introduction AT89ISP Programmer Cable Parallel Port Settings Application Note AT89ISP Software AT89ISP Cable polarized

CAN, 80C51, AVR, Microcontroller. Application Note

256 (32K x 8) High-speed Parallel EEPROM AT28HC256

8-bit Microcontroller. Application Note. AVR320: Software SPI Master

SPI Serial EEPROMs AT25010 AT25020 AT SPI, 1K Serial E 2 PROM

AVR32752: Using the AVR32 UC3 Static Memory Controller. 32-bit Microcontrollers. Application Note. Features. 1 Introduction

AT697E. Application Note. Checking AT697E Code for Occurrence of LDF/FPOPd Instructions Sequence with a dependency on an Odd-Numbered Register

DIP Top View VCC RESET A16 A15 A12 A7 A6 A5 A4 A3 A2 A1 A0 I/O0 I/O1 I/O2 GND A14 A13 A8 A9 A11 A10 I/O7 I/O6 I/O5 I/O4 I/O3

256K (32K x 8) Paged Parallel EEPROMs AT28C256. Features. Description

FPGA Configuration EEPROM Memory AT17C65A AT17LV65A AT17C128A AT17LV128A AT17C256A AT17LV256A

AT45DB Megabit 2.7-Volt Only Serial DataFlash AT45DB041. Features. Description. Pin Configurations

Interfacing the internal serial EEPROM

Transcription:

OrCAD Support for Atmel PLDs Atmel Device Support for OrCAD PLD 386+ ATV750/ATV750B Device Family ATV2500/ATV2500B Device Family For ATF1500 Support Please Contact Atmel PLD Applications For 16V8, 20V8, and 22V10, Use the Standard OrCAD PLD Library OrCAD s Programmable Logic Design Tools 386+ is used to create, compile, test, and fit logic for programmable devices. This application note describes how to use OrCAD PLD 386+ to create an object file to program the Atmel PLD and CPLD devices. Overview OrCAD PLD 386+ can be used in conjunction with Atmel-ABEL Fitter software (available from Atmel) to create JEDEC files. Figure 1 illustrates the programs that are involved. OrCAD Support for Atmel PLDs Application Note Figure 1. Atmel/OrCAD Interface Rev. 0718B 09/99 1

PLD 386+ with Atmel ABEL Software The OrCAD Hardware Description Language (OHDL) allows you to express your design using indexed boolean equations, numerical maps, state machines, etc. When used in conjunction with SDT 386+, PLD 386+ also allows you to design with schematics or a mix to schematics and OHDL. Fit Logic with the Atmel-ABEL Device Fitter translates your OHDL design into an Open-ABEL (.tt2) logic interchange file. The JEDEC writer, FUSEASM, creates a programming file. Related Documents Atmel SmartPart ATMEL 750/2500 Device Fitter Intelligent Device Fitting Software User Manual DATA I/O Programmable Logic Design Tools Language Guide Programmable Logic Design Tools 386+ User s Guide ATF1500 CPLD Device Fitter Manual Setting Up Atmel-ABEL This section describes the Atmel-ABEL software system requirements that should be satisfied before running the Fit Logic processor. These notes reflect the installation and setup information described in Atmel s ATMEL-ABEL Design Software, Installation Guide document. Note: To generate a JEDEC file for an Atmel PLD family device with PLD 386+ requires a complete installation of the Atmel-ABEL Device Fitter. 1. The following environment variables must be set. The following lines should be added to the AUTOEXEC.BAT: SET ABEL4DEV=[path]\lib4\ [SET ABEL5DEV=[path]\lib5\] where [path] is the subdirectory preceding the Atmel-ABEL environment. 2. The Atmel software node must be added to the PATH of the AUTOEXEC.BAT. An example path is shown below: PATH C:\DOS;C:\ORCADEXE;C:\ATMEL; 3. The CONFIG.SYS should contain the following parameters: files=20 buffers=20 shell=c:\command.com/p /e: 102 4. Attach the DATA I/O software security key to the parallel port. Note: The Atmel-ABEL installation software automatically implements the modifications to your AUTOEXEC.BAT and CONFIG.SYS files. How to Target an Atmel Device To generate the proper logic interchange file, identify the device architecture in your OHDL source file. If you are using the source composition technique the sample source lines below demonstrate how to target any device of the Atmel Device Family: ATV750 (DIP) ATV750C (PLCC) ATV750B (DIP) ATV750BC (PLCC) ATV2500 (DIP) ATV2500C (PLCC) ATV2500B (DIP) ATV2500BC (PLCC) If you are using the schematic capture technique, use the a PLACE Text command in Edit Schematic Logic, then use one of the type keywords below: Type: ATV750 Type: ATV750C Type: ATV750B Type: ATV750BC Type: ATV2500 Type: ATV2500C Type: ATV2500B Type: ATV2500BC How to Assign Signals You can assign signals explicitly in the design.pld OHDL source file or allow them to float. If a signal floats, the Atmel-ABEL Device Fitter will assign the signal to a specific pins: or nodes: To identify floating signals to the logic compiler, use the pins: and nodes: keywords. The source lines in Figure 2 demonstrate how to assign signals to pins and nodes explicitly or allow them to float. If you are using the schematic capture technique, use the Get? PINPAD or NODEPAD command in Edit Schematic Logic. 5-Bit Counter Example Design This design example illustrates implementing a 5-bit counter with a state machine into the ATV750 (PLCC) device. 2 Flash PLD

Flash PLD Figure 2. Implicit and Explicit Signal Assignment Example Change to the TUTOR Design Use the Design Management Tools to change to the TUTOR design. Display the Programmable Logic tools screen. Adjust the Tool Set Configuration 1. Set Compile Source, and Configure PLD Tools. The Configure PLD screen appears. 2. Pan down to the Processing Options. Select Create error message file with line and column numbers. 3. Pan back up to the top, select OK to save the change. Capture the Design 1. The source OHDL for the counter is shown in the Figure 3 5COUNT.PLD OHDL Sample. Use the Edit File editor to key in the source file. Select Edit File and Execute. Type in 5COUNT.PLD as the File to Edit. Select OK. Type in the source file. Save the file. Exit the text editor. Note: To save time, you only have to key in source lines that begin with a vertical bar p, any other line is regarded as a comment by the logic compiler. Compile the Design 1. Select Compile Source, Local Configuration, and Configure LOGIC. The Configure Compile Source screen displays. 2. In the File area, select 5COUNT.PLD from the list box, The Source entry box displays the name of the selected file. 3. Select OK to save the configuration. 4. Select Compile Source and Execute. As it processes, a view window appears near the bottom of the screen. If any errors or warnings are encountered by the compiler, the design environment will allow you to View Source, View Output, or (ignore the messages) OK. If you View Source, your text editor will appear with the 5COUNT.PLD file. If you are using the Stony Brook M2EDIT Text Editor, the function key will display any syntax errors that may have been generated by the source file. Edit and recompile until the logic compiler returns to the Programmable Logic Tools screen without errors or warnings. The logic interchange file, 5COUNT.PLA, and a report about the design compilation, 5COUNT.LST, can be viewed by the Edit File editor. Test the Logic 1. Select Test Logic, Logic Configuration, and Configure VECTORS. The Configure Test Logic screen displays. 2. In the File area, select 5COUNT.PLD from the list box. The Source entry box displays the name of the selected file. 3. Select Initialize internal registers to Low. 4. Select OK to save the configuration. 5. Select Test Logic and Execute. As it processes the design environment displays in full-screen mode the activity of the logic tester. 6. The Programmable Logic Tools screen reappears when Test Logic is complete. The 5COUNT.LOG test log can be viewed by the Edit File editor. Fit the Logic 1. Select Fit Logic, Local Configuration, and Configure FITLOGIC. The Configure Fit Logic screen displays. In the File area, select 5COUNT.PLA from the list box. The Source entry box displays the name of the selected file. The information message Target Device: ATV750c (PLCC) appears. 3

2. Select OK to save the configuration. 3. Select Fit Logic and Execute. As it processes the design environment displays in full-screen mode the activity of the Atmel-ABEL software. 4. The Programmable Logic Tools screen reappears when Fit Logic is complete. The Open-ABEL logic interchange 5COUNT.TT3, and reports about the fitter process (5COUNT.TT3 and 5COUNT.RPT) can be viewed by the Edit File editor. 5. Assemble the fuse map. Run from the DOS command line: fuseasm 5count-0 5count.jed To append test vectors to the JEDEC file, rerun Test Logic. Expressing the Logic as a Schematic A similar process is used the capture the design in schematics. Use the Edit Schematic Logic editor to draft the logic and Convert Schematic Logic to Source to generate an OHDL source file. Figure 3. 5COUNT.PLD OHDI. Sample 4 Flash PLD

Atmel Headquarters Corporate Headquarters 2325 Orchard Parkway San Jose, CA 95131 TEL (408) 441-0311 FAX (408) 487-2600 Europe Atmel U.K., Ltd. Coliseum Business Centre Riverside Way Camberley, Surrey GU15 3YL England TEL (44) 1276-686-677 FAX (44) 1276-686-697 Asia Atmel Asia, Ltd. Room 1219 Chinachem Golden Plaza 77 Mody Road Tsimhatsui East Kowloon Hong Kong TEL (852) 2721-9778 FAX (852) 2722-1369 Japan Atmel Japan K.K. 9F, Tonetsu Shinkawa Bldg. 1-24-8 Shinkawa Chuo-ku, Tokyo 104-0033 Japan TEL (81) 3-3523-3551 FAX (81) 3-3523-7581 Atmel Operations Atmel Colorado Springs 1150 E. Cheyenne Mtn. Blvd. Colorado Springs, CO 80906 TEL (719) 576-3300 FAX (719) 540-1759 Atmel Rousset Zone Industrielle 13106 Rousset Cedex France TEL (33) 4-4253-6000 FAX (33) 4-4253-6001 Fax-on-Demand North America: 1-(800) 292-8635 International: 1-(408) 441-0732 e-mail literature@atmel.com Web Site http://www.atmel.com BBS 1-(408) 436-4309 Atmel Corporation 1999. Atmel Corporation makes no warranty for the use of its products, other than those expressly contained in the Company s standard warranty which is detailed in Atmel s Terms and Conditions located on the Company s web site. The Company assumes no responsibility for any errors which may appear in this document, reserves the right to change devices or specifications detailed herein at any time without notice, and does not make any commitment to update the information contained herein. No licenses to patents or other intellectual property of Atmel are granted by the Company in connection with the sale of Atmel products, expressly or by implication. Atmel s products are not authorized for use as critical components in life support devices or systems. Marks bearing and/or are registered trademarks and trademarks of Atmel Corporation. Terms and product names in this document may be trademarks of others. Printed on recycled paper. 0718B-09/99/xM