Apply 'make format'

This commit is contained in:
verilator-bot[bot]
2026-09-26 11:03:09 +00:00
parent 4c4d9cc7d2
commit d1eb78f4e8
+2 -1
View File
@@ -886,7 +886,8 @@ def write_type_enum(prefix, nodeList):
fh.write(" static const uint32_t hashes[] = {\n")
for node in sorted(filter(lambda _: _.isLeaf, nodeList), key=lambda _: _.typeId):
digest = hashlib.md5((prefix + node.name).encode("ascii")).hexdigest()
fh.write(" 0x{h}U, // {p}{n}\n".format(h=digest[:8], p=prefix, n=node.name))
fh.write(" 0x{h}U, // {p}{n}\n".format(h=digest[:8], p=prefix,
n=node.name))
fh.write(" };\n")
fh.write(" return hashes[m_e];\n")
fh.write(" }\n")