Exemplo n.º 1
0
    def visit_HdlOp(self, o):
        arg0 = o.ops[0]
        if o.fn == HdlOpType.CALL and isinstance(arg0, HdlValueId):
            if arg0.val == "EXIT":
                return self.visit_HdlStmExit(o)
            elif arg0.val == "NEXT":
                return self.visit_HdlStmNext(o)

        return ToVhdl2008Stm.visit_HdlOp(self, o)
Exemplo n.º 2
0
 def visit_main_obj(self, o):
     ToVhdl2008Stm.visit_main_obj(self, o)
     add_nl = isinstance(o, (HdlModuleDec, HdlModuleDec, HdlValueIdspace))
     if add_nl:
         self.out.write("\n")
Exemplo n.º 3
0
 def __init__(self, out_stream):
     ToVhdl2008Stm.__init__(self, out_stream)
     self.in_typedef = False