Proof of Concept Router for Klayout

edited March 2021 in Python scripting

@Matthias @dick_freebird @MoBe

Proof of Concept Router for Klayout
git hub is here https://github.com/hgroller/KlayoutRouter.git


All text locations must be on an int grid location
no float's at the present time
Layout is based on Matthias si4all dummy pdk

Code consists of :
place both files below in C:/Users/your_path/KLayout/pymacros

Router.py ----- in sys.path.append("C:/Users/your_path/KLayout/pymacros") and change your_path

AstarRouter.py

testroute.gds is the test gds file with Text placements

Load Router.py in the IDE with the testroute.gds file open, the run .

In AstarRouter.py you can play with blockages by adding 1's in the maze array

Have fun, Comments welcomed.

Tracy

Comments

  • edited March 2021

    @Matthias @dick_freebird @MoBe
    Router.py has been updated to do Vert/Horz Metals and Drop vias
    Added ToolBar menu...
    Working on little bugs :)
    Rules are next ....

    Proof of Concept Router for Klayout
    git hub is here https://github.com/hgroller/KlayoutRouter.git

  • Cool! Thanks a lot! :)

    Would you mind formatting the text in Markdown? I guess there are some "#" characters which make the text super large (those are taken as H1 markers).

    Thanks,

    Matthias

  • Matthias,

    I tried , let me know how the test's goes on your side
    I am in the process of getting this to work with floats, off grid etc.
    Tract

  • edited March 2021

    @Matthias @dick_freebird @MoBe
    Matthias,

    Code has been updated to route on any grid that Text is placed on
    updated Router.py code
    https://github.com/hgroller/KlayoutRouter

  • Hi Matthias,
    I setup this package, and got some problem. I can execute "Create Array Label pins", but when I execute "Load Router", it showed "DPoint" is not find. I don't know how to fix it? Or anything went wrong ? Furthermore, how to install pdk si4all? Thank you.

  • @Matthias @tagger5896 - I have the same problem as @bee0922, any chance you can help ? Should I include this class DPoint in the script?
  • I'm sorry, but this is a third-party project. Please try to reach out for the author on GitHub and get support there.

    Matthias

  • I haven't seen much from Tracy since he got a "straight
    job" quite a while back. I think he may pop in sparsely.
    Sending him a message here might percolate at least
    a notification to his "home" email.

    My involvement with this is nil, other than "birds of a
    feather" interest.

Sign In or Register to comment.