• Skip to main content
  • Skip to search
  • Skip to footer
Cadence Home
  • This search text may be transcribed, used, stored, or accessed by our third-party service providers per our Cookie Policy and Privacy Policy.

  1. Community Forums
  2. Allegro X Scripting - Skill
  3. Place Module .mdd file without using hierarchical block...

Stats

  • State Suggested Answer
  • Replies 4
  • Answers 1
  • Subscribers 17
  • Views 1816
  • Members are here 0
More Content

Place Module .mdd file without using hierarchical blocks

Hussain Aalim
Hussain Aalim 11 months ago

Hi,

I am trying to automate “Place Module” functionality of allegro by creating a module .mdd file and placing the module but I don’t want to use hierarchical blocks. Please help me with the automation of placing the modules without hierarchical blocks.

For this, I have created a module (.mdd) and linked it with the schematic using “Annotate” functionality of OrCAD under “PCB Editor Reuse” tab.

To use that module in the allegro, I had to place hierarchical blocks in the actual schematic that is going to be used for the design, and then linked the hierarchical blocks with the .dsn file of the “Reuse module” schematic.

After that we annotated the schematic to use the Reuse Module in a new design.

 

Later on, reuse module gets called by importing logic files and starts appearing under Placement section of “Module Instances” in allegro.

 

There’s only one challenge that I want to overcome: this method of creating reuse modules requires a dependency on hierarchical blocks. The main limitation here is that I cannot use hierarchical blocks in my designs. Please provide an alternative solution that allows me to call modules intelligently without the dependency on hierarchical blocks. I would also like to have skill code available for this solution.

Thanks in advance.

  • Sign in to reply
  • Cancel
  • mahimag
    0 mahimag 11 months ago

    Hussain Aalim , If you want to directly create and place modules in board file, you can use Tools > Create Module directly without schematic involvement. In board, you can also use Place Replicate Module flow. 

    Go to Placement Edit application mode and when you write click on a group of objects you have an option to create Place Replicate modules

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Reject Answer
    • Cancel
  • mahimag
    0 mahimag 11 months ago

    Also for the SKILL related to modules, there is another thread which I see on this forum which talks about it

    community.cadence.com/.../place-replicate-module

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • Hussain Aalim
    0 Hussain Aalim 11 months ago in reply to mahimag

    Hi

    When I place the module mdd using the axlDBCreateModuleInstance it changes the net names so how can I fix this issue to let the net names be same (it adds the suffix in the net names as provided in the axlDBCreateModuleInstance command) as shown below:

    modinst = axlDBCreateModuleInstance("inst" "comp_mod" '(4181 2456) 0 2)

    The command axlDBCreateModuleInstance adds the "inst" name in  the suffix of each of the net names so how can I route that net.

    Thanks in advance

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • mahimag
    0 mahimag 11 months ago in reply to Hussain Aalim

    In Place > Module flow, by default prefix or suffix is added when you place module instance. To disable this behavior try variable "module_instance_no_rename" in Setup > User Preferences > Placement > General

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
Cadence Guidelines

Community Guidelines

The Cadence Design Communities support Cadence users and technologists interacting to exchange ideas, news, technical information, and best practices to solve problems and get the most from Cadence technology. The community is open to everyone, and to provide the most value, we require participants to follow our Community Guidelines that facilitate a quality exchange of ideas and information. By accessing, contributing, using or downloading any materials from the site, you agree to be bound by the full Community Guidelines.

© 2025 Cadence Design Systems, Inc. All Rights Reserved.

  • Terms of Use
  • Privacy
  • Cookie Policy
  • US Trademarks
  • Do Not Sell or Share My Personal Information