diff options
author | bd <bdunahu@operationnull.com> | 2025-04-18 21:56:45 -0400 |
---|---|---|
committer | bd <bdunahu@operationnull.com> | 2025-04-18 21:56:45 -0400 |
commit | 1613c52e8e52a5c1a2a8120fcfa7ed3a011fbdf1 (patch) | |
tree | a5d2a424fc2f3bfb0b6638366ccc6fb4fc80e68f /gui/worker.h | |
parent | 04d8976223821833ef9d93ae03b8058626d4e1e6 (diff) |
Remove/comment out a lot of code in charge of loading
Diffstat (limited to 'gui/worker.h')
-rw-r--r-- | gui/worker.h | 19 |
1 files changed, 2 insertions, 17 deletions
diff --git a/gui/worker.h b/gui/worker.h index f0ce7a3..53e4851 100644 --- a/gui/worker.h +++ b/gui/worker.h @@ -18,31 +18,16 @@ class Worker : public QObject { Q_OBJECT private: - std::vector<Cache*> c; - std::vector<int> cache_ways; - std::vector<int> cache_size; - bool cache_enabled = false; - Dram *d; + std::vector<Storage*> s; + std::vector<Stage*> p; Controller *ct; - ID *id_stage; - IF *if_stage; - EX *ex_stage; - MM *mm_stage; - WB *wb_stage; public: explicit Worker(QObject *parent = nullptr); ~Worker(); - std::vector<int> getWays(); - std::vector<int> getSize(); - void setWays(std::vector<int> ways); - void setSize(std::vector<int> size); public slots: - void doWork(); void refreshDram(); - void loadProgram(std::vector<signed int> p); - void configure(std::vector<int> ways, std::vector<int> size, bool is_pipelined, bool is_cache_enabled); void refreshCache(); void refreshRegisters(); void runSteps(int steps); |