예제 #1
0
 def __init__(self):
     iHdlObjWithName.__init__(self)
     iHdlObjInModule.__init__(self)
     self.type = None  # type: HdlType
     self.value = None  # iHdlExpr
     self.is_const = False  # type: bool
     self.is_latched = False  # type: bool
     self.is_static = False  # type: bool
     self.is_virtual = False  # type: bool
     self.direction = None  # type: HdlDirection
예제 #2
0
 def __init__(self):
     iHdlObjWithName.__init__(self)
     iHdlObjInModule.__init__(self)
     self.is_declaration_only = True  # type:bool
     self.is_operator = False  # type: bool
     self.is_static = False  # type: bool
     self.is_task = False  # type: bool
     self.is_virtual = False  # type: bool
     self.return_t = None  # type: Optional[iHdlExpr]
     self.params = []  # type: List[HdlIdDef]
     self.body = []  # type: List[Union[HdlIdDef, iHdlStatement, iHdlExpr]]
예제 #3
0
 def __init__(self):
     iHdlObjWithName.__init__(self)
     iHdlObjInModule.__init__(self)
     self.module_name = None  # type: iHdlExpr
     self.param_map = []  # type: List[iHdlExpr]
     self.port_map = []  # type: List[iHdlExpr]