Continue to Site

Welcome to EDAboard.com

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.

Questions about MAGMA TCL Scripting

Status
Not open for further replies.

praneshcn

Member level 5
Joined
Aug 23, 2007
Messages
90
Helped
2
Reputation
4
Reaction score
2
Trophy points
1,288
Activity points
1,899
Hi,

wat are the equivalent tcl script command which can be used in magma for the following tasks,

* Dumping the existing blockages in a design into a seperate file
* Dumping the Placement information of the cells with the cell status (fixed,floating,etc.....)
* Removing all the blockages in the design
* Making all the cells in the design to be floating.
* Legalizing all the cells in the design.
 

magma eco command

* Dumping the existing blockages in a design into a seperate file
--> export physical -placement_blockage_types all /worl/design/design exported_blockages.tcl

* Dumping the Placement information of the cells with the cell status (fixed,floating,etc.....)
data loop cell model_cell $m { # loop all cells in the design
foreach att [data get $cell] { # loop all attribute of cell.
puts "$att --> [data get $att]
}
}


* Removing all the blockages in the design
data delete physical -placement_blockage_types all -routing_blockage_types all $m

* Making all the cells in the design to be floating.
data loop cell model_cell $m { # loop all cells in the design
if {[data get $cell fixed] == 0} {
puts "$cell -> floating"
}
}


* Legalizing all the cells in the design.
run place detail $m
run place detail $m -eco # for ECO only

All questions in Magma are welcome!
 
magma data model command

MISO CDMA transmission with simplified receiver for wireless communication handsets,
 
magma

hi denmos,

the following scripts gave some syntax errors. kindly suggest me a solution......................

* Dumping the Placement information of the cells with the cell status (fixed,floating,etc.....)
data loop cell model_cell $m { # loop all cells in the design
foreach att [data get $cell] { # loop all attribute of cell.
puts "$att --> [data get $att]
}
}

ERROR SHOWN:

Cant find object named type

Also i want to dump the information in a seperate file. So how to do tat.............

* Making all the cells in the design to be floating.
data loop cell model_cell $m { # loop all cells in the design
if {[data get $cell fixed] == 0} {
puts "$cell -> floating"
}
}


Error Shown:

No such attribute 'fixed'.


For legalizing the cells you had suggested the command " run place detail $m" but if it is used for a final routed design (on which we move some cells manually so that they are not placed legally) the flow step goes to placement stage and once again routing has to done from global to detail routing.


So how about using "check place detail $m -legalize smart" . I tried with that command and it is legalizing the cells and the flow still remains at the final routing stage. Could you comment on it please...........


thankz
 

tcl uses in magma

Hi,

I have some mistakes on syntax, so you can try it anyway base on my sugesstions.
For placed design (after fix-cell) you must use option -eco when perform detail placement.
The floating cells such as RAMs that is user defined for Macro placement to optimize floorplan.
I don't know what you mean about that.

You can get all attribute-name of every object in Magma using command: data get $object
Magma have a useful command to find out the command you need:
[mantle] help find "???"
[mantle] help find "floating"
---------------------------

What the build do you have? I want to know what the staus of you.
If you are on training, please let me know for more detail answers.
Don't hesitate to contact me if you have any question about Magma.
I work on Magma-AE for 6 months and I have 3-year expirements
on Magma tools with some tapped-out chips.

Thanks,
Vinh P. Nguyen
vinh.camau@gmail.com
1-512-217-7361
 

    praneshcn

    Points: 2
    Helpful Answer Positive Rating
tck@magma.ca

Hi denmos ,


Tanz for ur time and interest . Your model scripts were highly usefull for me and i have started to move ahead in learning Scripting.
 

Re: magma

hi denmos,

the following scripts gave some syntax errors. kindly suggest me a solution......................

* Dumping the Placement information of the cells with the cell status (fixed,floating,etc.....)
data loop cell model_cell $m { # loop all cells in the design
foreach att [data get $cell] { # loop all attribute of cell.
puts "$att --> [data get $att]
}
}

ERROR SHOWN:

Cant find object named type

Also i want to dump the information in a seperate file. So how to do tat.............

* Making all the cells in the design to be floating.
data loop cell model_cell $m { # loop all cells in the design
if {[data get $cell fixed] == 0} {
puts "$cell -> floating"
}
}


Error Shown:

No such attribute 'fixed'.


For legalizing the cells you had suggested the command " run place detail $m" but if it is used for a final routed design (on which we move some cells manually so that they are not placed legally) the flow step goes to placement stage and once again routing has to done from global to detail routing.


So how about using "check place detail $m -legalize smart" . I tried with that command and it is legalizing the cells and the flow still remains at the final routing stage. Could you comment on it please...........


thankz


use run place detail $m -eco...this will place only the cells that are changed..
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top