element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet & Tria Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • About Us
  • 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
  • Settings
Avnet Boards Forums
  • Products
  • Dev Tools
  • Avnet & Tria Boards Community
  • Avnet Boards Forums
  • More
  • Cancel
Avnet Boards Forums
Ultra96 Hardware Design Problem about access the output signal of vivado blocks
  • Forum
  • Documents
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Avnet Boards Forums to participate - click to join for free!
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • State Not Answered
  • Replies 6 replies
  • Subscribers 347 subscribers
  • Views 696 views
  • Users 0 members are here
Related

Problem about access the output signal of vivado blocks

pmuproject
pmuproject over 7 years ago

Hello there,

I'm current building a clock source in vivado by using the clk_wiz module. The output clock is the clk_out1 pin on the clk_wiz module. When I finish the design of vivado and export it to SDK I found that there is nothing can be used related to the clk_out1 pin. Just woundering how can I access to the clk_wiz and output the clk_out1 signal to a gpio pin in SDK?

Regards,

Han

  • Sign in to reply
  • Cancel
  • jafoste4
    0 jafoste4 over 7 years ago

    hello Han,

    Did you make your signal external and write constraints to output the signal to a specific GPIO pin?

    -Josh

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • pmuproject
    0 pmuproject over 7 years ago in reply to jafoste4

    Hi Josh,

    Yes I made a external of the output clock from clk_wiz but I didn't write constraints for it in my .xdc file. I wrote all the gpio pins with the correspoding information from Ultra96 Schematic. Do I need to connect the output signal to the GPIO Pin directly such as :

    set_property PACKAGE_PIN D10  [get_ports { clk_out1_1       }];

    or set_property MIO36_PS_GPIO1_0  [get_ports {clk_out1_1        }];

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • jafoste4
    0 jafoste4 over 7 years ago

    Hello pmuproject,

    Yes you will need to route the signal directly to the GPIO similarly to how you are showing above. Unfortunatly you will only be able to access PL GPIO, so do not use the MIO36 constraint you wrote above.

    -Josh

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • pmuproject
    0 pmuproject over 7 years ago in reply to jafoste4

    Hi Josh,

    Thanks for your reply. In my understanding the HD and HP banks of gpio pins are PL GPIO, am I right? I just write the constraint as below:

    set_property PACKAGE_PIN D7   [get_ports {clk_out1_1              }];  # "D7.HD_GPIO_0"

    And I exported it to SDK and tried to output the clk_out1_1 signal on pin 3 which is the pin HD_GPIO0. First I tried use a Hello World code and it didn't work. Then I tried to set the direction of HD_GPIO0 to see the results. But the problem is I don't know the base address of HD_GPIO0 and the ID defined in xparameter.h. How can I output it to the HD_GPIO0 pin? Thanks for your help!

    Regards,

    Han

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • jafoste4
    0 jafoste4 over 7 years ago

    Hello Han,

    Please reference this http://blog.dev-flow.com/en/9-controlling-the-pl-from-the-ps-on-zynq-7000/

    -Josh

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • pmuproject
    0 pmuproject over 7 years ago in reply to jafoste4

    Hello Josh,

    Thanks for your reply. I can access my PL GPIO now. But the problem still here. Could you plz help me to check my work procedure?

    First I creat the bd and put zynq Ultrascale+ IP and clk_wiz IP and makes external for the clk_wiz output pin which is named clk_wiz_out. Then I go to synthesis and fix the clk_wiz_out to package pin D7 which is my HD_GPIO_0. Then the bitstream is generated and exported hardware. Then launch SDK. In SDK first I created the board support package. Then I tried to created both FSBL project and hello world project and programm FPGA and run the codes.  But I still get nothing of my GPIO pin. Did I missed anything? Is there any solution to fix this problem? Thanks!

    Regards,

    Han

    • 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 © 2025 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