03b_fie - parcial #3 pld - resumen 04d 09

Upload: amilcar93

Post on 08-Jan-2016

242 views

Category:

Documents


0 download

DESCRIPTION

pld

TRANSCRIPT

  • Curso: Fundamentos de Ingeniera ElctricaComo obtener el Mayor Beneficio de este Curso y de la Carrera ...?Breve Introduccin a la Lgica Digital ProgramableTarjeta BASYS 2 ( FPGA = XC3S100E-5CP132 ) Encapsulado: XC3S100E-5CP132 Parcial #3b ( Resumen )

  • 01. Definitions: Programmable Logic Device ( PLD ), 0302. How Programmable Logic Works?, 0903. XILINX Technology - ISE WebPack ( IDE ) Software, 1204. Software VHDL Code Basics ), 1305. Digilents BASYS 2 ( $59 )- Development Board, 1606. Digilents - ADEPT ( BASYS 2 Configuration Software ), 1807. Digilents NEXYS 2 ( $99 )- Development Board, 1908. Xilinxs SPARTAN 3E ( $159 )- Development Board, 2009. Digilents NEXYS 3 ( $119 )- Development Board, 2110. Digilents ATLYS ( $199 )- Development Board, 2211. Digilents Pmod Modules ( Available: 40+ ), 2312. 0 to 9 Counter implementation: Before PLD After PLD, 3013. Referencias, 34Parcial #3 ( Resumen ) Tema: Breve introduccin a la Lgica Digital Programable

  • 01 - Definitions - Programmable Logic DeviceEmbedded Systems:A combination of computer hardware and software, and perhaps additional mechanical or other parts, designed to perform a dedicated function. In some cases, embedded systems are part of a larger system or product, as in the case of an antilock braking system in a car. EXAMPLE: Microwave ovens, cell phones, calculators, digital watches, VCRs, cruise missiles, GPS receivers, heart monitors, laser printers, radar guns, engine controllers, digital cameras, traffic lights, remote controls, bread machines, fax machines, pagers, cash registers, treadmills, gas pumps, credit/debit card readers, thermostats, pacemakers, blood gas monitors, grain analyzers, and a gazillion others.

  • Embedded Systems ( Continuation ) Of the nine ( 9 ) billion processors manufactured in 2005, less than 2% became the brains of new PCs, Macs, and Unix workstations. The other 8.8 billion went into embedded systems. The essence of every modern electronic device, from toys to traffic lights to nuclear power plant controllers, these processors help run factories, manage weapon systems, and enable the worldwide flow of information, products, and people. Virtually every electronic device designed and manufactured today is an embedded system, and virtually no first-world person is untouched by this technology. In fact, once you start looking for them, we're sure you can quickly find a few dozen embedded systems in your home and at least a few on your person. 01 - Definitions - Programmable Logic Device

  • What is a Programmable Logic Device ? A programmable logic device or PLD is an electronic component used to build reconfigurable digital circuits. Unlike a logic gate, which has a fixed function, a PLD has an undefined function at the time of manufacture. Before the PLD can be used in a circuit it must be programmed (i. e. reconfigured).A way of representing some physical quantity, such as temperature or velocity, by a proportional continuous voltage or current. An analog voltage or current can have any value within a defined range.AnalogA way of representing a physical quantity by a series of binary numbers. A digital representation can have only specific discrete values.Digital01 - Definitions - Programmable Logic Device

  • Field-Programmable Gate Array ( FPGA )A logic chip that has thousands of internal gates and can be programmed. Abbreviated FPGA. FPGAs are especially popular for prototyping integrated circuit designs. However, once the design is finalized, hard-wired chips called ASICs are often used instead for their faster performance and lower cost. The internal structure of an FPGA Application-Specific Integrated Circuit ( ASIC )A piece of custom-designed hardware in a mass-produced chip. Abbreviated ASIC. 01 - Definitions - Programmable Logic Device

  • 02 - How Programmable Logic Works?Moore's Law ( 1965 ) describes a long-term trend in the history of computing hardware, in which the number of transistors that can be placed inexpensively on an integrated circuit has doubled approximately every two years. Referencia: INTEL + Wikipedia.org Moores LawGordon Moore

  • SSI (small-scale integration): 1960+ / Up to 100 electronic components per chip MSI (medium-scale integration): 1970- / From 100 to 3,000 electronic components per chip LSI (large-scale integration): 1970+ / From 3,000 to 100,000 electronic components per chip VLSI (very large-scale integration): 1980+ / From 100,000 to 1,000,000 electronic components per chip ULSI (ultra large-scale integration): More than 1 million electronic components per chipWhat is SI?02 - How Programmable Logic Works?

  • In recent years, the line between hardware and software has blurred. Hardware engineers now create the bulk of their new digital circuitry in programming languages such as VHDL. Over the past few years, the density of the average programmable logic device has begun to skyrocket. The maximum number of gates in an FPGA is currently around 500,000 and doubling every 18 months. Meanwhile, the price of these chips is dropping.

    What all of this means is that the price of an individual NAND or NOR is rapidly approaching zero! And the designers of embedded systems are taking note. Some system designers are buying processor cores and incorporating them into system-on-a-chip (SOC) designs; others are eliminating the processor and software altogether, choosing an alternative hardware-only design. 02 - How Programmable Logic Works?

  • As this trend continues, it becomes more difficult to separate hardware from software. After all, both hardware and software designers are now describing logic in high-level terms, albeit in different languages, and downloading the compiled result to a piece of silicon. Surely no one would claim that language choice alone marks a real distinction between the two fields. Both hardware and software designs are compiled from a human-readable form into a machine-readable one. And both designs are ultimately loaded into some piece of silicon. Does it matter that one chip is a memory device and the other a piece of programmable logic? If not, how else can we distinguish hardware from software? 02 - How Programmable Logic Works?

  • I'm not convinced that an unambiguous distinction between hardware and software can ever be found, but I don't think that matters all that much.

    Regardless of where the line is drawn, there will continue to be engineers like you and me who cross the boundary in our work.

    So rather than try to nail down a precise boundary between hardware and software design, we must assume that there will be overlap in the two fields.

    And we must all learn about new things. Hardware designers must learn how to write better programs, and software developers must learn how to utilize programmable logic. 02 - How Programmable Logic Works?

  • 03 - XILINX Technology - ISE WebPack ( IDE ) SoftwareSoftware = ISEWebPack 10.1 ( IDE = Integrated Development Environment )ISE WebPack - Version 10.1Procedimiento de Instalacin 1. ISE WebPack 10.1 Instalation:

    - Run: "setup.exe" ( Use Folder Name: 'Xilinx10_1' ) - Product - 25 Digit Registration ID is "184AALFT6MJXSWSEWJ2ZG2XBP" For: ISE WebPACK 10.1 ( FREE ) Instalation Procedure.... - Step 1: Registration ID: 184AALFT6MJXSWSEWJ2ZG2XBP - Step 2: Select: Stand Alone Prog. Tools + ISE Design Tools. - Step 3: Change Directory to: C:\Xilinx10_1\10.1 - Step 4: Remove Option: Virtex 4 and Virtex 5 FPGA Dev. - Step 5: Remove Option: Launch Xilinx Update + Enable Web Talk

    2. ISE 10.1 - Servicepack 1 instalation: - After installing ISE WebPack 10.1 - Install ISE WebPack 10.1 ServicePack 1 ( See Folder: "_ISE10.1 ServicePack_1" ) - File Name: 10_1_01_win.exe ( Use option: Delete OLD / Back_UP Files )

    3. Proyecto + Archivos de Circuitos para la tarjeta BASYS2 - See File: _HDL_FIE00.Zip - Copiar a una carpeta temporal y expandir el archivo Zip. - Este archivo contiene el Project Folder "HDL_FIE00" - Colocar la carpeta "HDL_FIE00" y su contenido en la carpeta "C:\Xilinx10_1\" File: ISE 10.1 - 25 Digit Registration ID.txt( Contenido del DVD )

  • 04 - Software VHDL Code Basics VHDL is an acronym for VHSIC (Very High Speed Integrated Circuit) Hardware Description Language Promote with New Programmers the use & development of: Reusable VHDL Code or IPISE WebPack 10.1 by Xilinx + ADEPT + Tarjeta BASYS 2( PLD - Proceso de Diseo - Bsico )( VHDL )( TBW )( UCF )( BIT )( ADEPT + BASYS2 )

  • 2. ENTITY Es una caja negra con I/O!A B Y Or_VHD Define las Entradas y las Salidas (I/O) de la caja!3. ARCHITECTURE Describe la funcionalidad del I/O. Promote with New Programmers the use & development of: Reusable VHDL Code or IP04 - Software VHDL Code Basics VHDL ( VHSIC Hardware Description Language; VHSIC: Very-High-Speed Integrated Circuit ) is a Hardware Description Language used in electronic design automation to describe digital and mixed-signal systems such as Field-Programmable Gate Arrays ( FPGA ) and integrated circuits.Reference: VHDL ( Definition ), From Wikipedia / The free encyclopedia. Available at: . Accessed: September 3, 20111. Library Recursos disponibles...! Describe la relacin entre I/O de la caja !Similar a los recursos *.h en Lenguaje C!

  • Nombre del archivo: OR_VHD.VHD Simulacin ( Behavioral Model ) del archivo: orvhd_10TB.tbw Tabla de la Verdad Smbolo Lgico Software Example: OR Gate VHDL Code 04 - Software VHDL Code Basics 0123

  • 05 - Digilents BASYS 2 ( $59 )- Development Board Components and Features- Xilinx XC3S100E Spartan-3E FPGA - Up to 108 user-I/O pins - 132-pin Ball CS package- Xilinx 2 Mbit Platform Flash configuration PROM- 4-Digit, 7-Segment DisplayEncapsulado: XC3S100E-5CP132- PS/2 mouse or keyboard port- VGA display port- On-board USB-based FPGA/CPLD download/debug interface- 50 MHz oscillator- Four Digilent 6-pin expansion connectors- Eight ( 8 ) discrete LEDs- Eight ( 8 ) slide switches- Four ( 4 ) push-button switchesTarjeta de Desarroollo BASYS 2 ( FPGA = XC3S100E-5CP132 ) Hardware = BASYS2 Board by www.digilentinc.com with Xilinx SPARTAN 3E Chip

  • Algunos recursos de la BASYS 2 ( XILINX World Wide Leader with 51% of the programmable market solutions )Encapsulado: XC3S100E-5CP13205 - Digilents - BASYS 2 ( $59 )- Development Board

  • 06 - Digilents ADEPT ( BASYS 2 Configuration Software )Software = ( 1 ) ISEWebPack 10.1 ( IDE = Integrated Development Environment ) + ( 2 ) ADEPT Ver. 2 by www.digilentinc.comISE WebPack - Version 10.1Proyecto HDL_FIE00 ( Repositorio_OE: Evaluacin de 7 Circuitos )( 1 ) ( 2 ) ( 3 ) ( 4 ) ( 5 ) ( 6 ) ( 7 ) Utilizado para configurar / programar el FPGA o la PROM de la BASYS 2Programa ADEPTVOLATILNO-VOLATIL

  • 07 - Digilents NEXYS 2 ( $99 )- Development Board ( XILINX World Wide Leader with 51% of the programmable market solutions )Components and Features

  • 08 - Xilinxs SPARTAN 3E ( $159 )- Development Board( XILINX World Wide Leader with 51% of the programmable market solutions )Components and FeaturesEncapsulado: XC3S500E-4FG320

  • 09 - Digilents NEXYS 3 ( $119 )- Development Board ( XILINX World Wide Leader with 51% of the programmable market solutions )Components and FeaturesThe NEXYX 3 is perfectly suited to the classroom: New students can build logic circuits without worrying about complex external interfaces, and more advanced students can build complete digital systems, including controllers, CODECs, and embedded processors.

  • 10 - Digilents ATLYS ( $199 ) - Development Board ( FIE ) ( XILINX World Wide Leader with 51% of the programmable market solutions )Components and FeaturesThe Atlys circuit board is a complete, ready-to-use digital circuit development platform based on a Xilinx Spartan 6 LX45 FPGA. The on-board collection of high-end peripherals, including Gbit Ethernet, HDMI Video, 128Mbyte DDR2 memory array, audio and USB ports make the Atlys board an ideal host for complete digital systems built around embedded processors like Xilinxs MicroBlaze.

  • 11. Digilents Pmod Modules ( Available: 40+ ) PmodBT2 - Bluetooth Interface ($55)PmodKYPD - 16-Button Keypad ($25)Reference: http://www.digilentinc.com/

  • VmodCAM - Stereo Camera Module ($80)PmodACL - 3-axis Accelerometer ($36)Tarea / Ver: http://en.wikipedia.org/wiki/AccelerometerReference: http://www.digilentinc.com/11. Digilents Pmod Modules ( Available: 40+ )

  • PmodCLP - Character LCD, parallel interface ($35)PmodGYRO 3-Axis Digital Gyroscope ($38)Tarea / Ver: http://en.wikipedia.org/wiki/GyroscopeReference: http://www.digilentinc.com/11. Digilents Pmod Modules ( Available: 40+ )

  • PmodENC - Rotary encoder ($15)PmodJSTK - Two axis joystick ($35)Reference: http://www.digilentinc.com/11. Digilents Pmod Modules ( Available: 40+ )

  • PmodMIC - Microphone w/ digital interface ($15)PmodRF1 - Wireless Radio Transciever ($40)Reference: http://www.digilentinc.com/11. Digilents Pmod Modules ( Available: 40+ )

  • PmodSD - SD card slot ($29)PmodTMP - Thermometer/thermostat ($25)Reference: http://www.digilentinc.com/11. Digilents Pmod Modules ( Available: 40+ )

  • PmodUSBUART - USB to UART Interface ($20)PmodWiFi - 802.11b/g/n WiFi Interface ($60)Reference: http://www.digilentinc.com/11. Digilents Pmod Modules ( Available: 40+ )

  • Clk+Cnt+Amp+Dec12. Before PLD After PLD ( Parcial #3 PLD ) Contador de 0 @ 9 ( #7 b11 ) Before PLDAfter PLD Circuito ( Smbolo ) Circuito en Plantilla de Experimentos o ProttoboardImplementacin en el FPGA de la BASYS 2( 555+7490+7406+7447 )

  • Clk12. Before PLD After PLD ( Parcial #3 PLD ) Oscilador con el 555 ( #5 b05 ) Before PLDAfter PLD Circuito ( Smbolo ) Implementacin en el FPGA de la BASYS 2Astable: T = T1 + T2 = 1 Segundo

  • 12. Before PLD After PLD ( Parcial #3 PLD ) Contador de 0@9 con el 74LS90 ( #6 b08 ) Before PLDAfter PLD Circuito ( Smbolo ) Implementacin en el FPGA de la BASYS 2 Contador - Tabla Funcional( 1 )( 4 )( 2 )( 8 )555 Clk Input ( 1Hz )To 74LS47 & 7406Counter

  • 12. Before PLD After PLD ( Parcial #3 PLD ) BCD to 7-Segment Decoder 74LS47 ( #4 b05 ) Before PLDAfter PLD Circuito ( Smbolo ) Implementacin en el FPGA de la BASYS 2DecoderAL 74LS90AL 7406( 1 )( 2 )( 3 )( 4 )SW #3120 Digito 3, 2,1, 0 BCD Input ( Digito ) ( Counter )

  • 4. Tarjeta BASYS 2 Precio Unitario en USA: $59.00 ( Con descuento academico ), Disponible en: < http://www.digilentinc.com/Products/Detail.cfm?NavPath=2,400,790&Prod=BASYS2>, Consultado: Sept 03, 2011.13. Referencias 5. Tarjeta NEXYS 3 Precio Unitario en USA: $119.00 ( Con descuento academico ), Disponible en: < http://www.digilentinc.com/Products/Detail.cfm?NavPath=2,400,897&Prod=NEXYS3>, Consultado: Sept 03, 2011.6. Software ADEPT 2 by Digilent Inc.( Free ), Available at: < http://www.digilentinc.com/Products/Detail.cfm?NavPath=2,66,828&Prod=ADEPT2>, Consultado: Sept 03, 2011.7. Pmod: PmodACL - 3-axis Accelerometer by Digilent Inc. Unit Price ( USA = $36), Available at: < http://www.digilentinc.com/Products/Detail.cfm?NavPath=2,401,899&Prod=PMOD-ACL>, Consultado: Sept 03, 2011.1. PLD Manufacturer: XILINX Web site - main page, Available at: < http://www.xilinx.com/ >, Accessed: Sept 03, 2011.2. Xilinx IDE software ISE WebPack 10.1 - Download ( Free ), Available at: < http://www.xilinx.com/support/download/index.htm>, Accessed: Sept 03, 2011.3. Academic Kits Manufacturer & vendor: Digilent Inc. Web site main page, Available at: < http://www.digilentinc.com/>, Accessed: Sept 03, 2011.

  • 13. Referencias Para mas informacin: Ver Archivo / DATA suministradaValidacin para el Descuento Acadmico8. Pmod: PmodRF1 - Wireless Radio Transciever by Digilent Inc. Unit Price ( USA = $40), Available at: < http://www.digilentinc.com/Products/Detail.cfm?NavPath=2,401,811&Prod=PMOD-RF1>, Consultado: Sept 03, 2011.9. Find PLD & VHDL - Basics & Reference DATA, at Curse: Digital Logic and Microprocessor Design. Available at: < http://www.cse.secs.oakland.edu/haskell/CSE378/CSE_378W07_main.htm > Accessed: Sept 03, 2011.10. Homework - Article / Video: The Picture for Kodak Is Not Pretty Available at: < http://finance.yahoo.com/blogs/daily-ticker/picture-kodak-not-pretty-161831444.html > Accessed: Oct 04, 2011.

  • This subject will continue !Como obtener el Mayor Beneficio de este Curso y de la Carrera ...?( La importancia de Aprender a Aprender )The Tip of the Iceberg10%90%

  • Curse: FIE / Brief introduction to MCU Evaluation Kit ( Sample )IMX53QSB: i.MX53 Quick Start BoardIMX53_QSB: i.MX53 Quick Start Board by Freescale ( Motorola ). Unit Price = $150 ( USA ) - This is alimited time offer ( See Video ). Product description and video available at: < http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=IMX53QSB&tid=NL_3711>,Accessed: Sept 14, 2011.Freescale ( Motorola ) - SABRE platform for tablets based on i.MX53 processor available now: Smart Application Blueprint for Rapid Engineering ( SABRE) platform for tablets based on the i.MX53 applications processor is now shipping. This market-focused development system is Wi-Fi enabled and ships with Android pre-installed. With a large 10.1-inch 1024x768 display with capacitive touch interface, this development system is ideal for evaluating the multimedia capabilities of the i.MX53 applications processor. SABRE platforms deliver the advanced technology features required for your market's next-generation, applications including tablets, eReaders and automotive infotainment systems. Order through your local distributor or Freescale ( See Video). Product description and video available at:< http://www.freescale.com/webapp/sps/site/overview.jsp?code=SABRE_HOME&tid=NL_3711 >SABRE platform for tablets based on the i.MX53 family of multimedia applications processors