element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Members
    Members
    • Achievement Levels
    • Benefits of Membership
    • Feedback and Support
    • Members Area
    • Personal Blogs
    • What's New on element14
  • Learn
    Learn
    • eBooks
    • Learning Center
    • Learning Groups
    • STEM Academy
    • Webinars, Training and Events
  • Technologies
    Technologies
    • 3D Printing
    • Experts & Guidance
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Arduino Projects
    • Design Challenges
    • element14 presents
    • Project14
    • Project Groups
    • Raspberry Pi Projects
  • Products
    Products
    • Arduino
    • Avnet Boards Community
    • Dev Tools
    • Manufacturers
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • Store
    Store
    • Visit Your Store
    • 'Choose another store...'
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
Avnet Boards Forums
  • Products
  • Dev Tools
  • Avnet Boards Community
  • Avnet Boards Forums
  • More
  • Cancel
Avnet Boards Forums
MicroZed Hardware Design Constraint File Variable Definitions
  • Forum
  • Documents
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Avnet Boards Forums requires membership for participation - click to join
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • State Not Answered
  • Replies 3 replies
  • Subscribers 174 subscribers
  • Views 97 views
  • Users 0 members are here
Related

Constraint File Variable Definitions

rrsquez
rrsquez over 6 years ago

Hello. The following is a line from the MicroZed constraint file (microzed_7z010_master_XDC_RevB_v1.xdc).

Here is one line:

set_property PACKAGE_PIN T10 [get_ports{JX1_LVDS_0_N}]

Where is definition for "JX1_LVDS_0_N" and the other variables used in these constraint files?

 

Another example:

The Zedboard also has a constraint file (zedboard_master_XDC_RevC_D_v3.xdc) that also uses variables in this manner.

Here is one line: 

set_property PACKAGE_PIN U11  [get_ports {OLED_VBAT}];  # "OLED-VBAT"

Again, where would the "OLED_VBAT" variable be defined? It is a number between 54 and 57.
 

Thank you, Richard V

  • Sign in to reply
  • Cancel
  • drozwood90
    0 drozwood90 over 6 years ago

    When pinning differential pairs in a constraint file, you only need to enter in the _P.  The _N will automatically come along for the ride!

    If you use those pins for SINGLE ended, you will need to modify the constraint.

    --Dan

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • rrsquez
    0 rrsquez over 6 years ago in reply to drozwood90

    Hello Dan. Sorry, but you still haven't answered my question.

    This is 1 line from the constraint file provided on the website:

    set_property PACKAGE_PIN T10 [get_ports{JX1_LVDS_0_N}

     

    Again, I have to ask:
    Where is definition for "JX1_LVDS_0_N" and the other constants used in these constraint files? I didn't create this file. I don't care that it's a differential signal.

     

    Thank you, Richard V

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • drozwood90
    0 drozwood90 over 6 years ago

    Richard,

    I think I am not understanding what you are asking.  Let me try again and let me know if I am not answering you.

    The name JX1_LVDS_0_N comes from the definitions in the tool, which can be objects in the code or just created in the XDC.

    Vivado KNOWS what T10 is.  It is given that association based on the package you choose.  From there, get_ports is a XDC call that gets all objects that are ports.  Lastly, the JX1_LVDS_0_N is a name Avnet created that is the same name (or similar) given by our schematic.  If your design is not using that signal, you can remove it from the constraint as it will only cause you warning messages.

    --Dan

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2023 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube