Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
12 years ago

Generic Pin Assignments in .qsf file

Hello all,

Today i was wondering if there was a way of generically assigning pins in a .qsf file. I have a master copy of the .qsf file to give to everyone, except the only problem is that everyone i am giving it to will have different pinouts. Would it be possible to reference an outside pinout in .qsf code that will automatically erase the old and write in the correct pin assignments rather than going through the whole pinout each time by hand. (basically a way to read in outside text and write it into the .qsf file) Any idea how to go about this? thanks

-ryan

4 Replies

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    You might be able to have a generic .QSF file without any pinout, and then give each person a .tcl file that creates the appropriate pinout. This will then modify that person's .qsf file, but the master has no pin assignments. It means they have to re-run the .tcl file every time they receive a copy of the project, but that shouldnt be too much of a chore - the .tcl file shouldnt ever need to change.

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Ok, i had heard about the tcl files before, but i haven't written in .tcl code before. Can you give me an idea of how i would go about writing this code?

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    you can just copy/paste the relevant .qsf into a tcl file, the .qsf file is just a list of TCL commands