def get_const(self, name):
        if name not in self.const_dict:
            raise KeyError("No such constant: '%s'" % name)
        return self.const_dict[name]
dataset/ETHPy150Open PyHDI/veriloggen/veriloggen/resolver/resolver.py/ConstantVisitor.get_const/original