summaryrefslogtreecommitdiff
path: root/src/abstract_hardware_model.h
diff options
context:
space:
mode:
authorAaron M Barnes <[email protected]>2021-05-09 13:23:12 -0400
committerAaron M Barnes <[email protected]>2021-05-09 13:23:12 -0400
commit645a0eaa6b431c5d4279330c72905ac6b6e7abb2 (patch)
tree429f5f63b2fc54801de30003bb16e726aa791124 /src/abstract_hardware_model.h
parent553346445486367799d4d67bf3537e54b7c83859 (diff)
minor fixes
Diffstat (limited to 'src/abstract_hardware_model.h')
-rw-r--r--src/abstract_hardware_model.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/abstract_hardware_model.h b/src/abstract_hardware_model.h
index 636052a..4d2bb4c 100644
--- a/src/abstract_hardware_model.h
+++ b/src/abstract_hardware_model.h
@@ -1291,6 +1291,7 @@ class register_set {
}
m_name = name;
}
+ const char * get_name() {return m_name;}
bool has_free() {
for (unsigned i = 0; i < regs.size(); i++) {
if (regs[i]->empty()) {