Programmable Devices
CPLDs, FPGAs, SoC FPGAs, Configuration, and Transceivers
21584 Discussions

pre-filled pin assignment file import procedure

Altera_Forum
Honored Contributor II
2,007 Views

Hi, 

 

There is an assigment file for DE0 which is filled with all pins of the board. In this file these pins are associated with specific names. 

 

--> It is possible to import this file for a project being developed. After this it is only necessary to use the same names in the code (in my case, a schematic). 

Doing this it isn´t necessary to go pin by pin in the pin planner. 

 

I already have this file with the assignments. 

 

--> Can someone give me a link for the step-by-step procedure to import this file for my project using Quartus II v. 9/sp2? 

 

Regards 

Jaraqui
0 Kudos
3 Replies
Altera_Forum
Honored Contributor II
1,219 Views

Yes. I find this is 'best' done outside the tools. 

 

Having created your project locate the '.qsf' file in the project directory. Locate the same file from the sample DE0 project you're referencing. This file contains all the settings for a project. 

 

Copy all the 'set_instance_assignment' and 'set_location_assignment' from the DE0 settings file to your project file. This will take all the pin location assignments and appropriate I/O standards for each pin into your project. 

 

When you now load your project into Quartus it will be expecting all the same signals and I/O standards as the DE0 project you've use as a reference. 

 

Alternatively, you can open the DE0 project, copy it to a new location and replace any of the HDL source files with your own. You will end up with a project with all the pin assignments and pin names you need.
0 Kudos
Altera_Forum
Honored Contributor II
1,219 Views

Thank you!

0 Kudos
Altera_Forum
Honored Contributor II
1,219 Views

This thread has an example of using Tcl for pin assignments for the DE0-nano board. 

 

http://www.alteraforum.com/forum/showthread.php?t=39765 

 

This Wiki example has Tcl scripts for other boards 

 

http://www.alterawiki.com/wiki/using_the_usb-blaster_as_an_sopc/qsys_avalon-mm_master_tutorial 

 

You can use the "Export project as Tcl file" procedure from Quartus to see what Tcl settings it uses in a project.  

 

Cheers, 

Dave
0 Kudos
Reply