Saikot Das Joy Posted March 3, 2023 Posted March 3, 2023 (edited) Edit: Customer hid original question and deleted original post text, didn't notice in time so the original text is lost :/ Edited May 3, 2023 by JColvin
0 artvvb Posted March 3, 2023 Posted March 3, 2023 Hi @Saikot Das Joy Your XDC port names may not match the port names in your generated HDL wrapper. I would expect pin names along the lines of "IIC_0_scl_tri_i". Also, please provide the error messages and any critical warnings that appear when bitstream generation fails. Thanks, Arthur
0 Saikot Das Joy Posted March 7, 2023 Author Posted March 7, 2023 Hi @artvvb, I have done some modification in the block design and in constraint file , Please find it with the attachment, The bitstream generation is succesfull, but I am not sure either pin mapping is correct or not, if I dont include any constraint file, yet bitstream generation succeds. So I am confused. Would you please tell me how can I be sure that pin mapping is correct? When bitstream generation failed, it showed which pin to map, according to this I wrote the constraint file. I am also not sure, should I write any constraint file regarding VCC,and GND ? or leaving it as it is will be just fine?
0 artvvb Posted March 7, 2023 Posted March 7, 2023 If you don't include a location constraint, I think Vivado picks one that it thinks would work for timing. This is probably somewhat useful when working on a project for which no PCB or dev board exists yet, and you are just in the early planning stages, but the behavior can be confusing. Constraints limit where Vivado is allowed to place design elements - if you don't tell it it has to place a port in a particular location, it's allowed to place it anywhere. To tell that the constraints are correct, you should check the board schematic and the master XDC file, and compare them to your physical hardware setup. You can also look in the implemented design to find the placement of individual ports, which tells you that Vivado didn't map the port to some other undesired pin. A screenshot is below, where pin U16 is mapped to an output buffer that is connected to an LED. Vivado doesn't know the LED exists except by what it learns from the constraints (or board files if they were used) and top module. Constraints aren't needed for the power rail or ground, since they aren't FPGA signals. For non-Zynq boards like the Nexys, you can tell which signals require location constraints by seeing which signals are present in the master XDC file and are connected to FPGA banks in the schematics. Thanks, Arthur
Question
Saikot Das Joy
Edit: Customer hid original question and deleted original post text, didn't notice in time so the original text is lost :/
Edited by JColvin3 answers to this question
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now