finish counters

This commit is contained in:
Alex Mykyta
2021-12-11 23:37:00 -08:00
parent 9eddc9b60f
commit 3dee090467
9 changed files with 238 additions and 11 deletions

View File

@@ -291,6 +291,9 @@ class Hwif:
def get_implied_prop_output_identifier(self, field: FieldNode, prop: str) -> str:
assert prop in {"anded", "ored", "xored", "swmod", "swacc"}
assert prop in {
"anded", "ored", "xored", "swmod", "swacc",
"incrthreshold", "decrthreshold", "overflow", "underflow"
}
path = get_indexed_path(self.top_node, field)
return "hwif_out." + path + "." + prop