1 / 23

Nizar Abdallah , Member, IEEE Actel Corp. Mountain View, CA, USA

RECONFIGURABLE VIRTUAL INSTRUMENTATION PLATFORM A BLOCK-BASED OPEN SOURCE APPROACH USING FPGA TECHNOLOGY. Andres Cicuttin , Maria Liz Crespo , Alexander Shapiro Microprocessor Laboratory , International Centre for Theoretical Physics Trieste, Italy. Nizar Abdallah ,

fayek
Download Presentation

Nizar Abdallah , Member, IEEE Actel Corp. Mountain View, CA, USA

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. RECONFIGURABLE VIRTUAL INSTRUMENTATION PLATFORM A BLOCK-BASED OPEN SOURCE APPROACH USING FPGA TECHNOLOGY Andres Cicuttin, Maria Liz Crespo, Alexander ShapiroMicroprocessor Laboratory, International Centre for Theoretical PhysicsTrieste, Italy Nizar Abdallah, Member, IEEEActel Corp. Mountain View, CA, USA

  2. The RVI system can be seen as a “magic-box” connected to a PC through a standard port High-level software application select a virtual instrument from a library of instruments configures the RVI system to convert it into the selected instrument with its associated console An artistic view of an RVI System Andres Cicuttin, ICTP, Italy

  3. Oscilloscope Function generator Multimeter Transient recorder Spectrum Analyzer Reconfigurable Virtual Instrumentation Andres Cicuttin, ICTP, Italy

  4. Proposal for an RVI system Goal low-cost reusable common hardware/software platform for the emulation and evaluation of multiple electronic and scientific instrumentation systems Hardware & Software modularity • Block-based design methodology • Hierarchical structure Common standardized global architecture • Block interfaces definition • Clear mechanism of blocks interaction Open Source & Open Cores • Sharing the design effort and results by a large community of user and contributors with different expertise's and backgrounds (EE, Physicist, Comp. Sci. , DSP experts, etc) Andres Cicuttin, ICTP, Italy

  5. RVI SYSTEM ARCHITECTURE • Reconfigurable Instrument • a versatile hardware device that can be reconfigured into different electronic instruments using a software tool • Virtual Instrumentation • a hardware and software combination that allows the emulation of an instrument through a custom virtual console and a graphical user interface Andres Cicuttin, ICTP, Italy

  6. Challenges involved in RVI A complete software chain - from FPGA cores to GUI - • Portability and Adaptability • Linux, Windows, others OS • FPGA vendors and families • PP, USB, Serial, etc. • expansion of the potential users/developers base • Upgradeability • Migration to new version A suitable hardware platform - the magic box - • Flexibility and Adaptability • to wide variety of requirements • Upgradeability • must be able to take advantage of new electronics devices and facilities • mitigate the obsolescence of the hardware Andres Cicuttin, ICTP, Italy

  7. High-Level RVI System Architecture • Hardware sub-system • RI connected to PC through a physical connection. • Software sub-systems • software related to the PC • the code corresponding to the FPGA of the RI Andres Cicuttin, ICTP, Italy

  8. RVI Hardware System RVI Main (mother) Board Daughter Boards Personal Computer (User, Operator) External memory extension SDRAM Module Analog I/Os A/D, D/A, Triggers in/out Digital I/Os Actel ProASIC3E FPGA Trigger I/O Digital Interfaces Communication Ports PP, RS232, USB, Ethernet ExtensionConnectors (board-to-board) External Physical World Analog I/Os A/D, D/A, Triggers in/out Digital I/Os Devel/Debugging Facilities LCDs, LEDs, Push Buttons Trigger I/O Andres Cicuttin, ICTP, Italy

  9. Reconfigurable Instrument • RVI mother boardhttp//www.ictp.it/~fpga • FPGA device (ACTEL AP3E family) • a block of communication ports • an extension memory • debugging facilities and miscellaneous components • two high quality board-to-board connectors with 54 pins directly connected to the FPGA gp-I/O • Low Performance Daughter Board • dual channel 10-bits 20 MSPS ADC (AD9201, Analog Devices), • dual channel 14-bit 1 MSPS DAC (LTC1654, Linear) • High Performance Daughter Board • single channel 14-bits 125 MSPS ADC (LTC2255, Linear) • single channel 16-bit 50 MSPS DAC (LTC1668, Linear) Andres Cicuttin, ICTP, Italy

  10. Computer Software user interface, port management, and offline data elaboration programs and utilities Synthesizable Hardware Description Code management of the physical connection with the PC, ADC and DAC operations, data generation and acquisition, real-time online data processing, and on-board real time data handling buffers/files buffers/files buffers/files buffers/files The Global Software Architecture User Interface Data Processing Modules Data Processing Modules PC Domain Device Driver Physical interface PC Interface Core Dual Port Memory Registers FPGA Domain Instrument Core FPGA Ports Andres Cicuttin, ICTP, Italy

  11. The Computer Software • collection of independent modules hierarchically organized • basically, the CS provides: • a generic RVI graphical and textual user interface • a library of virtual instruments with custom user interfaces • data storage facilities • physical communication control (drivers) • optionally, the CS could also provide: • an internet connection for remote instrument control and operation • specific data analysis packages and other facilities • a friendly interface with a general purpose in-chip logic analyzer for development and debugging. Andres Cicuttin, ICTP, Italy

  12. Synthesizable Hardware Description Code • a synthesis friendly VHDL description • basically, the SHDC provides: • PC-FPGA communication block • the instrument core • external hardware specific interface block • FPGA port assignment (and other constraints) description file. • optionally, the SHDC could include: • an external SDRAM module controller, an on chip logic analyzer and stimuli generator modules for debugging and development, and physical as well as timing constraints files. Andres Cicuttin, ICTP, Italy

  13. Integrating a reconfigurable instrument core in an RVI system • The core must comply with • the standardized interfaces of the PC-FPGA communication block and the external hardware specific interface block • a common mechanism of interaction • If the three main blocks: PC-FPGA communication block, instrument core, and the external hardware interface respect both previous conditions, then each block can be updated or upgraded independently and can be reused in different contexts. Andres Cicuttin, ICTP, Italy

  14. FPGA FPGA PC-FPGA Block Instrument Core PC-FPGA Block Instrument Core Data Address Clock R/W Parameters Control Signals Status Data Address Clock R/W Parameters Control Signals Status FPGA RAM Digital Oscilloscope Arbitrary Waveform Generator, etc Daughter Board Specific Interface Block FPGA RAM Parallel Port Parallel Port Extension connector Data Ctr Signals Trigger SINC3 Single Channel data_out data_in S-D modulated input bit stream Registers Registers start/reset clk decim_rate Block diagram of the FPGA architecture for a Reconfigurable Virtual Arbitrary Waveform Generator or Digital oscilloscope. Block diagram of the FPGA architecture for a Reconfigurable S-D demodulator for Anolog to Digital conversion. Architecture for Single Instruments Implementation Examples Andres Cicuttin, ICTP, Italy

  15. PC-FPGA Communication Block • The communication between the PC and the Core Instrument is done in two ways: • by reading and writing data into the dual port memory. • by reading and writing into registers (read-only reg. for the Core Instrument, read-only reg. for the PC and reserved reg. to handle the RVI communication protocol). • Depending on the core instrument: • the RI may send an interrupt signal to the PC to trigger a specific action. • the PC can do polling on specific registers to check whether there’s a request for a given action. Andres Cicuttin, ICTP, Italy

  16. General Purpose Debugging Interface Andres Cicuttin, ICTP, Italy

  17. DAC (Linear 1668) 14bit @ 1MSPS GUI for a Wave Form Generator Andres Cicuttin, ICTP, Italy

  18. 1) PC <-> FPGA communication External Memory Controller Pc Communication block Instrument 1 Core External Hardware Controller 1 2) External Hardware RVI CONTROLLER (With DMA capabilities) Dual Port Memory 3) Instruments cores External Hardware Controller 2 Instrument 2 Core 4) External memory Parameters Instructions 5) Standard Ports Registers * * * * * * Status 6) Debugging Facilities FIFO IN Instrument N Core External Hardware Controller N RVI Bus FIFO OUT 7) Global bus and interconnections High Speed point to point Connections 8) RVI Control Miscellaneous and Debugging Facilities Controller Port 1 controller Port 2 controller Port M controller * * * A possible FPGA Global Architecture for RVI Andres Cicuttin, ICTP, Italy

  19. Concrete architecture for our RVI hardware platform SDRAM Controller DPM Parallel Port LP-AWG LP-DB-DAC controller RVI CONTROLLER Bus Arbiter with DMA Capabilities HP-AWG HP-DB-DAC controller Parameters LP-OSC LP-DB-ADC controller Wishbone RVI Bus Instructions Registers RVI Status HP-OSC HP-DB-ADC controller High speed point to point connections LED Display Controller RS232 Controller SPI to USB Controller USB 2.0 Controller Ethernet Controller Andres Cicuttin, ICTP, Italy

  20. Conclusion • FPGA technologies are opening up new opportunities including in the field of scientific instrumentation • reasonable hardware cost/performance ratio • high effort required to develop all the software/hardware chain of new systems • wide freely available collection/library of standardized functional blocks (at PC and FPGA levels) Andres Cicuttin, ICTP, Italy

  21. Conclusion • RVI Platform • Many areas of applications from basic research to Industry • Emulation of: • - standard general purpose instruments • - sophisticated instrumentation for custom specific applications • Low cost solution for universities and research institutions in developing countries Andres Cicuttin, ICTP, Italy

  22. Conclusion • The RI could be seen as a parallel coprocessor of the PC • Reconfigurable Computing • Accelerate execution of time consuming or time critical tasks • - online digital signal processing • - real time hardware control Andres Cicuttin, ICTP, Italy

  23. Conclusion • Open Source & Open Core Approach • Is Affordable and Accessible • Stimulates Scientific Research and Production of Intellectual Properties • Encourages South-South and Industry-Academy cooperation • Creates new business opportunities based on free software and double licensing schemes Andres Cicuttin, ICTP, Italy

More Related