Thanks for your question. I am going to move this to our IC Design community where it will receive greater visibility among users. The Member Resources space is for general community questions and suggestions.
1 of 1 people found this helpful
Pyxis uses the AMPLE scripting language to automate actions. See the Pyxis Layout Reference Manual for the list of functions.
Thanks for the reply. It is very helpful. Just to make sure, is it the 'userware' the environment where the script is written? Does MG provide any example project? It may be a demonstration to draw a rectangle.
Sorry for the delay. I have not used the tool in a long time and I'm not an expert, but I'll try give some pointers. Yes, check out the "Custom Userware" section of the Pyxis Layout User's Manual. For what you're doing, you probably can just write a macro. I would start by simply entering commands in the console while a layout is open to get an idea of what can be done.
A macro is a way that you can define and execute a sequence of operations.
In Pyxis Layout, you have two choices for creating macros:
- You can write an AMPLE function for the action that you want. Once the function is defined for the current session, you can execute the function just like any other function.
- You can create a file that contains a sequence of functions, then execute the file with the $dofile() function. Your $dofile files are not as efficient as AMPLE functions because they are not compiled.
In Pyxis Layout, functions are executed within the scope of the current active window. If your
macro operates on multiple windows, you must change the current active window with
$set_active_window() to the window where the action is to be done. If you close a window in a
macro, be sure to use the $set_active_window() function to establish a new active window.
The "Diode Device Generator Creation" topic in the Pyxis Process Design Kit User's and Reference Manual (pyxis_pdk_useref.pdf) is a good example of how to issue functions to draw objects using the built-in commands. There are some other useful topics in that section as well.