Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.
Perl is mostly used to write scripts, which automates your flow, which may include starting a tool, and then collectiong the data out of it, and then modifying it etc.. i.e it is used on your unix prompt.
Where as tcl is more used when you are inside the tool.
For example dc_shell, ac_shell, formality, primetime etc.. they all use tcl on their command promts.
Hope it helps,
Perl is more oftenly used for text processing and can be used for editing/manipulating text files. Tcl is used where an eda tool has a tcl interface, there you can automate the steps that you perform manually (automate the flow).
I have seen people using Tcl, do the text processing and perl for automating the flow, actually depends on the comfort level of the designer. I have replied with an idea of highlighting where these languages are powerful when used appropriately.
Whether anyone has come acrossed using perl scripts in pcb designing specially in allegro or any other tool. Pls post sample perl scripts which has been programmed for EDA tools it will be helpful, so that i can look into it. And also tutorial which speaks about how to do scripting for eda tools.
In fact everything perl/tcl does can be done by C. But extracting patterns form a file using C, will be a daunting task.
so perl has been designed to do 'practical extraction and reporting' . so it is the ease which is a point here. YOu would use the language which will help you do the eask eaisly. Otherwise there would be may be just 'C' language, because you can do everything with it.