cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Highlighted
Visitor
Visitor
281 Views
Registered: ‎06-07-2020

What is -dict in Constraints

Jump to solution

Hello, I was working on creating constraints for my FPGA through I/O Planning

and I was looking back at the given Xilinx constraits for my Artix-7 chip and came across this -dict.

I have no idea of its function and if I even need it, can one of you geniuses help a simpleton understand?

I tried creating it through the I/O Ports window but found no way to add it.

 

Cheers, 

Ex. Led -Pin constraint

set_property -dict { PACKAGE_PIN H17 IOSTANDARD LVCMOS33 } [get_ports { LED[0] }]

0 Kudos
1 Solution

Accepted Solutions
Highlighted
Contributor
Contributor
248 Views
Registered: ‎11-18-2012

If you don't use -dict option , you will write as follows.


set_property PACKAGE_PIN H17  [get_ports { LED[0] }]

set_property IOSTANDARD LVCMOS33 [get_ports { LED[0] }]

 

The "-dict" is used to set multiple properties for the same Object.
In this example, Object is a LED[0].

 

See the set_property section of the following document for details.

https://www.xilinx.com/support/documentation/sw_manuals/xilinx2020_1/ug835-vivado-tcl-commands.pdf

 

View solution in original post

3 Replies
Highlighted
Contributor
Contributor
249 Views
Registered: ‎11-18-2012

If you don't use -dict option , you will write as follows.


set_property PACKAGE_PIN H17  [get_ports { LED[0] }]

set_property IOSTANDARD LVCMOS33 [get_ports { LED[0] }]

 

The "-dict" is used to set multiple properties for the same Object.
In this example, Object is a LED[0].

 

See the set_property section of the following document for details.

https://www.xilinx.com/support/documentation/sw_manuals/xilinx2020_1/ug835-vivado-tcl-commands.pdf

 

View solution in original post

Highlighted
Xilinx Employee
Xilinx Employee
219 Views
Registered: ‎03-07-2018

@Saudade-Yug 

Duplicated post : https://forums.xilinx.com/t5/Vivado-TCL-Community/What-is-dict-in-Constraints/m-p/1115179#M9073

Regards,
Bhushan

-------------------------------------------------------------------------------------------------------------------------------------------------
Kindly note- Please mark the Answer as "Accept as solution" if information provided is helpful.
Give Kudos to a post which you think is helpful and reply oriented.
-------------------------------------------------------------------------------------------------------------------------------------------------
0 Kudos
Highlighted
Visitor
Visitor
208 Views
Registered: ‎06-07-2020

Thank You very Much!

I appreciate the reference, It will be super handy.

0 Kudos