adding the window of the cgram debugger (-g to activate)

This commit is contained in:
Clément Le Bihan
2020-03-28 14:52:42 +01:00
parent 1ea067d479
commit 618c708df6
5 changed files with 66 additions and 30 deletions
+3
View File
@@ -15,6 +15,7 @@
#ifdef DEBUGGER_ENABLED
#include "Debugger/MemoryViewer.hpp"
#include "Debugger/HeaderViewer.hpp"
#include "Debugger/cgramDebug.hpp"
#endif
@@ -28,6 +29,8 @@ namespace ComSquare
std::unique_ptr<Debugger::MemoryViewer> _ramViewer;
//! @brief The window that allow the user to view the cartridge's header.
std::unique_ptr<Debugger::HeaderViewer> _headerViewer;
//! @brief The window that allow the user to view the CGRAM.
std::unique_ptr<Debugger::cgramDebug> _cgramViewer;
#endif
//! @brief The memory bus that map addresses to components.
std::shared_ptr<Memory::MemoryBus> _bus;