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

Pin assignment in Quartus II

Altera_Forum
Honored Contributor II
6,142 Views

Hi all, 

 

After my design is added to the project if I tried to assign the pins automatically using compile Design option or I/O assignment analysis option available under compile design tool is giving a critical warning stating that "No exact pin location assignment for 29 pins of 49 total pins". This is happening for all my designs. Only Data pins are getting allocated every time i tried. 

 

Although i can allocate them manually using pin planner, but I need the default or suggested pin allocations. 

 

Kindly help me
0 Kudos
12 Replies
Altera_Forum
Honored Contributor II
3,780 Views

Forgot to mention the tool used. Quartus II

0 Kudos
Altera_Forum
Honored Contributor II
3,780 Views

 

--- Quote Start ---  

Forgot to mention the tool used. Quartus II 

--- Quote End ---  

 

 

Hi, 

 

it is not clear to me what you try to achieve ? Do you have a board with an FPGA and want to assign your design ports to certain FPGA pins ? Can you post your <>.qsf file ? 

 

Kind regards 

 

GPK
0 Kudos
Altera_Forum
Honored Contributor II
3,780 Views

I believe if you want to let Quartus II do the pin assignments for you, you don't have to go to pin assignment. Just compile the project and finish routing. It should be able to assign the pins for you randomly.

0 Kudos
Altera_Forum
Honored Contributor II
3,780 Views

No its not allocating the pins even I just compiled the design. Just beacause it is not allocating I choose pin planner. I want the allocation without pin planner involvement.

0 Kudos
Altera_Forum
Honored Contributor II
3,780 Views

You can allocate the pins in the HDL 

 

in SystemVerilog do: 

module a( 

(* chip_pin = "A13" *) input wire LVDS_RX, 

(* chip_pin = "A14" *) output reg LVDS_TX);
0 Kudos
Altera_Forum
Honored Contributor II
3,780 Views

Laxmanv. I assume you want to compile your design and stop quartus from warning about assigned pin locations? Is this what your asking? 

 

Normally if your using a dev kit, do not let quartus do pin assigment. However if your on a new design, then just compile it and quartus fitter will assign pins. Then use back annote assignments command.
0 Kudos
Altera_Forum
Honored Contributor II
3,780 Views

Yeah, what you need to do is let Quartus II handle the random pin assignments. I believe it is the same for Xilinx ISE. Then after that, go to pin output file (in txt format) to view the pin report that is assigned by Quartus II

0 Kudos
Altera_Forum
Honored Contributor II
3,780 Views

But I want the allocations in QSF. Lets take an example of Xilinx MIG. If we select any banks for user allocation then the pins get allocated in the selected banks by following pin allocation rules. If we didn't select any banks it 'll proceed with Default bank selections and outputs the UCF(user copnstraints file) with all pin alloctaions. I want the similar way here.  

Is there any option like that in IPtool bench or Quartus II?.
0 Kudos
Altera_Forum
Honored Contributor II
3,780 Views

 

--- Quote Start ---  

But I want the allocations in QSF. Lets take an example of Xilinx MIG. If we select any banks for user allocation then the pins get allocated in the selected banks by following pin allocation rules. If we didn't select any banks it 'll proceed with Default bank selections and outputs the UCF(user copnstraints file) with all pin alloctaions. I want the similar way here.  

Is there any option like that in IPtool bench or Quartus II?. 

--- Quote End ---  

 

 

Hi, 

 

looks like that my post is missing. 

 

you can preserve the pin assignment choosen by Quartus. You have to back-annotade the assignment. You can do that in following way: 

 

Choose: 

 

Assignment -> Back-Annotate Assignments 

 

Stay with the default setting "Pin&device Assignment" and press ok. 

 

The assignments are now written into the QSF. 

 

Kind regards 

 

GPK
0 Kudos
Altera_Forum
Honored Contributor II
3,780 Views

Thanks for the reply, But how about if the Address pins are not allocated, i.e if it produces the warning message which I mentioned in previous post.

0 Kudos
Altera_Forum
Honored Contributor II
3,780 Views

 

--- Quote Start ---  

Thanks for the reply, But how about if the Address pins are not allocated, i.e if it produces the warning message which I mentioned in previous post. 

--- Quote End ---  

 

 

Hi, 

 

did you have look into the <>.pin file? It is located in your project directory. Could you find all your pins in the file ? 

 

Kind regards 

 

GPK
0 Kudos
Altera_Forum
Honored Contributor II
3,780 Views

Thanks GPK, got all the pins in QSF and in .pin file.:)

0 Kudos
Reply