Beispiel #1
0
def do_types_subprg():
    print()
    for k in pnodes.get_types():
        print(dedent("""
            def Get_{0}(node, field):
                return {1}.vhdl__nodes_meta__get_{2}(node, field)
            """).format(k, libname, k.lower())
        )
Beispiel #2
0
def do_class_types():
    print_enum("types", pnodes.get_types())
Beispiel #3
0
def do_types_subprg():
    print()
    for k in pnodes.get_types():
        print()
        print("Get_{0} = {1}.vhdl__nodes_meta__get_{2}".format(k, libname, k.lower()))