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
    About the element14 Community
  • 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
      •  Japan
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      •  Vietnam
      • 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
Avnet Boards General MMCM instantiation
  • 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 Verified Answer
  • Replies 6 replies
  • Subscribers 367 subscribers
  • Views 1014 views
  • Users 0 members are here
Related

MMCM instantiation

zanabonir
zanabonir over 9 years ago

Dear Forum

 

how could be possiblee..if possible... to create and connect  and configure a MMCM via VHDL or other code/file, without use the IP CLK WIZARD to add in Block Deisgn ?

Thanks

 

Roberto

  • Sign in to reply
  • Cancel
Parents
  • drozwood90
    0 drozwood90 over 9 years ago

    Hi there,

    Any example I provide will be generated with a wizard.  As I mentioned, there are just too many things that you need to account for in order to make this work.  It really is not worth the time to try to hand code one.

    To generate a register, you will need to understand the interface.  A register is just a piece of memory.  You can instantiate a piece of BRAM and just interface to that.

    I'm also not sure you want to try to force the use of a specific cell.  You can do this, but Vivado will do a place and route best fit and utilize resources much better than you will be able to - especially if your design changes.  If you have a timing critical thing, you can typically use this mechanism, but again, we are talking a RARE case.  Vivado will do a much better job auto-placing.

    The only reason I would think you would need to hand place and hand code the MMCM is if you were doing Hyper-routing, however I do not think this is the case.  I suppose if your design is too large that could be another case, however proper constraints will take care of these kinds of issues as well.

    If you want to hand route things, you can of course use constraints to lock pieces around, but again, Vivado will perform this job quite well for you and you needn't worry about it.  If you are trying to hand place to try to "fix" a timing issue, your constraints need work, not the end design.  Proper constraints will take care of all but the very fewest of cases (hyper routing, which is certainly not a typical thing to be doing).

    --Dan

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

    Hi there,

    Any example I provide will be generated with a wizard.  As I mentioned, there are just too many things that you need to account for in order to make this work.  It really is not worth the time to try to hand code one.

    To generate a register, you will need to understand the interface.  A register is just a piece of memory.  You can instantiate a piece of BRAM and just interface to that.

    I'm also not sure you want to try to force the use of a specific cell.  You can do this, but Vivado will do a place and route best fit and utilize resources much better than you will be able to - especially if your design changes.  If you have a timing critical thing, you can typically use this mechanism, but again, we are talking a RARE case.  Vivado will do a much better job auto-placing.

    The only reason I would think you would need to hand place and hand code the MMCM is if you were doing Hyper-routing, however I do not think this is the case.  I suppose if your design is too large that could be another case, however proper constraints will take care of these kinds of issues as well.

    If you want to hand route things, you can of course use constraints to lock pieces around, but again, Vivado will perform this job quite well for you and you needn't worry about it.  If you are trying to hand place to try to "fix" a timing issue, your constraints need work, not the end design.  Proper constraints will take care of all but the very fewest of cases (hyper routing, which is certainly not a typical thing to be doing).

    --Dan

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

    Thanks for reply..

    I know Vivado can do all best than me..As any compiler in C program can do better than man.

    But exist the way to implement by hand a piece of FPGA ? Exist some document..?

                       -If yes, than I will be happy to read...

                       -If not, than no problem.

     

    Thanks again

    Roberto

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