File size: 483 Bytes
832456c
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
class Node:
    def __init__(self,name:str,cell:str,output:str,inputs=[],radix="",toggle={},maxcap=0,fanout=0,load=0,peak=0,t1=0,t2=0,powertimedict={}):
        self.name=name
        self.cell=cell
        self.output=output
        self.inputs=inputs
        self.radix=radix
        self.toggle=toggle
        self.fanout=fanout
        self.load=load
        self.maxcap=maxcap
        self.powertimedict=powertimedict
        self.t1=t1
        self.t2=t2
        self.peak=peak