sabkumar.r
Junior Member level 2
Hi,
I am just getting started with TCL scripting in Magma. I need to do the following basic tasks:
1) find the number of flipflops in the design
2) number of macros in the design
3) number of logic nets in the design
My magma talus version; 1.2.2e.1-linux26_x86_64
I understand that the basic idea is to loop around all cells and find whether they re flops are not. But which attribute of the cell tells me that??
any sample script/ tips will be greatly appreciated.
Thanks
I am just getting started with TCL scripting in Magma. I need to do the following basic tasks:
1) find the number of flipflops in the design
2) number of macros in the design
3) number of logic nets in the design
My magma talus version; 1.2.2e.1-linux26_x86_64
I understand that the basic idea is to loop around all cells and find whether they re flops are not. But which attribute of the cell tells me that??
any sample script/ tips will be greatly appreciated.
Thanks