summaryrefslogtreecommitdiff
path: root/src/abstract_hardware_model.h
diff options
context:
space:
mode:
authorsspenst <[email protected]>2016-07-07 11:53:56 -0700
committersspenst <[email protected]>2016-07-07 11:53:56 -0700
commit19595382f05235b8887955c76794a976fad04833 (patch)
treeed28e9d716be575c538c5d548073e6034312d964 /src/abstract_hardware_model.h
parent320631e64d6d9e4ccdac175621858642b7b12265 (diff)
SST instruction now updates the original array instead of storing the result in sstarr memory
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 750eb6a..6ed9b8e 100644
--- a/src/abstract_hardware_model.h
+++ b/src/abstract_hardware_model.h
@@ -554,6 +554,7 @@ public:
return false;
}
enum _memory_space_t get_type() const { return m_type; }
+ void set_type( enum _memory_space_t t ) { m_type = t; }
unsigned get_bank() const { return m_bank; }
void set_bank( unsigned b ) { m_bank = b; }
bool is_const() const { return (m_type == const_space) || (m_type == param_space_kernel); }