From a921347d7e4ceb212021599469e38c5ac9e19598 Mon Sep 17 00:00:00 2001 From: Pavel Pisa Date: Mon, 25 Feb 2019 00:32:54 +0100 Subject: Change serial port peripheral to match SPIM registers definition. Still Tx only and keep 0xffffc000 base to allows single instruction LW and SW access. Signed-off-by: Pavel Pisa --- qtmips_machine/serialport.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'qtmips_machine/serialport.h') diff --git a/qtmips_machine/serialport.h b/qtmips_machine/serialport.h index 2b14a7e..add1fe6 100644 --- a/qtmips_machine/serialport.h +++ b/qtmips_machine/serialport.h @@ -58,6 +58,9 @@ signals: public: bool wword(std::uint32_t address, std::uint32_t value); std::uint32_t rword(std::uint32_t address, bool debug_access = false) const; +private: + std::uint32_t rx_st_reg; + std::uint32_t tx_st_reg; }; } -- cgit v1.2.3