Add spacenum getter for required_/optional_address_space (nw)

This commit is contained in:
AJR 2019-02-17 11:56:57 -05:00
parent 50f045ba74
commit 7d45dcec4e

View File

@ -911,6 +911,12 @@ public:
/// \param [in] width Data width in bits (0 = don't care).
void set_data_width(u8 width) { this->m_data_width = width; }
/// \brief Get space number
///
/// Returns the configured address space number.
/// \return The space number to be found.
int spacenum() const { return m_spacenum; }
private:
/// \brief Find address space
///