Introduction to FPGA Programming

Are you a beginner to FPGA development? Have you been wanting to learn some basic Verilog, and how to use the tools to get a design from source code into the FPGA?

 

Leon Hong, CTO of Mercury Market Data, will be teaching you how to do just that! We'll be using entry-level FPGA development kits to go over the "Hello World" of FPGA development.

 

Note that you'll need to bring a laptop to this event to participate. Please install the software described here: http://www.meetup.com/The-New-York-FPGA-Users-Group/messages/boards/thread/28677962/#[masked]

Join or login to comment.

  • Martin B.

    One more hint: Initially I couldn't get my USB Blaster device to show up in the Programmer
    window. (I have a Macbook Pro 8,1 running Ubuntu[masked]-bits.)

    I saw a reference to JTAG there, so eventually I tried a number of things and
    found my way to a failing 'jtagconfig', which I assumed might be responsible for
    the problem. Running 'jtagconfig' on my box gave me this (Note: I installed
    under root '/opt/altera/12.0sp2'):

    mandarine:/opt/.../quartus/bin$ ./jtagconfig
    *** The Quartus II software cannot be started because the current platform,
    'linux64', does not appear to be installed in:
    '/opt/altera/12.0sp2/quartus'.

    /opt/altera/12.0sp2/quartus/bin/jtagd: 69: exit: Illegal number: -1
    Connecting to server(s) [.^C ]

    Basically: it fails. So if after adding the udev rules you still can't find the
    USB Blaster, and you can't run 'jtagconfig' as above, this is the issue.
    (Next post with solution).

    December 18, 2012

    • Martin B.

      The solution:

      I created a symlink under my Quartus root:

      /opt/altera/12.0sp2/quar­tus$ ln -s linux linux64

      and voila! The problem is fixed. 'jtagconfig' works:

      mandarine:/opt/.../quart­us/bin$ ./jtagconfig
      1) USB-Blaster [2-1.2]
      020F30DD EP3C25/EP4CE22

      After running it, you should have a 'jtagd' process running:

      mandarine:/opt/.../quart­us/bin$ ps -ef | grep jtagd
      blais 19554 1 0 19:16 ? 00:00:00 /opt/altera/12.0sp2/quar­tus/linux64/jtagd --user-start --config /home/blais/.jtagd.conf
      blais 19576 3742 0 19:16 pts/2 00:00:00 grep jtagd

      I can only suspect that this daemon is responsible for registering the 'USB
      Blaster' somewhere, because if you have it running, then the Programmer window
      will list the device, you can select it, and then programming.

      December 18, 2012

  • Bin Y.

    Great! Thanks David

    November 15, 2012

  • Bin Y.

    btw, is the ppt Leon presented available anywhere?

    November 13, 2012

    • David G.

      The powerpoint can be found in the "Files" section of the Meetup, under the "More v" tab at the top. Here's a direct link: http://files.meetup.c...­

      November 14, 2012

  • Martin B.

    This meetup was a fantastic idea. Thank you for organizing this, and thanks to the sponsors for providing people with kits to play with!!! The amount of moving parts and analysis tools available was a bit overwhelming, but I guess it just reminds us what people who start programming must go through, learning a completely foreign ecology of tools. The dev tools look great, at least comparing them to the ones I used in college. It's a shame I had to leave before the end (had a previous engagement), I'm looking forward to tinker with the BeMicro over the next few weeks, and hopefully to see projects by other people. Thanks,

    November 13, 2012

  • Martin B.

    Fantastic. What a great idea, and thanks to the sponsors for the BeMicro kits!!

    November 13, 2012

  • Nicholas P.

    Wonderful tutorial on FPGA's

    November 12, 2012

  • A former member
    A former member

    anybody else getting this issue on linux (ubuntu 12.10) after modifying the shebang in setup?
    ted@enoch:~/Downloads/12.0sp2_263_quartus_free_linux$ ./setup
    Welcome to Altera Software Installer
    Copyright (c) Altera Corporation 2012

    Starting GUI. If nothing shows up, or you don't have an X display, run:
    ./setup --help
    for commandline usage.
    NOTE: All output has been redirected to /tmp/altera_setup.log.BdkY2U4CCZ

    ted@enoch:~/Downloads/12.0sp2_263_quartus_free_linux$ ./setup: 1: exec: altera_installer_cmd: not found

    ted@enoch:~/Downloads/12.0sp2_263_quartus_free_linux$ ls altera_installer/bin/altera_installer_cmd
    altera_installer/bin/altera_installer_cmd
    ted@enoch:~/Downloads/12.0sp2_263_quartus_free_linux$ altera_installer/bin/altera_installer_cmd
    bash: altera_installer/bin/altera_installer_cmd: No such file or directory

    (empty logfile)

    November 12, 2012

    • David G.

      This issue is caused by using a 64 bit kernel. If you run "sudo apt-get install ia32-libs", it should just work.

      November 12, 2012

    • Nicholas P.

      David i tested your fix and it works

      November 12, 2012

  • Sean Timothy N.

    Though there were some headaches with the Altera software, this was a great (if whirlwind) introduction to the basic steps of programming an FPGA.

    November 12, 2012

  • Joshua P.

    My only laptop is a Mac. Any suggestions for how to run the needed software? Would the meetup be useful without a running copy of the software?

    November 12, 2012

    • Rodrick

      I'm using VMWare fusion and was able to install all the apps in fusion/CentOS 64bit with no issues. FYI The packages are large make sure you're image size is about 20+ GB.

      November 12, 2012

    • David G.

      If you want to use an Ubuntu 12.04 VM (what I use on my mac), I've have linked to a README with special instructions in this post: http://www.meetup.com...­]

      November 12, 2012

  • David G.

    Please refer to this post on the forum for instructions on what software to install: http://www.meetup.com/The-New-York-FPGA-Users-Group/messages/boards/thread/28677962/#[masked]

    November 11, 2012

  • Anthony C.

    David,
    Is this purely for Verilog intro, or for tool flow for implementing designs from high level languages (c/c++) to Verilog?

    October 10, 2012

    • David G.

      We will be providing FPGAs during the meetup. You just should have the software installed in advance, since it weighs in at around 8GB download, which will take too long over the shared WIFI connection.

      November 11, 2012

    • Janice K.

      I am downloading it now. Should I also download Quartus II Web Edition Software Version 12.0 Service Pack 2 for Windows?

      November 11, 2012

  • David G.

    Note that if you're planning on coming, you should install the software at https://www.altera.com/download/software/quartus-ii-we or you'll be unable to participate.

    October 11, 2012

33 went

People in this
Meetup are also in:

Create a Meetup Group and meet new people

Get started Learn more
Allison

Meetup has allowed me to meet people I wouldn't have met naturally - they're totally different than me.

Allison, started Women's Adventure Travel

Sign up

Meetup members, Log in

By clicking "Sign up" or "Sign up using Facebook", you confirm that you accept our Terms of Service & Privacy Policy