Digilent Analog Discovery Getting Started
Lab workarounds
If you run into unexplainable errors, make sure your Quartus and/or Modelsim projects are stored in a path without any spaces. It seems to have fixed the problems for some people.
If you are doing a timing simulation, make sure to remove the original vhd file from the Modelsim project. If you don't, two files will define the same entity, which will likely cause problems.
If you can't find the USB-Blaster device in Windows, try the following suggestions:
-
Within device manager, if you double click on the Altera USB-Blaster, and go to the Driver tab, press on Update Driver, then press Browse my computer for driver software -> browse. This is where you find the file. In my case, and for most people, it should be under:
Local Disk (C:) -> intelFPGA_lite -> 17.1 -> quartus -> drivers -> usb-blaster. Select that folder and press ok. Then press next in the update driver window and it will load it with functional drivers.
- 1. go to device manager
2. right click on usb-blaster and select update
3. browse my computer for drivers
4. "let me pick from a list of available drivers on my computer"
5. scroll down and click on "JTAG Cable"
6. Altera USB-Blaster II (JTAG interface)
7. click next
8. click yes
- 1 - Go to windows 10 settings and search for "advanced startup options"
2 - Under Advanced startup, hit "Restart now"
3 - After a moment, you'll get a "choose an option" screen - choose "Troubleshoot", then "Advanced options", then "Startup Settings"
4 - You'll get a screen telling you what you will be able to change and a single "Restart" button - press it.
5 - If your boot drive is BitLocker encrypted, you'll need to enter the recovery key (press return, enter the key in the text box then hit return again - it took me three goes to realize I had to hit return before I could enter they key !)
6 - You'll be given a menu of options, number 7 disables driver signature enforcement
7 - When the PC restarts, use Device manager to update the drivers - this time you'll get a warning about the signature, but they install fine.
8 - When you've finished, restart normally to re-enable signature enforcement
If Quartus isn't generating an SDO file after synthesis, try the following:
- Make sure you aren't using the MAX10 FPGA.
- Assignments (in the top bar) -> Settings (2nd option) -> Simulation (Under the EDA tool settings dropdown) -> More EDA Netlist Writer Settings (Button) -> And then turn the Generate functional simulation netlist to off to generate the SDO.
Lab 0: (Week 2: Jan 17-23)
- Obtain and test board in lab. If you have questions about the board,
you can read the manual here.
https://www.intel.com/content/www/us/en/software-kit/660907/intel-quartus-prime-lite-edition-design-software-version-20-1-1-for-windows.html
- Install Quartus Prime 20.1.1 Lite Edition and Modelsim.
If you don't want to download everything they provide, go to the Individual Files tab and then download Modelsim, Quartus, and then the device support files for the MAX 10, MAX II, and MAX V.
- Start reading the ModelSim tutorial. You do
not need to finish the entire tutorial, but you will be using this tool all
semester, so make sure you understand the basics. You can install a free
version of Modelsim from the earlier Quartus link.
Lab 1: Introduction to EEL 4712 Digital Design Lab (Week 3: Jan 24-Jan 30)
Lab 2: Generic-Width Behavioral ALU (Week 4: Jan 31-Feb 6)
Useful references:
Lab 3: Ripple-Carry and Carry-Lookahead Adders (Week 5: Feb7-Feb13)
Lab 4: Sequential Logic, Counters, and Finite State Machines (Week 7: Feb21-Feb27)
Lab 5: GCD Calculator (Week 8: Feb 28-Mar 6)
- Lab Instructions
- All provided code
- For additional extra credit, please test the vJTAG interface that enables
communication between your laptop and board. First, download
extra_credit.zip. Read the instructions in GUI_Instructions.doc. Add your
lab5 gcd code to the specified project. As part of the pre-lab submission, create a separate report that specifies the operating system version you are using, and any problems you encountered. Future labs will use a polished version of this interface, so I'm looking for any suggestions you might have.
Lab 6: VGA Interfacing (Week 9-10: Mar 7-Mar 20, Mar 21-27)
The second week is optional for those that finish early. Everyone must attend the first week until you demo the lab. The Monday lab has their first section
after spring break.
Workarounds:
-
If you are getting the following error:
"Error (16031): Current Internal Configuration mode does not support memory initialization or ROM. Select Internal Configuration mode with ERAM."
you can fix it with the following:
Assignments -> Device -> Device and Pin Options -> Configuration -> Configuration Mode: Single uncompressed image with Memory Initialization
Final Project: MIPS-like Microprocessor (3 weeks, starts on Tuesday, April 4)