Forum Discussion

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

Assignment pins on FPGA

Hey

I want to do the assignment pin to StratixII and I want to know what is the fastest and the best way to do it?

I know that there is a way to write VHDL file with attributes, is someone know what is the format to write? and if there is format for Verilog file?

Thanks,

Shishko

2 Replies

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

    You can use the altera_attribute to make these assignments in the code. Search on altera_attribute in the first book of the Quartus II handbook:

    http://www.altera.com/literature/hb/qts/qts_qii5v1.pdf

    (e.g. page 8-71)

    I really don't recommend doing this. Pin assignments are not relevant to the HDL(what if you move to a different part, for example), and would recommend doing it in the Pin Planner(which will put the assignments in the .qsf). There is a lot more information you have available when doing it this way, rather than manually adding it to the code with no feedback process.
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    i don't believe altera_attribute can be used for pin assignments. You can use the chip_pin assignment as described in quartus help.

    --dalon