element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet & Tria Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • About Us
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      • Japan
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Vietnam
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
FPGA
  • Technologies
  • More
FPGA
Forum Interfacing a circuit in an FPGA to a PC.
  • Blog
  • Forum
  • Documents
  • Quiz
  • Events
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join FPGA to participate - click to join for free!
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • Replies 1 reply
  • Subscribers 559 subscribers
  • Views 748 views
  • Users 0 members are here
  • tutorial
  • electronic
  • firmware
  • gate
  • experimental
  • apl
  • fpga
  • usb
  • vhdl
  • Technology
  • instrumentation
  • usb2
  • altera
  • array
  • field
  • software
  • programmable
  • instrument
Related

Interfacing a circuit in an FPGA to a PC.

Former Member
Former Member over 13 years ago

If you have an interest in exchanging data between circuitry in an FPGA and a PC, I have written a simple GUI that demonstrates transfers at full USB2 rates to and from an FPGA interfaced with an FTDI FT2232H USB2 interface chip (i.e. the  FTDI Morph-IC-II) :

image

There is a free (binary only) download :

   http://www.lab-tools.com/instrumentation/download/FPGA_PC_Release_TF.zip ,

or source code is available for both personal and commercial uses : i.e. (Altera Quartus II v11.1sp2 archive) plus Apl script source plus APl GUI binary or source.


There is a help page at :

   http://www.lab-tools.com/instrumentation/soft-firm-hard-ware/FPGA_interface_to_PC/help.html

and a YouTube video putting this code through its paces at :

   http://youtu.be/EqLJBdtOvYY

You don't have permission to edit metadata of this video.
Edit media
x
image
Upload Preview
image

 

These demonstrate a fast way of getting PC access to firmware circuitry in a Field Programmable Gate Array (FPGA).

Pre-written VHDL firmware and array-based software facilitate interfacing a PC to the FPGA over the USB, and gives transparent access to multiple banks of sub-modules and instrument functions in the FPGA at full USB2 rates of 480 Mbit/s (60 MBytes/s).

 

The heart of this code is the Lab-Tools FPGA Modular Firmware Skeleton for multiple instruments.


Each sub-module has an independent block of up to 256 USB interface registers, to configure the sub-instrument and for bi-directional data transfer. This Lab-Tools code forms the skeleton into which the sub-modules / instruments may be slotted, in a consistent manner.

Attachments:
FPGA_PC_Release_TF.zip
  • Sign in to reply
  • Cancel
Parents
  • Former Member
    Former Member over 13 years ago

    I have slightly updated the GUI to Version 0.95 - it should now have some slight functionality even if you do not have a Morph-IC-II FPGA module plugged in.

     

    Note you will first need to download and install the APLX Support Library from MicroApl : http://www.microapl.co.uk/apl/player/index.html .

    Also, if you run Norton, it will probably complain that the .exe file is infected - the file is not infected, but it is a powerful piece of code, as it has to access a number of .dlls to program and interface to the FPGA.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
Reply
  • Former Member
    Former Member over 13 years ago

    I have slightly updated the GUI to Version 0.95 - it should now have some slight functionality even if you do not have a Morph-IC-II FPGA module plugged in.

     

    Note you will first need to download and install the APLX Support Library from MicroApl : http://www.microapl.co.uk/apl/player/index.html .

    Also, if you run Norton, it will probably complain that the .exe file is infected - the file is not infected, but it is a powerful piece of code, as it has to access a number of .dlls to program and interface to the FPGA.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
Children
No Data
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube