diff --git a/ass2/simulator/.qtcreator/CMakeLists.txt.user b/ass2/simulator/.qtcreator/CMakeLists.txt.user index 7659160..282a626 100644 --- a/ass2/simulator/.qtcreator/CMakeLists.txt.user +++ b/ass2/simulator/.qtcreator/CMakeLists.txt.user @@ -1,6 +1,6 @@ - + EnvironmentId @@ -105,16 +105,16 @@ 2 false - -DCMAKE_CXX_FLAGS_INIT:STRING=%{Qt:QML_DEBUG_FLAG} + -DCMAKE_PREFIX_PATH:PATH=%{Qt:QT_INSTALL_PREFIX} +-DQT_QMAKE_EXECUTABLE:FILEPATH=%{Qt:qmakeExecutable} +-DCMAKE_BUILD_TYPE:STRING=Debug -DCMAKE_COLOR_DIAGNOSTICS:BOOL=ON --DCMAKE_C_COMPILER:FILEPATH=%{Compiler:Executable:C} --DCMAKE_CXX_COMPILER:FILEPATH=%{Compiler:Executable:Cxx} --DCMAKE_PREFIX_PATH:PATH=%{Qt:QT_INSTALL_PREFIX} --DCMAKE_PROJECT_INCLUDE_BEFORE:FILEPATH=%{BuildConfig:BuildDirectory:NativeFilePath}/.qtc/package-manager/auto-setup.cmake -DCMAKE_GENERATOR:STRING=Ninja -DQT_MAINTENANCE_TOOL:FILEPATH=/home/aljaz/Qt/MaintenanceTool --DQT_QMAKE_EXECUTABLE:FILEPATH=%{Qt:qmakeExecutable} --DCMAKE_BUILD_TYPE:STRING=Debug +-DCMAKE_PROJECT_INCLUDE_BEFORE:FILEPATH=%{BuildConfig:BuildDirectory:NativeFilePath}/.qtc/package-manager/auto-setup.cmake +-DCMAKE_CXX_COMPILER:FILEPATH=%{Compiler:Executable:Cxx} +-DCMAKE_C_COMPILER:FILEPATH=%{Compiler:Executable:C} +-DCMAKE_CXX_FLAGS_INIT:STRING=%{Qt:QML_DEBUG_FLAG} 0 /home/aljaz/Desktop/spo/ass2/simulator/build/Desktop_Qt_6_10_1-Debug diff --git a/ass2/simulator/CMakeLists.txt b/ass2/simulator/CMakeLists.txt index 66a54a0..b1719c4 100644 --- a/ass2/simulator/CMakeLists.txt +++ b/ass2/simulator/CMakeLists.txt @@ -11,8 +11,11 @@ qt_add_executable(simulator mainwindow.cpp mainwindow.h mainwindow.ui - machine.h machine.cpp - device.h device.cpp + machine.h + machine.cpp + device.h + device.cpp + opcode.h opcode.cpp ) target_link_libraries(simulator diff --git a/ass2/simulator/build/Desktop_Qt_6_10_1-Debug/.cmake/api/v1/reply.prev/codemodel-v2-d3128a8c376adbd699de.json b/ass2/simulator/build/Desktop_Qt_6_10_1-Debug/.cmake/api/v1/reply.prev/codemodel-v2-fc5483802601394ec595.json similarity index 91% rename from ass2/simulator/build/Desktop_Qt_6_10_1-Debug/.cmake/api/v1/reply.prev/codemodel-v2-d3128a8c376adbd699de.json rename to ass2/simulator/build/Desktop_Qt_6_10_1-Debug/.cmake/api/v1/reply.prev/codemodel-v2-fc5483802601394ec595.json index b64136c..43bc05f 100644 --- a/ass2/simulator/build/Desktop_Qt_6_10_1-Debug/.cmake/api/v1/reply.prev/codemodel-v2-d3128a8c376adbd699de.json +++ b/ass2/simulator/build/Desktop_Qt_6_10_1-Debug/.cmake/api/v1/reply.prev/codemodel-v2-fc5483802601394ec595.json @@ -7,7 +7,7 @@ { "build" : ".", "hasInstallRule" : true, - "jsonFile" : "directory-.-Debug-5eb11126559593f0fa7b.json", + "jsonFile" : "directory-.-Debug-b6d99062396e1794a7ce.json", "minimumCMakeVersion" : { "string" : "3.16" @@ -44,7 +44,7 @@ { "directoryIndex" : 0, "id" : "simulator::@6890427a1f51a3e7e1df", - "jsonFile" : "target-simulator-Debug-88a02640b7072cb7034a.json", + "jsonFile" : "target-simulator-Debug-0cbdc686daa89d68b1d7.json", "name" : "simulator", "projectIndex" : 0 }, diff --git a/ass2/simulator/build/Desktop_Qt_6_10_1-Debug/.cmake/api/v1/reply/directory-.-Debug-f4edc75a4a0d79ff8fc6.json b/ass2/simulator/build/Desktop_Qt_6_10_1-Debug/.cmake/api/v1/reply.prev/directory-.-Debug-b6d99062396e1794a7ce.json similarity index 95% rename from ass2/simulator/build/Desktop_Qt_6_10_1-Debug/.cmake/api/v1/reply/directory-.-Debug-f4edc75a4a0d79ff8fc6.json rename to ass2/simulator/build/Desktop_Qt_6_10_1-Debug/.cmake/api/v1/reply.prev/directory-.-Debug-b6d99062396e1794a7ce.json index 25ab24a..f362aa4 100644 --- a/ass2/simulator/build/Desktop_Qt_6_10_1-Debug/.cmake/api/v1/reply/directory-.-Debug-f4edc75a4a0d79ff8fc6.json +++ b/ass2/simulator/build/Desktop_Qt_6_10_1-Debug/.cmake/api/v1/reply.prev/directory-.-Debug-b6d99062396e1794a7ce.json @@ -17,13 +17,13 @@ { "command" : 0, "file" : 0, - "line" : 26, + "line" : 28, "parent" : 0 }, { "command" : 0, "file" : 0, - "line" : 37, + "line" : 39, "parent" : 0 } ] diff --git a/ass2/simulator/build/Desktop_Qt_6_10_1-Debug/.cmake/api/v1/reply.prev/index-2025-11-23T13-31-11-0163.json b/ass2/simulator/build/Desktop_Qt_6_10_1-Debug/.cmake/api/v1/reply.prev/index-2025-11-24T18-29-39-0158.json similarity index 92% rename from ass2/simulator/build/Desktop_Qt_6_10_1-Debug/.cmake/api/v1/reply.prev/index-2025-11-23T13-31-11-0163.json rename to ass2/simulator/build/Desktop_Qt_6_10_1-Debug/.cmake/api/v1/reply.prev/index-2025-11-24T18-29-39-0158.json index 53a102f..da92b46 100644 --- a/ass2/simulator/build/Desktop_Qt_6_10_1-Debug/.cmake/api/v1/reply.prev/index-2025-11-23T13-31-11-0163.json +++ b/ass2/simulator/build/Desktop_Qt_6_10_1-Debug/.cmake/api/v1/reply.prev/index-2025-11-24T18-29-39-0158.json @@ -26,7 +26,7 @@ "objects" : [ { - "jsonFile" : "codemodel-v2-d3128a8c376adbd699de.json", + "jsonFile" : "codemodel-v2-fc5483802601394ec595.json", "kind" : "codemodel", "version" : { @@ -77,7 +77,7 @@ }, "codemodel-v2" : { - "jsonFile" : "codemodel-v2-d3128a8c376adbd699de.json", + "jsonFile" : "codemodel-v2-fc5483802601394ec595.json", "kind" : "codemodel", "version" : { diff --git a/ass2/simulator/build/Desktop_Qt_6_10_1-Debug/.cmake/api/v1/reply/target-simulator-Debug-4cc1cefd9b05bb84f59c.json b/ass2/simulator/build/Desktop_Qt_6_10_1-Debug/.cmake/api/v1/reply.prev/target-simulator-Debug-0cbdc686daa89d68b1d7.json similarity index 99% rename from ass2/simulator/build/Desktop_Qt_6_10_1-Debug/.cmake/api/v1/reply/target-simulator-Debug-4cc1cefd9b05bb84f59c.json rename to ass2/simulator/build/Desktop_Qt_6_10_1-Debug/.cmake/api/v1/reply.prev/target-simulator-Debug-0cbdc686daa89d68b1d7.json index 7ee9087..b35f757 100644 --- a/ass2/simulator/build/Desktop_Qt_6_10_1-Debug/.cmake/api/v1/reply/target-simulator-Debug-4cc1cefd9b05bb84f59c.json +++ b/ass2/simulator/build/Desktop_Qt_6_10_1-Debug/.cmake/api/v1/reply.prev/target-simulator-Debug-0cbdc686daa89d68b1d7.json @@ -71,13 +71,13 @@ { "command" : 4, "file" : 1, - "line" : 26, + "line" : 28, "parent" : 0 }, { "command" : 5, "file" : 1, - "line" : 18, + "line" : 20, "parent" : 0 }, { diff --git a/ass2/simulator/build/Desktop_Qt_6_10_1-Debug/.cmake/api/v1/reply/codemodel-v2-f6f2576068631c5a0258.json b/ass2/simulator/build/Desktop_Qt_6_10_1-Debug/.cmake/api/v1/reply/codemodel-v2-8462ebb8de7ac0ba3995.json similarity index 91% rename from ass2/simulator/build/Desktop_Qt_6_10_1-Debug/.cmake/api/v1/reply/codemodel-v2-f6f2576068631c5a0258.json rename to ass2/simulator/build/Desktop_Qt_6_10_1-Debug/.cmake/api/v1/reply/codemodel-v2-8462ebb8de7ac0ba3995.json index 979bbb4..91d772c 100644 --- a/ass2/simulator/build/Desktop_Qt_6_10_1-Debug/.cmake/api/v1/reply/codemodel-v2-f6f2576068631c5a0258.json +++ b/ass2/simulator/build/Desktop_Qt_6_10_1-Debug/.cmake/api/v1/reply/codemodel-v2-8462ebb8de7ac0ba3995.json @@ -7,7 +7,7 @@ { "build" : ".", "hasInstallRule" : true, - "jsonFile" : "directory-.-Debug-f4edc75a4a0d79ff8fc6.json", + "jsonFile" : "directory-.-Debug-9e88f268bb4c5fb675f4.json", "minimumCMakeVersion" : { "string" : "3.16" @@ -44,7 +44,7 @@ { "directoryIndex" : 0, "id" : "simulator::@6890427a1f51a3e7e1df", - "jsonFile" : "target-simulator-Debug-4cc1cefd9b05bb84f59c.json", + "jsonFile" : "target-simulator-Debug-44f8bd757c2b053c3c98.json", "name" : "simulator", "projectIndex" : 0 }, diff --git a/ass2/simulator/build/Desktop_Qt_6_10_1-Debug/.cmake/api/v1/reply.prev/directory-.-Debug-5eb11126559593f0fa7b.json b/ass2/simulator/build/Desktop_Qt_6_10_1-Debug/.cmake/api/v1/reply/directory-.-Debug-9e88f268bb4c5fb675f4.json similarity index 95% rename from ass2/simulator/build/Desktop_Qt_6_10_1-Debug/.cmake/api/v1/reply.prev/directory-.-Debug-5eb11126559593f0fa7b.json rename to ass2/simulator/build/Desktop_Qt_6_10_1-Debug/.cmake/api/v1/reply/directory-.-Debug-9e88f268bb4c5fb675f4.json index 3150f44..4b8072a 100644 --- a/ass2/simulator/build/Desktop_Qt_6_10_1-Debug/.cmake/api/v1/reply.prev/directory-.-Debug-5eb11126559593f0fa7b.json +++ b/ass2/simulator/build/Desktop_Qt_6_10_1-Debug/.cmake/api/v1/reply/directory-.-Debug-9e88f268bb4c5fb675f4.json @@ -17,13 +17,13 @@ { "command" : 0, "file" : 0, - "line" : 25, + "line" : 29, "parent" : 0 }, { "command" : 0, "file" : 0, - "line" : 36, + "line" : 40, "parent" : 0 } ] diff --git a/ass2/simulator/build/Desktop_Qt_6_10_1-Debug/.cmake/api/v1/reply/index-2025-11-23T15-29-55-0063.json b/ass2/simulator/build/Desktop_Qt_6_10_1-Debug/.cmake/api/v1/reply/index-2025-11-27T13-24-51-0967.json similarity index 92% rename from ass2/simulator/build/Desktop_Qt_6_10_1-Debug/.cmake/api/v1/reply/index-2025-11-23T15-29-55-0063.json rename to ass2/simulator/build/Desktop_Qt_6_10_1-Debug/.cmake/api/v1/reply/index-2025-11-27T13-24-51-0967.json index 7fbe85d..aeda707 100644 --- a/ass2/simulator/build/Desktop_Qt_6_10_1-Debug/.cmake/api/v1/reply/index-2025-11-23T15-29-55-0063.json +++ b/ass2/simulator/build/Desktop_Qt_6_10_1-Debug/.cmake/api/v1/reply/index-2025-11-27T13-24-51-0967.json @@ -26,7 +26,7 @@ "objects" : [ { - "jsonFile" : "codemodel-v2-f6f2576068631c5a0258.json", + "jsonFile" : "codemodel-v2-8462ebb8de7ac0ba3995.json", "kind" : "codemodel", "version" : { @@ -77,7 +77,7 @@ }, "codemodel-v2" : { - "jsonFile" : "codemodel-v2-f6f2576068631c5a0258.json", + "jsonFile" : "codemodel-v2-8462ebb8de7ac0ba3995.json", "kind" : "codemodel", "version" : { diff --git a/ass2/simulator/build/Desktop_Qt_6_10_1-Debug/.cmake/api/v1/reply.prev/target-simulator-Debug-88a02640b7072cb7034a.json b/ass2/simulator/build/Desktop_Qt_6_10_1-Debug/.cmake/api/v1/reply/target-simulator-Debug-44f8bd757c2b053c3c98.json similarity index 94% rename from ass2/simulator/build/Desktop_Qt_6_10_1-Debug/.cmake/api/v1/reply.prev/target-simulator-Debug-88a02640b7072cb7034a.json rename to ass2/simulator/build/Desktop_Qt_6_10_1-Debug/.cmake/api/v1/reply/target-simulator-Debug-44f8bd757c2b053c3c98.json index f0d229c..b8b0ba5 100644 --- a/ass2/simulator/build/Desktop_Qt_6_10_1-Debug/.cmake/api/v1/reply.prev/target-simulator-Debug-88a02640b7072cb7034a.json +++ b/ass2/simulator/build/Desktop_Qt_6_10_1-Debug/.cmake/api/v1/reply/target-simulator-Debug-44f8bd757c2b053c3c98.json @@ -71,13 +71,13 @@ { "command" : 4, "file" : 1, - "line" : 25, + "line" : 29, "parent" : 0 }, { "command" : 5, "file" : 1, - "line" : 17, + "line" : 21, "parent" : 0 }, { @@ -290,7 +290,9 @@ 0, 1, 2, - 6 + 6, + 8, + 10 ] } ], @@ -381,8 +383,8 @@ "sourceIndexes" : [ 0, - 7, - 8 + 11, + 12 ] }, { @@ -391,7 +393,9 @@ [ 1, 2, - 6 + 6, + 8, + 10 ] }, { @@ -399,7 +403,9 @@ "sourceIndexes" : [ 3, - 5 + 5, + 7, + 9 ] }, { @@ -413,7 +419,7 @@ "name" : "CMake Rules", "sourceIndexes" : [ - 9 + 13 ] } ], @@ -459,6 +465,28 @@ "path" : "machine.cpp", "sourceGroupIndex" : 1 }, + { + "backtrace" : 4, + "path" : "device.h", + "sourceGroupIndex" : 2 + }, + { + "backtrace" : 4, + "compileGroupIndex" : 0, + "path" : "device.cpp", + "sourceGroupIndex" : 1 + }, + { + "backtrace" : 4, + "path" : "opcode.h", + "sourceGroupIndex" : 2 + }, + { + "backtrace" : 4, + "compileGroupIndex" : 0, + "path" : "opcode.cpp", + "sourceGroupIndex" : 1 + }, { "backtrace" : 0, "isGenerated" : true, diff --git a/ass2/simulator/build/Desktop_Qt_6_10_1-Debug/.ninja_deps b/ass2/simulator/build/Desktop_Qt_6_10_1-Debug/.ninja_deps index b461af9..5894991 100644 Binary files a/ass2/simulator/build/Desktop_Qt_6_10_1-Debug/.ninja_deps and b/ass2/simulator/build/Desktop_Qt_6_10_1-Debug/.ninja_deps differ diff --git a/ass2/simulator/build/Desktop_Qt_6_10_1-Debug/.ninja_log b/ass2/simulator/build/Desktop_Qt_6_10_1-Debug/.ninja_log index a0f22bd..a76e0ee 100644 --- a/ass2/simulator/build/Desktop_Qt_6_10_1-Debug/.ninja_log +++ b/ass2/simulator/build/Desktop_Qt_6_10_1-Debug/.ninja_log @@ -1,47 +1,11 @@ # ninja log v6 -12 24 1763912138075891465 CMakeFiles/simulator.dir/device.cpp.o 36fc5c8cf014f45b -21 1251 1763913845853384077 CMakeFiles/simulator.dir/mainwindow.cpp.o e3901bb2e4f9b516 +16 224 1764073111478991803 CMakeFiles/simulator.dir/device.cpp.o 36fc5c8cf014f45b +15 1296 1764073111477991803 CMakeFiles/simulator.dir/mainwindow.cpp.o e3901bb2e4f9b516 197 1160 1763912062733203284 CMakeFiles/simulator.dir/simulator_autogen/mocs_compilation.cpp.o 5301f473905a545f -3 21 1763913845835384437 /home/aljaz/Desktop/spo/ass2/simulator/build/Desktop_Qt_6_10_1-Debug/simulator_autogen/mocs_compilation.cpp c193a23cfe79571d +3 15 1764073111465991803 /home/aljaz/Desktop/spo/ass2/simulator/build/Desktop_Qt_6_10_1-Debug/simulator_autogen/mocs_compilation.cpp c193a23cfe79571d 197 384 1763912062733203284 CMakeFiles/simulator.dir/machine.cpp.o 7030a03f8cbf1ad0 197 1417 1763912062733203284 CMakeFiles/simulator.dir/main.cpp.o 9ebba9b7abc4cbf1 -3 21 1763913845835384437 /home/aljaz/Desktop/spo/ass2/simulator/build/Desktop_Qt_6_10_1-Debug/simulator_autogen/timestamp c193a23cfe79571d -1251 1453 1763913847083359480 simulator fb8524dc610350ca -3 21 1763913845835384437 simulator_autogen/mocs_compilation.cpp c193a23cfe79571d -3 21 1763913845835384437 simulator_autogen/timestamp c193a23cfe79571d -3 23 1763913896006424529 simulator_autogen/timestamp c193a23cfe79571d -3 23 1763913896006424529 simulator_autogen/mocs_compilation.cpp c193a23cfe79571d -3 23 1763913896006424529 /home/aljaz/Desktop/spo/ass2/simulator/build/Desktop_Qt_6_10_1-Debug/simulator_autogen/timestamp c193a23cfe79571d -3 23 1763913896006424529 /home/aljaz/Desktop/spo/ass2/simulator/build/Desktop_Qt_6_10_1-Debug/simulator_autogen/mocs_compilation.cpp c193a23cfe79571d -24 1316 1763913896027424144 CMakeFiles/simulator.dir/mainwindow.cpp.o e3901bb2e4f9b516 -1316 1523 1763913897319400459 simulator fb8524dc610350ca -2 20 1763913909470179822 simulator_autogen/timestamp c193a23cfe79571d -2 20 1763913909470179822 simulator_autogen/mocs_compilation.cpp c193a23cfe79571d -2 20 1763913909470179822 /home/aljaz/Desktop/spo/ass2/simulator/build/Desktop_Qt_6_10_1-Debug/simulator_autogen/timestamp c193a23cfe79571d -2 20 1763913909470179822 /home/aljaz/Desktop/spo/ass2/simulator/build/Desktop_Qt_6_10_1-Debug/simulator_autogen/mocs_compilation.cpp c193a23cfe79571d -21 1255 1763913909489179479 CMakeFiles/simulator.dir/mainwindow.cpp.o e3901bb2e4f9b516 -1255 1450 1763913910723157280 simulator fb8524dc610350ca -1 16 1763913934167742133 simulator_autogen/timestamp c193a23cfe79571d -1 16 1763913934167742133 simulator_autogen/mocs_compilation.cpp c193a23cfe79571d -1 16 1763913934167742133 /home/aljaz/Desktop/spo/ass2/simulator/build/Desktop_Qt_6_10_1-Debug/simulator_autogen/timestamp c193a23cfe79571d -1 16 1763913934167742133 /home/aljaz/Desktop/spo/ass2/simulator/build/Desktop_Qt_6_10_1-Debug/simulator_autogen/mocs_compilation.cpp c193a23cfe79571d -16 1244 1763913934182741872 CMakeFiles/simulator.dir/mainwindow.cpp.o e3901bb2e4f9b516 -1244 1445 1763913935410720453 simulator fb8524dc610350ca -3 16 1763914457574556945 simulator_autogen/timestamp c193a23cfe79571d -3 16 1763914457574556945 simulator_autogen/mocs_compilation.cpp c193a23cfe79571d -3 16 1763914457574556945 /home/aljaz/Desktop/spo/ass2/simulator/build/Desktop_Qt_6_10_1-Debug/simulator_autogen/timestamp c193a23cfe79571d -3 16 1763914457574556945 /home/aljaz/Desktop/spo/ass2/simulator/build/Desktop_Qt_6_10_1-Debug/simulator_autogen/mocs_compilation.cpp c193a23cfe79571d -17 1200 1763914457588557831 CMakeFiles/simulator.dir/mainwindow.cpp.o e3901bb2e4f9b516 -1200 1394 1763914458771632626 simulator fb8524dc610350ca -3 22 1763914599452072365 simulator_autogen/timestamp c193a23cfe79571d -3 22 1763914599452072365 simulator_autogen/mocs_compilation.cpp c193a23cfe79571d -3 22 1763914599452072365 /home/aljaz/Desktop/spo/ass2/simulator/build/Desktop_Qt_6_10_1-Debug/simulator_autogen/timestamp c193a23cfe79571d -3 22 1763914599452072365 /home/aljaz/Desktop/spo/ass2/simulator/build/Desktop_Qt_6_10_1-Debug/simulator_autogen/mocs_compilation.cpp c193a23cfe79571d -22 1300 1763914599471070486 CMakeFiles/simulator.dir/mainwindow.cpp.o e3901bb2e4f9b516 -1300 1495 1763914600748944460 simulator fb8524dc610350ca -3 20 1763914835502033512 simulator_autogen/timestamp c193a23cfe79571d -3 20 1763914835502033512 simulator_autogen/mocs_compilation.cpp c193a23cfe79571d -3 20 1763914835502033512 /home/aljaz/Desktop/spo/ass2/simulator/build/Desktop_Qt_6_10_1-Debug/simulator_autogen/timestamp c193a23cfe79571d -3 20 1763914835502033512 /home/aljaz/Desktop/spo/ass2/simulator/build/Desktop_Qt_6_10_1-Debug/simulator_autogen/mocs_compilation.cpp c193a23cfe79571d -20 1216 1763914835519033119 CMakeFiles/simulator.dir/mainwindow.cpp.o e3901bb2e4f9b516 -1216 1445 1763914836715005676 simulator fb8524dc610350ca +3 15 1764073111465991803 /home/aljaz/Desktop/spo/ass2/simulator/build/Desktop_Qt_6_10_1-Debug/simulator_autogen/timestamp c193a23cfe79571d +1296 1566 1764073112758991795 simulator fb8524dc610350ca +3 15 1764073111465991803 simulator_autogen/mocs_compilation.cpp c193a23cfe79571d +3 15 1764073111465991803 simulator_autogen/timestamp c193a23cfe79571d diff --git a/ass2/simulator/build/Desktop_Qt_6_10_1-Debug/.qtc_clangd/.cache/clangd/index/QAction.0ACECD22899E5B13.idx b/ass2/simulator/build/Desktop_Qt_6_10_1-Debug/.qtc_clangd/.cache/clangd/index/QAction.0ACECD22899E5B13.idx new file mode 100644 index 0000000..9409399 Binary files /dev/null and b/ass2/simulator/build/Desktop_Qt_6_10_1-Debug/.qtc_clangd/.cache/clangd/index/QAction.0ACECD22899E5B13.idx differ diff --git a/ass2/simulator/build/Desktop_Qt_6_10_1-Debug/.qtc_clangd/.cache/clangd/index/QGridLayout.1FDB84EC23EEEE82.idx b/ass2/simulator/build/Desktop_Qt_6_10_1-Debug/.qtc_clangd/.cache/clangd/index/QGridLayout.1FDB84EC23EEEE82.idx new file mode 100644 index 0000000..8237153 Binary files /dev/null and b/ass2/simulator/build/Desktop_Qt_6_10_1-Debug/.qtc_clangd/.cache/clangd/index/QGridLayout.1FDB84EC23EEEE82.idx differ diff --git a/ass2/simulator/build/Desktop_Qt_6_10_1-Debug/.qtc_clangd/.cache/clangd/index/QGroupBox.8D3731A54B08056D.idx b/ass2/simulator/build/Desktop_Qt_6_10_1-Debug/.qtc_clangd/.cache/clangd/index/QGroupBox.8D3731A54B08056D.idx new file mode 100644 index 0000000..ecfde86 Binary files /dev/null and b/ass2/simulator/build/Desktop_Qt_6_10_1-Debug/.qtc_clangd/.cache/clangd/index/QGroupBox.8D3731A54B08056D.idx differ diff --git a/ass2/simulator/build/Desktop_Qt_6_10_1-Debug/.qtc_clangd/.cache/clangd/index/QHeaderView.4A2FD9DBA94C5BDF.idx b/ass2/simulator/build/Desktop_Qt_6_10_1-Debug/.qtc_clangd/.cache/clangd/index/QHeaderView.4A2FD9DBA94C5BDF.idx new file mode 100644 index 0000000..83b7abb Binary files /dev/null and b/ass2/simulator/build/Desktop_Qt_6_10_1-Debug/.qtc_clangd/.cache/clangd/index/QHeaderView.4A2FD9DBA94C5BDF.idx differ diff --git a/ass2/simulator/build/Desktop_Qt_6_10_1-Debug/.qtc_clangd/.cache/clangd/index/QMenu.ACD634BB60F356D4.idx b/ass2/simulator/build/Desktop_Qt_6_10_1-Debug/.qtc_clangd/.cache/clangd/index/QMenu.ACD634BB60F356D4.idx new file mode 100644 index 0000000..af0cdf7 Binary files /dev/null and b/ass2/simulator/build/Desktop_Qt_6_10_1-Debug/.qtc_clangd/.cache/clangd/index/QMenu.ACD634BB60F356D4.idx differ diff --git a/ass2/simulator/build/Desktop_Qt_6_10_1-Debug/.qtc_clangd/.cache/clangd/index/QSpacerItem.81038EBCD55E827E.idx b/ass2/simulator/build/Desktop_Qt_6_10_1-Debug/.qtc_clangd/.cache/clangd/index/QSpacerItem.81038EBCD55E827E.idx new file mode 100644 index 0000000..322ea0a Binary files /dev/null and b/ass2/simulator/build/Desktop_Qt_6_10_1-Debug/.qtc_clangd/.cache/clangd/index/QSpacerItem.81038EBCD55E827E.idx differ diff --git a/ass2/simulator/build/Desktop_Qt_6_10_1-Debug/.qtc_clangd/.cache/clangd/index/QTableWidget.9EE6195E62CDF3FD.idx b/ass2/simulator/build/Desktop_Qt_6_10_1-Debug/.qtc_clangd/.cache/clangd/index/QTableWidget.9EE6195E62CDF3FD.idx new file mode 100644 index 0000000..ee28006 Binary files /dev/null and b/ass2/simulator/build/Desktop_Qt_6_10_1-Debug/.qtc_clangd/.cache/clangd/index/QTableWidget.9EE6195E62CDF3FD.idx differ diff --git a/ass2/simulator/build/Desktop_Qt_6_10_1-Debug/.qtc_clangd/.cache/clangd/index/QVBoxLayout.758D402662B7F688.idx b/ass2/simulator/build/Desktop_Qt_6_10_1-Debug/.qtc_clangd/.cache/clangd/index/QVBoxLayout.758D402662B7F688.idx new file mode 100644 index 0000000..8d53d53 Binary files /dev/null and b/ass2/simulator/build/Desktop_Qt_6_10_1-Debug/.qtc_clangd/.cache/clangd/index/QVBoxLayout.758D402662B7F688.idx differ diff --git a/ass2/simulator/build/Desktop_Qt_6_10_1-Debug/.qtc_clangd/.cache/clangd/index/basic_file.h.873F2991A00A844D.idx b/ass2/simulator/build/Desktop_Qt_6_10_1-Debug/.qtc_clangd/.cache/clangd/index/basic_file.h.873F2991A00A844D.idx new file mode 100644 index 0000000..8b32f69 Binary files /dev/null and b/ass2/simulator/build/Desktop_Qt_6_10_1-Debug/.qtc_clangd/.cache/clangd/index/basic_file.h.873F2991A00A844D.idx differ diff --git a/ass2/simulator/build/Desktop_Qt_6_10_1-Debug/.qtc_clangd/.cache/clangd/index/basic_ios.h.F2BD146D5C745B73.idx b/ass2/simulator/build/Desktop_Qt_6_10_1-Debug/.qtc_clangd/.cache/clangd/index/basic_ios.h.F2BD146D5C745B73.idx new file mode 100644 index 0000000..d8e4b8a Binary files /dev/null and b/ass2/simulator/build/Desktop_Qt_6_10_1-Debug/.qtc_clangd/.cache/clangd/index/basic_ios.h.F2BD146D5C745B73.idx differ diff --git a/ass2/simulator/build/Desktop_Qt_6_10_1-Debug/.qtc_clangd/.cache/clangd/index/basic_ios.tcc.CFB8EFD92BF1D6D4.idx b/ass2/simulator/build/Desktop_Qt_6_10_1-Debug/.qtc_clangd/.cache/clangd/index/basic_ios.tcc.CFB8EFD92BF1D6D4.idx new file mode 100644 index 0000000..33137f3 Binary files /dev/null and b/ass2/simulator/build/Desktop_Qt_6_10_1-Debug/.qtc_clangd/.cache/clangd/index/basic_ios.tcc.CFB8EFD92BF1D6D4.idx differ diff --git a/ass2/simulator/build/Desktop_Qt_6_10_1-Debug/.qtc_clangd/.cache/clangd/index/c++io.h.7F539CBA287940AC.idx b/ass2/simulator/build/Desktop_Qt_6_10_1-Debug/.qtc_clangd/.cache/clangd/index/c++io.h.7F539CBA287940AC.idx new file mode 100644 index 0000000..ee45635 Binary files /dev/null and b/ass2/simulator/build/Desktop_Qt_6_10_1-Debug/.qtc_clangd/.cache/clangd/index/c++io.h.7F539CBA287940AC.idx differ diff --git a/ass2/simulator/build/Desktop_Qt_6_10_1-Debug/.qtc_clangd/.cache/clangd/index/codecvt.h.0F254293E63917EC.idx b/ass2/simulator/build/Desktop_Qt_6_10_1-Debug/.qtc_clangd/.cache/clangd/index/codecvt.h.0F254293E63917EC.idx new file mode 100644 index 0000000..441edf5 Binary files /dev/null and b/ass2/simulator/build/Desktop_Qt_6_10_1-Debug/.qtc_clangd/.cache/clangd/index/codecvt.h.0F254293E63917EC.idx differ diff --git a/ass2/simulator/build/Desktop_Qt_6_10_1-Debug/.qtc_clangd/.cache/clangd/index/ctype_base.h.B3F2A28B383335C9.idx b/ass2/simulator/build/Desktop_Qt_6_10_1-Debug/.qtc_clangd/.cache/clangd/index/ctype_base.h.B3F2A28B383335C9.idx new file mode 100644 index 0000000..5ce5670 Binary files /dev/null and b/ass2/simulator/build/Desktop_Qt_6_10_1-Debug/.qtc_clangd/.cache/clangd/index/ctype_base.h.B3F2A28B383335C9.idx differ diff --git a/ass2/simulator/build/Desktop_Qt_6_10_1-Debug/.qtc_clangd/.cache/clangd/index/ctype_inline.h.36A0211184962809.idx b/ass2/simulator/build/Desktop_Qt_6_10_1-Debug/.qtc_clangd/.cache/clangd/index/ctype_inline.h.36A0211184962809.idx new file mode 100644 index 0000000..3a4dca7 Binary files /dev/null and b/ass2/simulator/build/Desktop_Qt_6_10_1-Debug/.qtc_clangd/.cache/clangd/index/ctype_inline.h.36A0211184962809.idx differ diff --git a/ass2/simulator/build/Desktop_Qt_6_10_1-Debug/.qtc_clangd/.cache/clangd/index/cwctype.A99F90D1CB9F32C2.idx b/ass2/simulator/build/Desktop_Qt_6_10_1-Debug/.qtc_clangd/.cache/clangd/index/cwctype.A99F90D1CB9F32C2.idx new file mode 100644 index 0000000..da0e006 Binary files /dev/null and b/ass2/simulator/build/Desktop_Qt_6_10_1-Debug/.qtc_clangd/.cache/clangd/index/cwctype.A99F90D1CB9F32C2.idx differ diff --git a/ass2/simulator/build/Desktop_Qt_6_10_1-Debug/.qtc_clangd/.cache/clangd/index/device.cpp.1916C73C2E77CEC2.idx b/ass2/simulator/build/Desktop_Qt_6_10_1-Debug/.qtc_clangd/.cache/clangd/index/device.cpp.1916C73C2E77CEC2.idx index a15b347..63dfc95 100644 Binary files a/ass2/simulator/build/Desktop_Qt_6_10_1-Debug/.qtc_clangd/.cache/clangd/index/device.cpp.1916C73C2E77CEC2.idx and b/ass2/simulator/build/Desktop_Qt_6_10_1-Debug/.qtc_clangd/.cache/clangd/index/device.cpp.1916C73C2E77CEC2.idx differ diff --git a/ass2/simulator/build/Desktop_Qt_6_10_1-Debug/.qtc_clangd/.cache/clangd/index/device.h.370B6C181B9A9AD7.idx b/ass2/simulator/build/Desktop_Qt_6_10_1-Debug/.qtc_clangd/.cache/clangd/index/device.h.370B6C181B9A9AD7.idx index 152743f..c9f78d5 100644 Binary files a/ass2/simulator/build/Desktop_Qt_6_10_1-Debug/.qtc_clangd/.cache/clangd/index/device.h.370B6C181B9A9AD7.idx and b/ass2/simulator/build/Desktop_Qt_6_10_1-Debug/.qtc_clangd/.cache/clangd/index/device.h.370B6C181B9A9AD7.idx differ diff --git a/ass2/simulator/build/Desktop_Qt_6_10_1-Debug/.qtc_clangd/.cache/clangd/index/fstream.5B035063ED695F3A.idx b/ass2/simulator/build/Desktop_Qt_6_10_1-Debug/.qtc_clangd/.cache/clangd/index/fstream.5B035063ED695F3A.idx new file mode 100644 index 0000000..81a482f Binary files /dev/null and b/ass2/simulator/build/Desktop_Qt_6_10_1-Debug/.qtc_clangd/.cache/clangd/index/fstream.5B035063ED695F3A.idx differ diff --git a/ass2/simulator/build/Desktop_Qt_6_10_1-Debug/.qtc_clangd/.cache/clangd/index/fstream.tcc.FAA277577FB6C58B.idx b/ass2/simulator/build/Desktop_Qt_6_10_1-Debug/.qtc_clangd/.cache/clangd/index/fstream.tcc.FAA277577FB6C58B.idx new file mode 100644 index 0000000..eae24a1 Binary files /dev/null and b/ass2/simulator/build/Desktop_Qt_6_10_1-Debug/.qtc_clangd/.cache/clangd/index/fstream.tcc.FAA277577FB6C58B.idx differ diff --git a/ass2/simulator/build/Desktop_Qt_6_10_1-Debug/.qtc_clangd/.cache/clangd/index/ios.899A4E79D282CBCE.idx b/ass2/simulator/build/Desktop_Qt_6_10_1-Debug/.qtc_clangd/.cache/clangd/index/ios.899A4E79D282CBCE.idx new file mode 100644 index 0000000..311ecb0 Binary files /dev/null and b/ass2/simulator/build/Desktop_Qt_6_10_1-Debug/.qtc_clangd/.cache/clangd/index/ios.899A4E79D282CBCE.idx differ diff --git a/ass2/simulator/build/Desktop_Qt_6_10_1-Debug/.qtc_clangd/.cache/clangd/index/iostream.6729FA17A45B55EC.idx b/ass2/simulator/build/Desktop_Qt_6_10_1-Debug/.qtc_clangd/.cache/clangd/index/iostream.6729FA17A45B55EC.idx new file mode 100644 index 0000000..077836f Binary files /dev/null and b/ass2/simulator/build/Desktop_Qt_6_10_1-Debug/.qtc_clangd/.cache/clangd/index/iostream.6729FA17A45B55EC.idx differ diff --git a/ass2/simulator/build/Desktop_Qt_6_10_1-Debug/.qtc_clangd/.cache/clangd/index/istream.A9989E55F34FA3B3.idx b/ass2/simulator/build/Desktop_Qt_6_10_1-Debug/.qtc_clangd/.cache/clangd/index/istream.A9989E55F34FA3B3.idx new file mode 100644 index 0000000..cf48a5c Binary files /dev/null and b/ass2/simulator/build/Desktop_Qt_6_10_1-Debug/.qtc_clangd/.cache/clangd/index/istream.A9989E55F34FA3B3.idx differ diff --git a/ass2/simulator/build/Desktop_Qt_6_10_1-Debug/.qtc_clangd/.cache/clangd/index/istream.tcc.B5D73156E1ABB952.idx b/ass2/simulator/build/Desktop_Qt_6_10_1-Debug/.qtc_clangd/.cache/clangd/index/istream.tcc.B5D73156E1ABB952.idx new file mode 100644 index 0000000..5558e7d Binary files /dev/null and b/ass2/simulator/build/Desktop_Qt_6_10_1-Debug/.qtc_clangd/.cache/clangd/index/istream.tcc.B5D73156E1ABB952.idx differ diff --git a/ass2/simulator/build/Desktop_Qt_6_10_1-Debug/.qtc_clangd/.cache/clangd/index/locale_facets.h.030480B95AF33601.idx b/ass2/simulator/build/Desktop_Qt_6_10_1-Debug/.qtc_clangd/.cache/clangd/index/locale_facets.h.030480B95AF33601.idx new file mode 100644 index 0000000..39cbf18 Binary files /dev/null and b/ass2/simulator/build/Desktop_Qt_6_10_1-Debug/.qtc_clangd/.cache/clangd/index/locale_facets.h.030480B95AF33601.idx differ diff --git a/ass2/simulator/build/Desktop_Qt_6_10_1-Debug/.qtc_clangd/.cache/clangd/index/locale_facets.tcc.0B207CB84C8E2DC4.idx b/ass2/simulator/build/Desktop_Qt_6_10_1-Debug/.qtc_clangd/.cache/clangd/index/locale_facets.tcc.0B207CB84C8E2DC4.idx new file mode 100644 index 0000000..6bdc6e4 Binary files /dev/null and b/ass2/simulator/build/Desktop_Qt_6_10_1-Debug/.qtc_clangd/.cache/clangd/index/locale_facets.tcc.0B207CB84C8E2DC4.idx differ diff --git a/ass2/simulator/build/Desktop_Qt_6_10_1-Debug/.qtc_clangd/.cache/clangd/index/machine.cpp.FD5DF53B10242751.idx b/ass2/simulator/build/Desktop_Qt_6_10_1-Debug/.qtc_clangd/.cache/clangd/index/machine.cpp.FD5DF53B10242751.idx index 64f0500..2053dbc 100644 Binary files a/ass2/simulator/build/Desktop_Qt_6_10_1-Debug/.qtc_clangd/.cache/clangd/index/machine.cpp.FD5DF53B10242751.idx and b/ass2/simulator/build/Desktop_Qt_6_10_1-Debug/.qtc_clangd/.cache/clangd/index/machine.cpp.FD5DF53B10242751.idx differ diff --git a/ass2/simulator/build/Desktop_Qt_6_10_1-Debug/.qtc_clangd/.cache/clangd/index/machine.h.D09D611E77E172BE.idx b/ass2/simulator/build/Desktop_Qt_6_10_1-Debug/.qtc_clangd/.cache/clangd/index/machine.h.D09D611E77E172BE.idx index dc14024..86a7f4c 100644 Binary files a/ass2/simulator/build/Desktop_Qt_6_10_1-Debug/.qtc_clangd/.cache/clangd/index/machine.h.D09D611E77E172BE.idx and b/ass2/simulator/build/Desktop_Qt_6_10_1-Debug/.qtc_clangd/.cache/clangd/index/machine.h.D09D611E77E172BE.idx differ diff --git a/ass2/simulator/build/Desktop_Qt_6_10_1-Debug/.qtc_clangd/.cache/clangd/index/opcode.cpp.015FD9F3D1CBD5AF.idx b/ass2/simulator/build/Desktop_Qt_6_10_1-Debug/.qtc_clangd/.cache/clangd/index/opcode.cpp.015FD9F3D1CBD5AF.idx new file mode 100644 index 0000000..3d0b9df Binary files /dev/null and b/ass2/simulator/build/Desktop_Qt_6_10_1-Debug/.qtc_clangd/.cache/clangd/index/opcode.cpp.015FD9F3D1CBD5AF.idx differ diff --git a/ass2/simulator/build/Desktop_Qt_6_10_1-Debug/.qtc_clangd/.cache/clangd/index/opcode.h.2460D9A23E2279B0.idx b/ass2/simulator/build/Desktop_Qt_6_10_1-Debug/.qtc_clangd/.cache/clangd/index/opcode.h.2460D9A23E2279B0.idx new file mode 100644 index 0000000..de57000 Binary files /dev/null and b/ass2/simulator/build/Desktop_Qt_6_10_1-Debug/.qtc_clangd/.cache/clangd/index/opcode.h.2460D9A23E2279B0.idx differ diff --git a/ass2/simulator/build/Desktop_Qt_6_10_1-Debug/.qtc_clangd/.cache/clangd/index/ostream.58D697360ADB0420.idx b/ass2/simulator/build/Desktop_Qt_6_10_1-Debug/.qtc_clangd/.cache/clangd/index/ostream.58D697360ADB0420.idx new file mode 100644 index 0000000..a31d45a Binary files /dev/null and b/ass2/simulator/build/Desktop_Qt_6_10_1-Debug/.qtc_clangd/.cache/clangd/index/ostream.58D697360ADB0420.idx differ diff --git a/ass2/simulator/build/Desktop_Qt_6_10_1-Debug/.qtc_clangd/.cache/clangd/index/ostream.tcc.6E2BCCE13850BFB6.idx b/ass2/simulator/build/Desktop_Qt_6_10_1-Debug/.qtc_clangd/.cache/clangd/index/ostream.tcc.6E2BCCE13850BFB6.idx new file mode 100644 index 0000000..2eb8f5f Binary files /dev/null and b/ass2/simulator/build/Desktop_Qt_6_10_1-Debug/.qtc_clangd/.cache/clangd/index/ostream.tcc.6E2BCCE13850BFB6.idx differ diff --git a/ass2/simulator/build/Desktop_Qt_6_10_1-Debug/.qtc_clangd/.cache/clangd/index/qabstractitemdelegate.h.4FC1690CE335D78B.idx b/ass2/simulator/build/Desktop_Qt_6_10_1-Debug/.qtc_clangd/.cache/clangd/index/qabstractitemdelegate.h.4FC1690CE335D78B.idx new file mode 100644 index 0000000..01894ea Binary files /dev/null and b/ass2/simulator/build/Desktop_Qt_6_10_1-Debug/.qtc_clangd/.cache/clangd/index/qabstractitemdelegate.h.4FC1690CE335D78B.idx differ diff --git a/ass2/simulator/build/Desktop_Qt_6_10_1-Debug/.qtc_clangd/.cache/clangd/index/qabstractitemmodel.h.3E187E0D030E9A4D.idx b/ass2/simulator/build/Desktop_Qt_6_10_1-Debug/.qtc_clangd/.cache/clangd/index/qabstractitemmodel.h.3E187E0D030E9A4D.idx new file mode 100644 index 0000000..9aa8853 Binary files /dev/null and b/ass2/simulator/build/Desktop_Qt_6_10_1-Debug/.qtc_clangd/.cache/clangd/index/qabstractitemmodel.h.3E187E0D030E9A4D.idx differ diff --git a/ass2/simulator/build/Desktop_Qt_6_10_1-Debug/.qtc_clangd/.cache/clangd/index/qabstractitemview.h.4030FCFC13A5FAC4.idx b/ass2/simulator/build/Desktop_Qt_6_10_1-Debug/.qtc_clangd/.cache/clangd/index/qabstractitemview.h.4030FCFC13A5FAC4.idx new file mode 100644 index 0000000..0e9ec17 Binary files /dev/null and b/ass2/simulator/build/Desktop_Qt_6_10_1-Debug/.qtc_clangd/.cache/clangd/index/qabstractitemview.h.4030FCFC13A5FAC4.idx differ diff --git a/ass2/simulator/build/Desktop_Qt_6_10_1-Debug/.qtc_clangd/.cache/clangd/index/qabstractscrollarea.h.E3D6D694F1E5BFB5.idx b/ass2/simulator/build/Desktop_Qt_6_10_1-Debug/.qtc_clangd/.cache/clangd/index/qabstractscrollarea.h.E3D6D694F1E5BFB5.idx new file mode 100644 index 0000000..0d3283f Binary files /dev/null and b/ass2/simulator/build/Desktop_Qt_6_10_1-Debug/.qtc_clangd/.cache/clangd/index/qabstractscrollarea.h.E3D6D694F1E5BFB5.idx differ diff --git a/ass2/simulator/build/Desktop_Qt_6_10_1-Debug/.qtc_clangd/.cache/clangd/index/qabstractslider.h.B752A8176B0EFA04.idx b/ass2/simulator/build/Desktop_Qt_6_10_1-Debug/.qtc_clangd/.cache/clangd/index/qabstractslider.h.B752A8176B0EFA04.idx new file mode 100644 index 0000000..104d5d4 Binary files /dev/null and b/ass2/simulator/build/Desktop_Qt_6_10_1-Debug/.qtc_clangd/.cache/clangd/index/qabstractslider.h.B752A8176B0EFA04.idx differ diff --git a/ass2/simulator/build/Desktop_Qt_6_10_1-Debug/.qtc_clangd/.cache/clangd/index/qabstractspinbox.h.FAA6F240539E6994.idx b/ass2/simulator/build/Desktop_Qt_6_10_1-Debug/.qtc_clangd/.cache/clangd/index/qabstractspinbox.h.FAA6F240539E6994.idx new file mode 100644 index 0000000..f9dbdc0 Binary files /dev/null and b/ass2/simulator/build/Desktop_Qt_6_10_1-Debug/.qtc_clangd/.cache/clangd/index/qabstractspinbox.h.FAA6F240539E6994.idx differ diff --git a/ass2/simulator/build/Desktop_Qt_6_10_1-Debug/.qtc_clangd/.cache/clangd/index/qgroupbox.h.DB519775CB20523C.idx b/ass2/simulator/build/Desktop_Qt_6_10_1-Debug/.qtc_clangd/.cache/clangd/index/qgroupbox.h.DB519775CB20523C.idx new file mode 100644 index 0000000..58518d5 Binary files /dev/null and b/ass2/simulator/build/Desktop_Qt_6_10_1-Debug/.qtc_clangd/.cache/clangd/index/qgroupbox.h.DB519775CB20523C.idx differ diff --git a/ass2/simulator/build/Desktop_Qt_6_10_1-Debug/.qtc_clangd/.cache/clangd/index/qheaderview.h.02C1B378335D7306.idx b/ass2/simulator/build/Desktop_Qt_6_10_1-Debug/.qtc_clangd/.cache/clangd/index/qheaderview.h.02C1B378335D7306.idx new file mode 100644 index 0000000..a39a2f7 Binary files /dev/null and b/ass2/simulator/build/Desktop_Qt_6_10_1-Debug/.qtc_clangd/.cache/clangd/index/qheaderview.h.02C1B378335D7306.idx differ diff --git a/ass2/simulator/build/Desktop_Qt_6_10_1-Debug/.qtc_clangd/.cache/clangd/index/qitemselectionmodel.h.CE9103BD9624A331.idx b/ass2/simulator/build/Desktop_Qt_6_10_1-Debug/.qtc_clangd/.cache/clangd/index/qitemselectionmodel.h.CE9103BD9624A331.idx new file mode 100644 index 0000000..9378484 Binary files /dev/null and b/ass2/simulator/build/Desktop_Qt_6_10_1-Debug/.qtc_clangd/.cache/clangd/index/qitemselectionmodel.h.CE9103BD9624A331.idx differ diff --git a/ass2/simulator/build/Desktop_Qt_6_10_1-Debug/.qtc_clangd/.cache/clangd/index/qregularexpression.h.B45D89E71223A899.idx b/ass2/simulator/build/Desktop_Qt_6_10_1-Debug/.qtc_clangd/.cache/clangd/index/qregularexpression.h.B45D89E71223A899.idx new file mode 100644 index 0000000..b742c4c Binary files /dev/null and b/ass2/simulator/build/Desktop_Qt_6_10_1-Debug/.qtc_clangd/.cache/clangd/index/qregularexpression.h.B45D89E71223A899.idx differ diff --git a/ass2/simulator/build/Desktop_Qt_6_10_1-Debug/.qtc_clangd/.cache/clangd/index/qrubberband.h.6B0A991CADC32245.idx b/ass2/simulator/build/Desktop_Qt_6_10_1-Debug/.qtc_clangd/.cache/clangd/index/qrubberband.h.6B0A991CADC32245.idx new file mode 100644 index 0000000..5874039 Binary files /dev/null and b/ass2/simulator/build/Desktop_Qt_6_10_1-Debug/.qtc_clangd/.cache/clangd/index/qrubberband.h.6B0A991CADC32245.idx differ diff --git a/ass2/simulator/build/Desktop_Qt_6_10_1-Debug/.qtc_clangd/.cache/clangd/index/qslider.h.EE7CA85B43E77FED.idx b/ass2/simulator/build/Desktop_Qt_6_10_1-Debug/.qtc_clangd/.cache/clangd/index/qslider.h.EE7CA85B43E77FED.idx new file mode 100644 index 0000000..f3a1f43 Binary files /dev/null and b/ass2/simulator/build/Desktop_Qt_6_10_1-Debug/.qtc_clangd/.cache/clangd/index/qslider.h.EE7CA85B43E77FED.idx differ diff --git a/ass2/simulator/build/Desktop_Qt_6_10_1-Debug/.qtc_clangd/.cache/clangd/index/qstyle.h.5A5BC2598AFC661D.idx b/ass2/simulator/build/Desktop_Qt_6_10_1-Debug/.qtc_clangd/.cache/clangd/index/qstyle.h.5A5BC2598AFC661D.idx new file mode 100644 index 0000000..aad436e Binary files /dev/null and b/ass2/simulator/build/Desktop_Qt_6_10_1-Debug/.qtc_clangd/.cache/clangd/index/qstyle.h.5A5BC2598AFC661D.idx differ diff --git a/ass2/simulator/build/Desktop_Qt_6_10_1-Debug/.qtc_clangd/.cache/clangd/index/qstyleoption.h.CEDBD1ADA5E14824.idx b/ass2/simulator/build/Desktop_Qt_6_10_1-Debug/.qtc_clangd/.cache/clangd/index/qstyleoption.h.CEDBD1ADA5E14824.idx new file mode 100644 index 0000000..dd0f181 Binary files /dev/null and b/ass2/simulator/build/Desktop_Qt_6_10_1-Debug/.qtc_clangd/.cache/clangd/index/qstyleoption.h.CEDBD1ADA5E14824.idx differ diff --git a/ass2/simulator/build/Desktop_Qt_6_10_1-Debug/.qtc_clangd/.cache/clangd/index/qtabbar.h.AB9C5E8A10CDC4A2.idx b/ass2/simulator/build/Desktop_Qt_6_10_1-Debug/.qtc_clangd/.cache/clangd/index/qtabbar.h.AB9C5E8A10CDC4A2.idx new file mode 100644 index 0000000..54271d2 Binary files /dev/null and b/ass2/simulator/build/Desktop_Qt_6_10_1-Debug/.qtc_clangd/.cache/clangd/index/qtabbar.h.AB9C5E8A10CDC4A2.idx differ diff --git a/ass2/simulator/build/Desktop_Qt_6_10_1-Debug/.qtc_clangd/.cache/clangd/index/qtableview.h.4702A1BBD58026B9.idx b/ass2/simulator/build/Desktop_Qt_6_10_1-Debug/.qtc_clangd/.cache/clangd/index/qtableview.h.4702A1BBD58026B9.idx new file mode 100644 index 0000000..3ad7e0c Binary files /dev/null and b/ass2/simulator/build/Desktop_Qt_6_10_1-Debug/.qtc_clangd/.cache/clangd/index/qtableview.h.4702A1BBD58026B9.idx differ diff --git a/ass2/simulator/build/Desktop_Qt_6_10_1-Debug/.qtc_clangd/.cache/clangd/index/qtablewidget.h.FB39B6B310AB1E14.idx b/ass2/simulator/build/Desktop_Qt_6_10_1-Debug/.qtc_clangd/.cache/clangd/index/qtablewidget.h.FB39B6B310AB1E14.idx new file mode 100644 index 0000000..ed6059d Binary files /dev/null and b/ass2/simulator/build/Desktop_Qt_6_10_1-Debug/.qtc_clangd/.cache/clangd/index/qtablewidget.h.FB39B6B310AB1E14.idx differ diff --git a/ass2/simulator/build/Desktop_Qt_6_10_1-Debug/.qtc_clangd/.cache/clangd/index/qvalidator.h.EBDA3973AF64DF52.idx b/ass2/simulator/build/Desktop_Qt_6_10_1-Debug/.qtc_clangd/.cache/clangd/index/qvalidator.h.EBDA3973AF64DF52.idx new file mode 100644 index 0000000..2d2d4e2 Binary files /dev/null and b/ass2/simulator/build/Desktop_Qt_6_10_1-Debug/.qtc_clangd/.cache/clangd/index/qvalidator.h.EBDA3973AF64DF52.idx differ diff --git a/ass2/simulator/build/Desktop_Qt_6_10_1-Debug/.qtc_clangd/.cache/clangd/index/ui_mainwindow.h.F0588D34DB904819.idx b/ass2/simulator/build/Desktop_Qt_6_10_1-Debug/.qtc_clangd/.cache/clangd/index/ui_mainwindow.h.F0588D34DB904819.idx index 26521c9..ed088db 100644 Binary files a/ass2/simulator/build/Desktop_Qt_6_10_1-Debug/.qtc_clangd/.cache/clangd/index/ui_mainwindow.h.F0588D34DB904819.idx and b/ass2/simulator/build/Desktop_Qt_6_10_1-Debug/.qtc_clangd/.cache/clangd/index/ui_mainwindow.h.F0588D34DB904819.idx differ diff --git a/ass2/simulator/build/Desktop_Qt_6_10_1-Debug/.qtc_clangd/.cache/clangd/index/wctype-wchar.h.D8CFC0DAB89A1342.idx b/ass2/simulator/build/Desktop_Qt_6_10_1-Debug/.qtc_clangd/.cache/clangd/index/wctype-wchar.h.D8CFC0DAB89A1342.idx new file mode 100644 index 0000000..ea857f5 Binary files /dev/null and b/ass2/simulator/build/Desktop_Qt_6_10_1-Debug/.qtc_clangd/.cache/clangd/index/wctype-wchar.h.D8CFC0DAB89A1342.idx differ diff --git a/ass2/simulator/build/Desktop_Qt_6_10_1-Debug/.qtc_clangd/.cache/clangd/index/wctype.h.CC12045E6059335C.idx b/ass2/simulator/build/Desktop_Qt_6_10_1-Debug/.qtc_clangd/.cache/clangd/index/wctype.h.CC12045E6059335C.idx new file mode 100644 index 0000000..a1a5735 Binary files /dev/null and b/ass2/simulator/build/Desktop_Qt_6_10_1-Debug/.qtc_clangd/.cache/clangd/index/wctype.h.CC12045E6059335C.idx differ diff --git a/ass2/simulator/build/Desktop_Qt_6_10_1-Debug/.qtc_clangd/compile_commands.json b/ass2/simulator/build/Desktop_Qt_6_10_1-Debug/.qtc_clangd/compile_commands.json index 4a807f9..5d1f79e 100644 --- a/ass2/simulator/build/Desktop_Qt_6_10_1-Debug/.qtc_clangd/compile_commands.json +++ b/ass2/simulator/build/Desktop_Qt_6_10_1-Debug/.qtc_clangd/compile_commands.json @@ -1 +1 @@ -[{"arguments":["clang","-Wno-documentation-unknown-command","-Wno-unknown-warning-option","-Wno-unknown-pragmas","-nostdinc","-nostdinc++","-DQT_QML_DEBUG","-g","-fdiagnostics-color=always","-fPIC","-fsyntax-only","-m64","--target=x86_64-linux-gnu","-std=gnu++17","-DQT_CORE_LIB","-DQT_GUI_LIB","-DQT_WIDGETS_LIB","-DQ_CREATOR_RUN","-DQT_ANNOTATE_FUNCTION(x)=__attribute__((annotate(#x)))","-I/home/aljaz/Qt/Tools/QtCreator/share/qtcreator/cplusplus/wrappedQtHeaders","-I/home/aljaz/Qt/Tools/QtCreator/share/qtcreator/cplusplus/wrappedQtHeaders/QtCore","-I/home/aljaz/Desktop/spo/ass2/simulator/build/Desktop_Qt_6_10_1-Debug/simulator_autogen/include","-isystem","/home/aljaz/Qt/6.10.1/gcc_64/include/QtCore","-isystem","/home/aljaz/Qt/6.10.1/gcc_64/include","-isystem","/home/aljaz/Qt/6.10.1/gcc_64/mkspecs/linux-g++","-isystem","/home/aljaz/Qt/6.10.1/gcc_64/include/QtWidgets","-isystem","/home/aljaz/Qt/6.10.1/gcc_64/include/QtGui","-isystem","/usr/include/c++/13","-isystem","/usr/include/x86_64-linux-gnu/c++/13","-isystem","/usr/include/c++/13/backward","-isystem","/usr/local/include","-isystem","/home/aljaz/Qt/Tools/QtCreator/libexec/qtcreator/clang/lib/clang/21/include","-isystem","/usr/include/x86_64-linux-gnu","-isystem","/usr/include","-fmessage-length=0","-fdiagnostics-show-note-include-stack","-fretain-comments-from-system-headers","-fmacro-backtrace-limit=0","-ferror-limit=1000","-x","c++","/home/aljaz/Desktop/spo/ass2/simulator/main.cpp"],"directory":"/home/aljaz/Desktop/spo/ass2/simulator/build/Desktop_Qt_6_10_1-Debug/.qtc_clangd","file":"/home/aljaz/Desktop/spo/ass2/simulator/main.cpp"},{"arguments":["clang","-Wno-documentation-unknown-command","-Wno-unknown-warning-option","-Wno-unknown-pragmas","-nostdinc","-nostdinc++","-DQT_QML_DEBUG","-g","-fdiagnostics-color=always","-fPIC","-fsyntax-only","-m64","--target=x86_64-linux-gnu","-std=gnu++17","-DQT_CORE_LIB","-DQT_GUI_LIB","-DQT_WIDGETS_LIB","-DQ_CREATOR_RUN","-DQT_ANNOTATE_FUNCTION(x)=__attribute__((annotate(#x)))","-I/home/aljaz/Qt/Tools/QtCreator/share/qtcreator/cplusplus/wrappedQtHeaders","-I/home/aljaz/Qt/Tools/QtCreator/share/qtcreator/cplusplus/wrappedQtHeaders/QtCore","-I/home/aljaz/Desktop/spo/ass2/simulator/build/Desktop_Qt_6_10_1-Debug/simulator_autogen/include","-isystem","/home/aljaz/Qt/6.10.1/gcc_64/include/QtCore","-isystem","/home/aljaz/Qt/6.10.1/gcc_64/include","-isystem","/home/aljaz/Qt/6.10.1/gcc_64/mkspecs/linux-g++","-isystem","/home/aljaz/Qt/6.10.1/gcc_64/include/QtWidgets","-isystem","/home/aljaz/Qt/6.10.1/gcc_64/include/QtGui","-isystem","/usr/include/c++/13","-isystem","/usr/include/x86_64-linux-gnu/c++/13","-isystem","/usr/include/c++/13/backward","-isystem","/usr/local/include","-isystem","/home/aljaz/Qt/Tools/QtCreator/libexec/qtcreator/clang/lib/clang/21/include","-isystem","/usr/include/x86_64-linux-gnu","-isystem","/usr/include","-fmessage-length=0","-fdiagnostics-show-note-include-stack","-fretain-comments-from-system-headers","-fmacro-backtrace-limit=0","-ferror-limit=1000","-x","c++","/home/aljaz/Desktop/spo/ass2/simulator/mainwindow.cpp"],"directory":"/home/aljaz/Desktop/spo/ass2/simulator/build/Desktop_Qt_6_10_1-Debug/.qtc_clangd","file":"/home/aljaz/Desktop/spo/ass2/simulator/mainwindow.cpp"},{"arguments":["clang","-Wno-documentation-unknown-command","-Wno-unknown-warning-option","-Wno-unknown-pragmas","-nostdinc","-nostdinc++","-DQT_QML_DEBUG","-g","-fdiagnostics-color=always","-fPIC","-fsyntax-only","-m64","--target=x86_64-linux-gnu","-std=gnu++17","-DQT_CORE_LIB","-DQT_GUI_LIB","-DQT_WIDGETS_LIB","-DQ_CREATOR_RUN","-DQT_ANNOTATE_FUNCTION(x)=__attribute__((annotate(#x)))","-I/home/aljaz/Qt/Tools/QtCreator/share/qtcreator/cplusplus/wrappedQtHeaders","-I/home/aljaz/Qt/Tools/QtCreator/share/qtcreator/cplusplus/wrappedQtHeaders/QtCore","-I/home/aljaz/Desktop/spo/ass2/simulator/build/Desktop_Qt_6_10_1-Debug/simulator_autogen/include","-isystem","/home/aljaz/Qt/6.10.1/gcc_64/include/QtCore","-isystem","/home/aljaz/Qt/6.10.1/gcc_64/include","-isystem","/home/aljaz/Qt/6.10.1/gcc_64/mkspecs/linux-g++","-isystem","/home/aljaz/Qt/6.10.1/gcc_64/include/QtWidgets","-isystem","/home/aljaz/Qt/6.10.1/gcc_64/include/QtGui","-isystem","/usr/include/c++/13","-isystem","/usr/include/x86_64-linux-gnu/c++/13","-isystem","/usr/include/c++/13/backward","-isystem","/usr/local/include","-isystem","/home/aljaz/Qt/Tools/QtCreator/libexec/qtcreator/clang/lib/clang/21/include","-isystem","/usr/include/x86_64-linux-gnu","-isystem","/usr/include","-fmessage-length=0","-fdiagnostics-show-note-include-stack","-fretain-comments-from-system-headers","-fmacro-backtrace-limit=0","-ferror-limit=1000","-x","c++","/home/aljaz/Desktop/spo/ass2/simulator/machine.cpp"],"directory":"/home/aljaz/Desktop/spo/ass2/simulator/build/Desktop_Qt_6_10_1-Debug/.qtc_clangd","file":"/home/aljaz/Desktop/spo/ass2/simulator/machine.cpp"},{"arguments":["clang","-Wno-documentation-unknown-command","-Wno-unknown-warning-option","-Wno-unknown-pragmas","-nostdinc","-nostdinc++","-DQT_QML_DEBUG","-g","-fdiagnostics-color=always","-fPIC","-fsyntax-only","-m64","--target=x86_64-linux-gnu","-std=gnu++17","-DQT_CORE_LIB","-DQT_GUI_LIB","-DQT_WIDGETS_LIB","-DQ_CREATOR_RUN","-DQT_ANNOTATE_FUNCTION(x)=__attribute__((annotate(#x)))","-I/home/aljaz/Qt/Tools/QtCreator/share/qtcreator/cplusplus/wrappedQtHeaders","-I/home/aljaz/Qt/Tools/QtCreator/share/qtcreator/cplusplus/wrappedQtHeaders/QtCore","-I/home/aljaz/Desktop/spo/ass2/simulator/build/Desktop_Qt_6_10_1-Debug/simulator_autogen/include","-isystem","/home/aljaz/Qt/6.10.1/gcc_64/include/QtCore","-isystem","/home/aljaz/Qt/6.10.1/gcc_64/include","-isystem","/home/aljaz/Qt/6.10.1/gcc_64/mkspecs/linux-g++","-isystem","/home/aljaz/Qt/6.10.1/gcc_64/include/QtWidgets","-isystem","/home/aljaz/Qt/6.10.1/gcc_64/include/QtGui","-isystem","/usr/include/c++/13","-isystem","/usr/include/x86_64-linux-gnu/c++/13","-isystem","/usr/include/c++/13/backward","-isystem","/usr/local/include","-isystem","/home/aljaz/Qt/Tools/QtCreator/libexec/qtcreator/clang/lib/clang/21/include","-isystem","/usr/include/x86_64-linux-gnu","-isystem","/usr/include","-fmessage-length=0","-fdiagnostics-show-note-include-stack","-fretain-comments-from-system-headers","-fmacro-backtrace-limit=0","-ferror-limit=1000","-x","c++","/home/aljaz/Desktop/spo/ass2/simulator/device.cpp"],"directory":"/home/aljaz/Desktop/spo/ass2/simulator/build/Desktop_Qt_6_10_1-Debug/.qtc_clangd","file":"/home/aljaz/Desktop/spo/ass2/simulator/device.cpp"},{"arguments":["clang","-Wno-documentation-unknown-command","-Wno-unknown-warning-option","-Wno-unknown-pragmas","-nostdinc","-nostdinc++","-DQT_QML_DEBUG","-g","-fdiagnostics-color=always","-fPIC","-fsyntax-only","-m64","--target=x86_64-linux-gnu","-std=gnu++17","-DQT_CORE_LIB","-DQT_GUI_LIB","-DQT_WIDGETS_LIB","-DQ_CREATOR_RUN","-DQT_ANNOTATE_FUNCTION(x)=__attribute__((annotate(#x)))","-I/home/aljaz/Qt/Tools/QtCreator/share/qtcreator/cplusplus/wrappedQtHeaders","-I/home/aljaz/Qt/Tools/QtCreator/share/qtcreator/cplusplus/wrappedQtHeaders/QtCore","-I/home/aljaz/Desktop/spo/ass2/simulator/build/Desktop_Qt_6_10_1-Debug/simulator_autogen/include","-isystem","/home/aljaz/Qt/6.10.1/gcc_64/include/QtCore","-isystem","/home/aljaz/Qt/6.10.1/gcc_64/include","-isystem","/home/aljaz/Qt/6.10.1/gcc_64/mkspecs/linux-g++","-isystem","/home/aljaz/Qt/6.10.1/gcc_64/include/QtWidgets","-isystem","/home/aljaz/Qt/6.10.1/gcc_64/include/QtGui","-isystem","/usr/include/c++/13","-isystem","/usr/include/x86_64-linux-gnu/c++/13","-isystem","/usr/include/c++/13/backward","-isystem","/usr/local/include","-isystem","/home/aljaz/Qt/Tools/QtCreator/libexec/qtcreator/clang/lib/clang/21/include","-isystem","/usr/include/x86_64-linux-gnu","-isystem","/usr/include","-fmessage-length=0","-fdiagnostics-show-note-include-stack","-fretain-comments-from-system-headers","-fmacro-backtrace-limit=0","-ferror-limit=1000","-x","c++-header","/home/aljaz/Desktop/spo/ass2/simulator/mainwindow.h"],"directory":"/home/aljaz/Desktop/spo/ass2/simulator/build/Desktop_Qt_6_10_1-Debug/.qtc_clangd","file":"/home/aljaz/Desktop/spo/ass2/simulator/mainwindow.h"},{"arguments":["clang","-Wno-documentation-unknown-command","-Wno-unknown-warning-option","-Wno-unknown-pragmas","-nostdinc","-nostdinc++","-DQT_QML_DEBUG","-g","-fdiagnostics-color=always","-fPIC","-fsyntax-only","-m64","--target=x86_64-linux-gnu","-std=gnu++17","-DQT_CORE_LIB","-DQT_GUI_LIB","-DQT_WIDGETS_LIB","-DQ_CREATOR_RUN","-DQT_ANNOTATE_FUNCTION(x)=__attribute__((annotate(#x)))","-I/home/aljaz/Qt/Tools/QtCreator/share/qtcreator/cplusplus/wrappedQtHeaders","-I/home/aljaz/Qt/Tools/QtCreator/share/qtcreator/cplusplus/wrappedQtHeaders/QtCore","-I/home/aljaz/Desktop/spo/ass2/simulator/build/Desktop_Qt_6_10_1-Debug/simulator_autogen/include","-isystem","/home/aljaz/Qt/6.10.1/gcc_64/include/QtCore","-isystem","/home/aljaz/Qt/6.10.1/gcc_64/include","-isystem","/home/aljaz/Qt/6.10.1/gcc_64/mkspecs/linux-g++","-isystem","/home/aljaz/Qt/6.10.1/gcc_64/include/QtWidgets","-isystem","/home/aljaz/Qt/6.10.1/gcc_64/include/QtGui","-isystem","/usr/include/c++/13","-isystem","/usr/include/x86_64-linux-gnu/c++/13","-isystem","/usr/include/c++/13/backward","-isystem","/usr/local/include","-isystem","/home/aljaz/Qt/Tools/QtCreator/libexec/qtcreator/clang/lib/clang/21/include","-isystem","/usr/include/x86_64-linux-gnu","-isystem","/usr/include","-fmessage-length=0","-fdiagnostics-show-note-include-stack","-fretain-comments-from-system-headers","-fmacro-backtrace-limit=0","-ferror-limit=1000","-x","c++-header","/home/aljaz/Desktop/spo/ass2/simulator/machine.h"],"directory":"/home/aljaz/Desktop/spo/ass2/simulator/build/Desktop_Qt_6_10_1-Debug/.qtc_clangd","file":"/home/aljaz/Desktop/spo/ass2/simulator/machine.h"},{"arguments":["clang","-Wno-documentation-unknown-command","-Wno-unknown-warning-option","-Wno-unknown-pragmas","-nostdinc","-nostdinc++","-DQT_QML_DEBUG","-g","-fdiagnostics-color=always","-fPIC","-fsyntax-only","-m64","--target=x86_64-linux-gnu","-std=gnu++17","-DQT_CORE_LIB","-DQT_GUI_LIB","-DQT_WIDGETS_LIB","-DQ_CREATOR_RUN","-DQT_ANNOTATE_FUNCTION(x)=__attribute__((annotate(#x)))","-I/home/aljaz/Qt/Tools/QtCreator/share/qtcreator/cplusplus/wrappedQtHeaders","-I/home/aljaz/Qt/Tools/QtCreator/share/qtcreator/cplusplus/wrappedQtHeaders/QtCore","-I/home/aljaz/Desktop/spo/ass2/simulator/build/Desktop_Qt_6_10_1-Debug/simulator_autogen/include","-isystem","/home/aljaz/Qt/6.10.1/gcc_64/include/QtCore","-isystem","/home/aljaz/Qt/6.10.1/gcc_64/include","-isystem","/home/aljaz/Qt/6.10.1/gcc_64/mkspecs/linux-g++","-isystem","/home/aljaz/Qt/6.10.1/gcc_64/include/QtWidgets","-isystem","/home/aljaz/Qt/6.10.1/gcc_64/include/QtGui","-isystem","/usr/include/c++/13","-isystem","/usr/include/x86_64-linux-gnu/c++/13","-isystem","/usr/include/c++/13/backward","-isystem","/usr/local/include","-isystem","/home/aljaz/Qt/Tools/QtCreator/libexec/qtcreator/clang/lib/clang/21/include","-isystem","/usr/include/x86_64-linux-gnu","-isystem","/usr/include","-fmessage-length=0","-fdiagnostics-show-note-include-stack","-fretain-comments-from-system-headers","-fmacro-backtrace-limit=0","-ferror-limit=1000","-x","c++-header","/home/aljaz/Desktop/spo/ass2/simulator/device.h"],"directory":"/home/aljaz/Desktop/spo/ass2/simulator/build/Desktop_Qt_6_10_1-Debug/.qtc_clangd","file":"/home/aljaz/Desktop/spo/ass2/simulator/device.h"}] \ No newline at end of file +[{"arguments":["clang","-Wno-documentation-unknown-command","-Wno-unknown-warning-option","-Wno-unknown-pragmas","-nostdinc","-nostdinc++","-DQT_QML_DEBUG","-g","-fdiagnostics-color=always","-fPIC","-fsyntax-only","-m64","--target=x86_64-linux-gnu","-std=gnu++17","-DQT_CORE_LIB","-DQT_GUI_LIB","-DQT_WIDGETS_LIB","-DQ_CREATOR_RUN","-DQT_ANNOTATE_FUNCTION(x)=__attribute__((annotate(#x)))","-I/home/aljaz/Qt/Tools/QtCreator/share/qtcreator/cplusplus/wrappedQtHeaders","-I/home/aljaz/Qt/Tools/QtCreator/share/qtcreator/cplusplus/wrappedQtHeaders/QtCore","-I/home/aljaz/Desktop/spo/ass2/simulator/build/Desktop_Qt_6_10_1-Debug/simulator_autogen/include","-isystem","/home/aljaz/Qt/6.10.1/gcc_64/include/QtCore","-isystem","/home/aljaz/Qt/6.10.1/gcc_64/include","-isystem","/home/aljaz/Qt/6.10.1/gcc_64/mkspecs/linux-g++","-isystem","/home/aljaz/Qt/6.10.1/gcc_64/include/QtWidgets","-isystem","/home/aljaz/Qt/6.10.1/gcc_64/include/QtGui","-isystem","/usr/include/c++/13","-isystem","/usr/include/x86_64-linux-gnu/c++/13","-isystem","/usr/include/c++/13/backward","-isystem","/usr/local/include","-isystem","/home/aljaz/Qt/Tools/QtCreator/libexec/qtcreator/clang/lib/clang/21/include","-isystem","/usr/include/x86_64-linux-gnu","-isystem","/usr/include","-fmessage-length=0","-fdiagnostics-show-note-include-stack","-fretain-comments-from-system-headers","-fmacro-backtrace-limit=0","-ferror-limit=1000","-x","c++","/home/aljaz/Desktop/spo/ass2/simulator/main.cpp"],"directory":"/home/aljaz/Desktop/spo/ass2/simulator/build/Desktop_Qt_6_10_1-Debug/.qtc_clangd","file":"/home/aljaz/Desktop/spo/ass2/simulator/main.cpp"},{"arguments":["clang","-Wno-documentation-unknown-command","-Wno-unknown-warning-option","-Wno-unknown-pragmas","-nostdinc","-nostdinc++","-DQT_QML_DEBUG","-g","-fdiagnostics-color=always","-fPIC","-fsyntax-only","-m64","--target=x86_64-linux-gnu","-std=gnu++17","-DQT_CORE_LIB","-DQT_GUI_LIB","-DQT_WIDGETS_LIB","-DQ_CREATOR_RUN","-DQT_ANNOTATE_FUNCTION(x)=__attribute__((annotate(#x)))","-I/home/aljaz/Qt/Tools/QtCreator/share/qtcreator/cplusplus/wrappedQtHeaders","-I/home/aljaz/Qt/Tools/QtCreator/share/qtcreator/cplusplus/wrappedQtHeaders/QtCore","-I/home/aljaz/Desktop/spo/ass2/simulator/build/Desktop_Qt_6_10_1-Debug/simulator_autogen/include","-isystem","/home/aljaz/Qt/6.10.1/gcc_64/include/QtCore","-isystem","/home/aljaz/Qt/6.10.1/gcc_64/include","-isystem","/home/aljaz/Qt/6.10.1/gcc_64/mkspecs/linux-g++","-isystem","/home/aljaz/Qt/6.10.1/gcc_64/include/QtWidgets","-isystem","/home/aljaz/Qt/6.10.1/gcc_64/include/QtGui","-isystem","/usr/include/c++/13","-isystem","/usr/include/x86_64-linux-gnu/c++/13","-isystem","/usr/include/c++/13/backward","-isystem","/usr/local/include","-isystem","/home/aljaz/Qt/Tools/QtCreator/libexec/qtcreator/clang/lib/clang/21/include","-isystem","/usr/include/x86_64-linux-gnu","-isystem","/usr/include","-fmessage-length=0","-fdiagnostics-show-note-include-stack","-fretain-comments-from-system-headers","-fmacro-backtrace-limit=0","-ferror-limit=1000","-x","c++","/home/aljaz/Desktop/spo/ass2/simulator/mainwindow.cpp"],"directory":"/home/aljaz/Desktop/spo/ass2/simulator/build/Desktop_Qt_6_10_1-Debug/.qtc_clangd","file":"/home/aljaz/Desktop/spo/ass2/simulator/mainwindow.cpp"},{"arguments":["clang","-Wno-documentation-unknown-command","-Wno-unknown-warning-option","-Wno-unknown-pragmas","-nostdinc","-nostdinc++","-DQT_QML_DEBUG","-g","-fdiagnostics-color=always","-fPIC","-fsyntax-only","-m64","--target=x86_64-linux-gnu","-std=gnu++17","-DQT_CORE_LIB","-DQT_GUI_LIB","-DQT_WIDGETS_LIB","-DQ_CREATOR_RUN","-DQT_ANNOTATE_FUNCTION(x)=__attribute__((annotate(#x)))","-I/home/aljaz/Qt/Tools/QtCreator/share/qtcreator/cplusplus/wrappedQtHeaders","-I/home/aljaz/Qt/Tools/QtCreator/share/qtcreator/cplusplus/wrappedQtHeaders/QtCore","-I/home/aljaz/Desktop/spo/ass2/simulator/build/Desktop_Qt_6_10_1-Debug/simulator_autogen/include","-isystem","/home/aljaz/Qt/6.10.1/gcc_64/include/QtCore","-isystem","/home/aljaz/Qt/6.10.1/gcc_64/include","-isystem","/home/aljaz/Qt/6.10.1/gcc_64/mkspecs/linux-g++","-isystem","/home/aljaz/Qt/6.10.1/gcc_64/include/QtWidgets","-isystem","/home/aljaz/Qt/6.10.1/gcc_64/include/QtGui","-isystem","/usr/include/c++/13","-isystem","/usr/include/x86_64-linux-gnu/c++/13","-isystem","/usr/include/c++/13/backward","-isystem","/usr/local/include","-isystem","/home/aljaz/Qt/Tools/QtCreator/libexec/qtcreator/clang/lib/clang/21/include","-isystem","/usr/include/x86_64-linux-gnu","-isystem","/usr/include","-fmessage-length=0","-fdiagnostics-show-note-include-stack","-fretain-comments-from-system-headers","-fmacro-backtrace-limit=0","-ferror-limit=1000","-x","c++","/home/aljaz/Desktop/spo/ass2/simulator/machine.cpp"],"directory":"/home/aljaz/Desktop/spo/ass2/simulator/build/Desktop_Qt_6_10_1-Debug/.qtc_clangd","file":"/home/aljaz/Desktop/spo/ass2/simulator/machine.cpp"},{"arguments":["clang","-Wno-documentation-unknown-command","-Wno-unknown-warning-option","-Wno-unknown-pragmas","-nostdinc","-nostdinc++","-DQT_QML_DEBUG","-g","-fdiagnostics-color=always","-fPIC","-fsyntax-only","-m64","--target=x86_64-linux-gnu","-std=gnu++17","-DQT_CORE_LIB","-DQT_GUI_LIB","-DQT_WIDGETS_LIB","-DQ_CREATOR_RUN","-DQT_ANNOTATE_FUNCTION(x)=__attribute__((annotate(#x)))","-I/home/aljaz/Qt/Tools/QtCreator/share/qtcreator/cplusplus/wrappedQtHeaders","-I/home/aljaz/Qt/Tools/QtCreator/share/qtcreator/cplusplus/wrappedQtHeaders/QtCore","-I/home/aljaz/Desktop/spo/ass2/simulator/build/Desktop_Qt_6_10_1-Debug/simulator_autogen/include","-isystem","/home/aljaz/Qt/6.10.1/gcc_64/include/QtCore","-isystem","/home/aljaz/Qt/6.10.1/gcc_64/include","-isystem","/home/aljaz/Qt/6.10.1/gcc_64/mkspecs/linux-g++","-isystem","/home/aljaz/Qt/6.10.1/gcc_64/include/QtWidgets","-isystem","/home/aljaz/Qt/6.10.1/gcc_64/include/QtGui","-isystem","/usr/include/c++/13","-isystem","/usr/include/x86_64-linux-gnu/c++/13","-isystem","/usr/include/c++/13/backward","-isystem","/usr/local/include","-isystem","/home/aljaz/Qt/Tools/QtCreator/libexec/qtcreator/clang/lib/clang/21/include","-isystem","/usr/include/x86_64-linux-gnu","-isystem","/usr/include","-fmessage-length=0","-fdiagnostics-show-note-include-stack","-fretain-comments-from-system-headers","-fmacro-backtrace-limit=0","-ferror-limit=1000","-x","c++","/home/aljaz/Desktop/spo/ass2/simulator/device.cpp"],"directory":"/home/aljaz/Desktop/spo/ass2/simulator/build/Desktop_Qt_6_10_1-Debug/.qtc_clangd","file":"/home/aljaz/Desktop/spo/ass2/simulator/device.cpp"},{"arguments":["clang","-Wno-documentation-unknown-command","-Wno-unknown-warning-option","-Wno-unknown-pragmas","-nostdinc","-nostdinc++","-DQT_QML_DEBUG","-g","-fdiagnostics-color=always","-fPIC","-fsyntax-only","-m64","--target=x86_64-linux-gnu","-std=gnu++17","-DQT_CORE_LIB","-DQT_GUI_LIB","-DQT_WIDGETS_LIB","-DQ_CREATOR_RUN","-DQT_ANNOTATE_FUNCTION(x)=__attribute__((annotate(#x)))","-I/home/aljaz/Qt/Tools/QtCreator/share/qtcreator/cplusplus/wrappedQtHeaders","-I/home/aljaz/Qt/Tools/QtCreator/share/qtcreator/cplusplus/wrappedQtHeaders/QtCore","-I/home/aljaz/Desktop/spo/ass2/simulator/build/Desktop_Qt_6_10_1-Debug/simulator_autogen/include","-isystem","/home/aljaz/Qt/6.10.1/gcc_64/include/QtCore","-isystem","/home/aljaz/Qt/6.10.1/gcc_64/include","-isystem","/home/aljaz/Qt/6.10.1/gcc_64/mkspecs/linux-g++","-isystem","/home/aljaz/Qt/6.10.1/gcc_64/include/QtWidgets","-isystem","/home/aljaz/Qt/6.10.1/gcc_64/include/QtGui","-isystem","/usr/include/c++/13","-isystem","/usr/include/x86_64-linux-gnu/c++/13","-isystem","/usr/include/c++/13/backward","-isystem","/usr/local/include","-isystem","/home/aljaz/Qt/Tools/QtCreator/libexec/qtcreator/clang/lib/clang/21/include","-isystem","/usr/include/x86_64-linux-gnu","-isystem","/usr/include","-fmessage-length=0","-fdiagnostics-show-note-include-stack","-fretain-comments-from-system-headers","-fmacro-backtrace-limit=0","-ferror-limit=1000","-x","c++","/home/aljaz/Desktop/spo/ass2/simulator/opcode.cpp"],"directory":"/home/aljaz/Desktop/spo/ass2/simulator/build/Desktop_Qt_6_10_1-Debug/.qtc_clangd","file":"/home/aljaz/Desktop/spo/ass2/simulator/opcode.cpp"},{"arguments":["clang","-Wno-documentation-unknown-command","-Wno-unknown-warning-option","-Wno-unknown-pragmas","-nostdinc","-nostdinc++","-DQT_QML_DEBUG","-g","-fdiagnostics-color=always","-fPIC","-fsyntax-only","-m64","--target=x86_64-linux-gnu","-std=gnu++17","-DQT_CORE_LIB","-DQT_GUI_LIB","-DQT_WIDGETS_LIB","-DQ_CREATOR_RUN","-DQT_ANNOTATE_FUNCTION(x)=__attribute__((annotate(#x)))","-I/home/aljaz/Qt/Tools/QtCreator/share/qtcreator/cplusplus/wrappedQtHeaders","-I/home/aljaz/Qt/Tools/QtCreator/share/qtcreator/cplusplus/wrappedQtHeaders/QtCore","-I/home/aljaz/Desktop/spo/ass2/simulator/build/Desktop_Qt_6_10_1-Debug/simulator_autogen/include","-isystem","/home/aljaz/Qt/6.10.1/gcc_64/include/QtCore","-isystem","/home/aljaz/Qt/6.10.1/gcc_64/include","-isystem","/home/aljaz/Qt/6.10.1/gcc_64/mkspecs/linux-g++","-isystem","/home/aljaz/Qt/6.10.1/gcc_64/include/QtWidgets","-isystem","/home/aljaz/Qt/6.10.1/gcc_64/include/QtGui","-isystem","/usr/include/c++/13","-isystem","/usr/include/x86_64-linux-gnu/c++/13","-isystem","/usr/include/c++/13/backward","-isystem","/usr/local/include","-isystem","/home/aljaz/Qt/Tools/QtCreator/libexec/qtcreator/clang/lib/clang/21/include","-isystem","/usr/include/x86_64-linux-gnu","-isystem","/usr/include","-fmessage-length=0","-fdiagnostics-show-note-include-stack","-fretain-comments-from-system-headers","-fmacro-backtrace-limit=0","-ferror-limit=1000","-x","c++-header","/home/aljaz/Desktop/spo/ass2/simulator/mainwindow.h"],"directory":"/home/aljaz/Desktop/spo/ass2/simulator/build/Desktop_Qt_6_10_1-Debug/.qtc_clangd","file":"/home/aljaz/Desktop/spo/ass2/simulator/mainwindow.h"},{"arguments":["clang","-Wno-documentation-unknown-command","-Wno-unknown-warning-option","-Wno-unknown-pragmas","-nostdinc","-nostdinc++","-DQT_QML_DEBUG","-g","-fdiagnostics-color=always","-fPIC","-fsyntax-only","-m64","--target=x86_64-linux-gnu","-std=gnu++17","-DQT_CORE_LIB","-DQT_GUI_LIB","-DQT_WIDGETS_LIB","-DQ_CREATOR_RUN","-DQT_ANNOTATE_FUNCTION(x)=__attribute__((annotate(#x)))","-I/home/aljaz/Qt/Tools/QtCreator/share/qtcreator/cplusplus/wrappedQtHeaders","-I/home/aljaz/Qt/Tools/QtCreator/share/qtcreator/cplusplus/wrappedQtHeaders/QtCore","-I/home/aljaz/Desktop/spo/ass2/simulator/build/Desktop_Qt_6_10_1-Debug/simulator_autogen/include","-isystem","/home/aljaz/Qt/6.10.1/gcc_64/include/QtCore","-isystem","/home/aljaz/Qt/6.10.1/gcc_64/include","-isystem","/home/aljaz/Qt/6.10.1/gcc_64/mkspecs/linux-g++","-isystem","/home/aljaz/Qt/6.10.1/gcc_64/include/QtWidgets","-isystem","/home/aljaz/Qt/6.10.1/gcc_64/include/QtGui","-isystem","/usr/include/c++/13","-isystem","/usr/include/x86_64-linux-gnu/c++/13","-isystem","/usr/include/c++/13/backward","-isystem","/usr/local/include","-isystem","/home/aljaz/Qt/Tools/QtCreator/libexec/qtcreator/clang/lib/clang/21/include","-isystem","/usr/include/x86_64-linux-gnu","-isystem","/usr/include","-fmessage-length=0","-fdiagnostics-show-note-include-stack","-fretain-comments-from-system-headers","-fmacro-backtrace-limit=0","-ferror-limit=1000","-x","c++-header","/home/aljaz/Desktop/spo/ass2/simulator/machine.h"],"directory":"/home/aljaz/Desktop/spo/ass2/simulator/build/Desktop_Qt_6_10_1-Debug/.qtc_clangd","file":"/home/aljaz/Desktop/spo/ass2/simulator/machine.h"},{"arguments":["clang","-Wno-documentation-unknown-command","-Wno-unknown-warning-option","-Wno-unknown-pragmas","-nostdinc","-nostdinc++","-DQT_QML_DEBUG","-g","-fdiagnostics-color=always","-fPIC","-fsyntax-only","-m64","--target=x86_64-linux-gnu","-std=gnu++17","-DQT_CORE_LIB","-DQT_GUI_LIB","-DQT_WIDGETS_LIB","-DQ_CREATOR_RUN","-DQT_ANNOTATE_FUNCTION(x)=__attribute__((annotate(#x)))","-I/home/aljaz/Qt/Tools/QtCreator/share/qtcreator/cplusplus/wrappedQtHeaders","-I/home/aljaz/Qt/Tools/QtCreator/share/qtcreator/cplusplus/wrappedQtHeaders/QtCore","-I/home/aljaz/Desktop/spo/ass2/simulator/build/Desktop_Qt_6_10_1-Debug/simulator_autogen/include","-isystem","/home/aljaz/Qt/6.10.1/gcc_64/include/QtCore","-isystem","/home/aljaz/Qt/6.10.1/gcc_64/include","-isystem","/home/aljaz/Qt/6.10.1/gcc_64/mkspecs/linux-g++","-isystem","/home/aljaz/Qt/6.10.1/gcc_64/include/QtWidgets","-isystem","/home/aljaz/Qt/6.10.1/gcc_64/include/QtGui","-isystem","/usr/include/c++/13","-isystem","/usr/include/x86_64-linux-gnu/c++/13","-isystem","/usr/include/c++/13/backward","-isystem","/usr/local/include","-isystem","/home/aljaz/Qt/Tools/QtCreator/libexec/qtcreator/clang/lib/clang/21/include","-isystem","/usr/include/x86_64-linux-gnu","-isystem","/usr/include","-fmessage-length=0","-fdiagnostics-show-note-include-stack","-fretain-comments-from-system-headers","-fmacro-backtrace-limit=0","-ferror-limit=1000","-x","c++-header","/home/aljaz/Desktop/spo/ass2/simulator/device.h"],"directory":"/home/aljaz/Desktop/spo/ass2/simulator/build/Desktop_Qt_6_10_1-Debug/.qtc_clangd","file":"/home/aljaz/Desktop/spo/ass2/simulator/device.h"},{"arguments":["clang","-Wno-documentation-unknown-command","-Wno-unknown-warning-option","-Wno-unknown-pragmas","-nostdinc","-nostdinc++","-DQT_QML_DEBUG","-g","-fdiagnostics-color=always","-fPIC","-fsyntax-only","-m64","--target=x86_64-linux-gnu","-std=gnu++17","-DQT_CORE_LIB","-DQT_GUI_LIB","-DQT_WIDGETS_LIB","-DQ_CREATOR_RUN","-DQT_ANNOTATE_FUNCTION(x)=__attribute__((annotate(#x)))","-I/home/aljaz/Qt/Tools/QtCreator/share/qtcreator/cplusplus/wrappedQtHeaders","-I/home/aljaz/Qt/Tools/QtCreator/share/qtcreator/cplusplus/wrappedQtHeaders/QtCore","-I/home/aljaz/Desktop/spo/ass2/simulator/build/Desktop_Qt_6_10_1-Debug/simulator_autogen/include","-isystem","/home/aljaz/Qt/6.10.1/gcc_64/include/QtCore","-isystem","/home/aljaz/Qt/6.10.1/gcc_64/include","-isystem","/home/aljaz/Qt/6.10.1/gcc_64/mkspecs/linux-g++","-isystem","/home/aljaz/Qt/6.10.1/gcc_64/include/QtWidgets","-isystem","/home/aljaz/Qt/6.10.1/gcc_64/include/QtGui","-isystem","/usr/include/c++/13","-isystem","/usr/include/x86_64-linux-gnu/c++/13","-isystem","/usr/include/c++/13/backward","-isystem","/usr/local/include","-isystem","/home/aljaz/Qt/Tools/QtCreator/libexec/qtcreator/clang/lib/clang/21/include","-isystem","/usr/include/x86_64-linux-gnu","-isystem","/usr/include","-fmessage-length=0","-fdiagnostics-show-note-include-stack","-fretain-comments-from-system-headers","-fmacro-backtrace-limit=0","-ferror-limit=1000","-x","c++-header","/home/aljaz/Desktop/spo/ass2/simulator/opcode.h"],"directory":"/home/aljaz/Desktop/spo/ass2/simulator/build/Desktop_Qt_6_10_1-Debug/.qtc_clangd","file":"/home/aljaz/Desktop/spo/ass2/simulator/opcode.h"}] \ No newline at end of file diff --git a/ass2/simulator/build/Desktop_Qt_6_10_1-Debug/CMakeFiles/simulator.dir/device.cpp.o b/ass2/simulator/build/Desktop_Qt_6_10_1-Debug/CMakeFiles/simulator.dir/device.cpp.o index 1a8775a..aefc353 100644 Binary files a/ass2/simulator/build/Desktop_Qt_6_10_1-Debug/CMakeFiles/simulator.dir/device.cpp.o and b/ass2/simulator/build/Desktop_Qt_6_10_1-Debug/CMakeFiles/simulator.dir/device.cpp.o differ diff --git a/ass2/simulator/build/Desktop_Qt_6_10_1-Debug/CMakeFiles/simulator_autogen.dir/AutogenInfo.json b/ass2/simulator/build/Desktop_Qt_6_10_1-Debug/CMakeFiles/simulator_autogen.dir/AutogenInfo.json index 0e9f174..78b3270 100644 --- a/ass2/simulator/build/Desktop_Qt_6_10_1-Debug/CMakeFiles/simulator_autogen.dir/AutogenInfo.json +++ b/ass2/simulator/build/Desktop_Qt_6_10_1-Debug/CMakeFiles/simulator_autogen.dir/AutogenInfo.json @@ -431,6 +431,12 @@ "MU", "EWIEGA46WW/moc_mainwindow.cpp", null + ], + [ + "/home/aljaz/Desktop/spo/ass2/simulator/opcode.h", + "MU", + "EWIEGA46WW/moc_opcode.cpp", + null ] ], "HEADER_EXTENSIONS" : [ "h", "hh", "h++", "hm", "hpp", "hxx", "in", "txx" ], @@ -494,7 +500,8 @@ [ "/home/aljaz/Desktop/spo/ass2/simulator/device.cpp", "MU", null ], [ "/home/aljaz/Desktop/spo/ass2/simulator/machine.cpp", "MU", null ], [ "/home/aljaz/Desktop/spo/ass2/simulator/main.cpp", "MU", null ], - [ "/home/aljaz/Desktop/spo/ass2/simulator/mainwindow.cpp", "MU", null ] + [ "/home/aljaz/Desktop/spo/ass2/simulator/mainwindow.cpp", "MU", null ], + [ "/home/aljaz/Desktop/spo/ass2/simulator/opcode.cpp", "MU", null ] ], "UIC_OPTIONS" : [], "UIC_SEARCH_PATHS" : [], diff --git a/ass2/simulator/build/Desktop_Qt_6_10_1-Debug/CMakeFiles/simulator_autogen.dir/ParseCache.txt b/ass2/simulator/build/Desktop_Qt_6_10_1-Debug/CMakeFiles/simulator_autogen.dir/ParseCache.txt index a13f10b..c53a8ee 100644 --- a/ass2/simulator/build/Desktop_Qt_6_10_1-Debug/CMakeFiles/simulator_autogen.dir/ParseCache.txt +++ b/ass2/simulator/build/Desktop_Qt_6_10_1-Debug/CMakeFiles/simulator_autogen.dir/ParseCache.txt @@ -1,5 +1,4 @@ # Generated by CMake. Changes will be overwritten. -/home/aljaz/Desktop/spo/ass2/simulator/machine.cpp /home/aljaz/Desktop/spo/ass2/simulator/mainwindow.h mmc:Q_OBJECT mdp:/home/aljaz/Desktop/spo/ass2/simulator/build/Desktop_Qt_6_10_1-Debug/simulator_autogen/moc_predefs.h @@ -435,8 +434,9 @@ mdp:/usr/lib/gcc/x86_64-linux-gnu/13/include/stdbool.h mdp:/usr/lib/gcc/x86_64-linux-gnu/13/include/stddef.h /home/aljaz/Desktop/spo/ass2/simulator/machine.h +/home/aljaz/Desktop/spo/ass2/simulator/machine.cpp /home/aljaz/Desktop/spo/ass2/simulator/device.h /home/aljaz/Desktop/spo/ass2/simulator/main.cpp -/home/aljaz/Desktop/spo/ass2/simulator/device.cpp /home/aljaz/Desktop/spo/ass2/simulator/mainwindow.cpp uic:ui_mainwindow.h +/home/aljaz/Desktop/spo/ass2/simulator/device.cpp diff --git a/ass2/simulator/build/Desktop_Qt_6_10_1-Debug/Testing/Temporary/LastTest.log b/ass2/simulator/build/Desktop_Qt_6_10_1-Debug/Testing/Temporary/LastTest.log index 6bed42c..b42501f 100644 --- a/ass2/simulator/build/Desktop_Qt_6_10_1-Debug/Testing/Temporary/LastTest.log +++ b/ass2/simulator/build/Desktop_Qt_6_10_1-Debug/Testing/Temporary/LastTest.log @@ -1,3 +1,3 @@ -Start testing: Nov 23 16:29 CET +Start testing: Nov 27 14:24 CET ---------------------------------------------------------- -End testing: Nov 23 16:29 CET +End testing: Nov 27 14:24 CET diff --git a/ass2/simulator/build/Desktop_Qt_6_10_1-Debug/build.ninja b/ass2/simulator/build/Desktop_Qt_6_10_1-Debug/build.ninja index 9d176c7..49711fa 100644 --- a/ass2/simulator/build/Desktop_Qt_6_10_1-Debug/build.ninja +++ b/ass2/simulator/build/Desktop_Qt_6_10_1-Debug/build.ninja @@ -89,6 +89,14 @@ build CMakeFiles/simulator.dir/device.cpp.o: CXX_COMPILER__simulator_unscanned_D OBJECT_DIR = CMakeFiles/simulator.dir OBJECT_FILE_DIR = CMakeFiles/simulator.dir +build CMakeFiles/simulator.dir/opcode.cpp.o: CXX_COMPILER__simulator_unscanned_Debug /home/aljaz/Desktop/spo/ass2/simulator/opcode.cpp || cmake_object_order_depends_target_simulator + DEFINES = -DQT_CORE_LIB -DQT_GUI_LIB -DQT_WIDGETS_LIB + DEP_FILE = CMakeFiles/simulator.dir/opcode.cpp.o.d + FLAGS = -DQT_QML_DEBUG -g -fdiagnostics-color=always -fPIC + INCLUDES = -I/home/aljaz/Desktop/spo/ass2/simulator/build/Desktop_Qt_6_10_1-Debug/simulator_autogen/include -isystem /home/aljaz/Qt/6.10.1/gcc_64/include/QtCore -isystem /home/aljaz/Qt/6.10.1/gcc_64/include -isystem /home/aljaz/Qt/6.10.1/gcc_64/mkspecs/linux-g++ -isystem /home/aljaz/Qt/6.10.1/gcc_64/include/QtWidgets -isystem /home/aljaz/Qt/6.10.1/gcc_64/include/QtGui + OBJECT_DIR = CMakeFiles/simulator.dir + OBJECT_FILE_DIR = CMakeFiles/simulator.dir + # ============================================================================= # Link build statements for EXECUTABLE target simulator @@ -97,7 +105,7 @@ build CMakeFiles/simulator.dir/device.cpp.o: CXX_COMPILER__simulator_unscanned_D ############################################# # Link the executable simulator -build simulator: CXX_EXECUTABLE_LINKER__simulator_Debug CMakeFiles/simulator.dir/simulator_autogen/mocs_compilation.cpp.o CMakeFiles/simulator.dir/main.cpp.o CMakeFiles/simulator.dir/mainwindow.cpp.o CMakeFiles/simulator.dir/machine.cpp.o CMakeFiles/simulator.dir/device.cpp.o | /home/aljaz/Qt/6.10.1/gcc_64/lib/libQt6Widgets.so.6.10.1 /home/aljaz/Qt/6.10.1/gcc_64/lib/libQt6Gui.so.6.10.1 /usr/lib/x86_64-linux-gnu/libGLX.so /usr/lib/x86_64-linux-gnu/libOpenGL.so /home/aljaz/Qt/6.10.1/gcc_64/lib/libQt6Core.so.6.10.1 || simulator_autogen simulator_autogen_timestamp_deps +build simulator: CXX_EXECUTABLE_LINKER__simulator_Debug CMakeFiles/simulator.dir/simulator_autogen/mocs_compilation.cpp.o CMakeFiles/simulator.dir/main.cpp.o CMakeFiles/simulator.dir/mainwindow.cpp.o CMakeFiles/simulator.dir/machine.cpp.o CMakeFiles/simulator.dir/device.cpp.o CMakeFiles/simulator.dir/opcode.cpp.o | /home/aljaz/Qt/6.10.1/gcc_64/lib/libQt6Widgets.so.6.10.1 /home/aljaz/Qt/6.10.1/gcc_64/lib/libQt6Gui.so.6.10.1 /usr/lib/x86_64-linux-gnu/libGLX.so /usr/lib/x86_64-linux-gnu/libOpenGL.so /home/aljaz/Qt/6.10.1/gcc_64/lib/libQt6Core.so.6.10.1 || simulator_autogen simulator_autogen_timestamp_deps FLAGS = -DQT_QML_DEBUG -g LINK_LIBRARIES = -Wl,-rpath,/home/aljaz/Qt/6.10.1/gcc_64/lib: /home/aljaz/Qt/6.10.1/gcc_64/lib/libQt6Widgets.so.6.10.1 /home/aljaz/Qt/6.10.1/gcc_64/lib/libQt6Gui.so.6.10.1 /usr/lib/x86_64-linux-gnu/libGLX.so /usr/lib/x86_64-linux-gnu/libOpenGL.so /home/aljaz/Qt/6.10.1/gcc_64/lib/libQt6Core.so.6.10.1 -Wl,-rpath-link,/home/aljaz/Qt/6.10.1/gcc_64/lib OBJECT_DIR = CMakeFiles/simulator.dir diff --git a/ass2/simulator/build/Desktop_Qt_6_10_1-Debug/simulator b/ass2/simulator/build/Desktop_Qt_6_10_1-Debug/simulator index ac95631..65a6170 100755 Binary files a/ass2/simulator/build/Desktop_Qt_6_10_1-Debug/simulator and b/ass2/simulator/build/Desktop_Qt_6_10_1-Debug/simulator differ diff --git a/ass2/simulator/device.cpp b/ass2/simulator/device.cpp index 786454d..0a866ed 100644 --- a/ass2/simulator/device.cpp +++ b/ass2/simulator/device.cpp @@ -1,5 +1,58 @@ #include "device.h" +using namespace std; -Device::Device() { +bool Device::test() { return true; } +unsigned char Device::read() { return 0; } + +void Device::write(unsigned char) {} + + +InputDevice::InputDevice(istream& in) { + input = ∈ +} + +unsigned char InputDevice::read() { + char c; + if (input->get(c)) { + return static_cast(c); + } + return 0; +} + +OutputDevice::OutputDevice(ostream& out) { + output = &out; +} + +void OutputDevice::write(unsigned char c) { + output->put(static_cast(c)); + output->flush(); +} + +FileDevice::FileDevice(string& filename) { + file.open(filename, ios::in | ios::out | ios::binary); + if (!file.is_open()) { + // ustvari datoteko + file.clear(); + file.open(filename, ios::out | ios::binary); + file.close(); + file.open(filename, ios::in | ios::out | ios::binary); + } +} + +bool FileDevice::test() { + return file.is_open(); +} + +unsigned char FileDevice::read() { + char c; + if (file.get(c)) { + return static_cast(c); + } + return 0; +} + +void FileDevice::write(unsigned char c) { + file.put(static_cast(c)); + file.flush(); } diff --git a/ass2/simulator/device.h b/ass2/simulator/device.h index e91d598..2b82f3b 100644 --- a/ass2/simulator/device.h +++ b/ass2/simulator/device.h @@ -13,14 +13,14 @@ public: }; class InputDevice : public Device { - istream& input; + istream* input; public: InputDevice(istream& in); unsigned char read() override; }; class OutputDevice : public Device { - ostream& output; + ostream* output; public: OutputDevice(ostream& out); void write(unsigned char value) override; diff --git a/ass2/simulator/machine.cpp b/ass2/simulator/machine.cpp index 1dd1963..b6d6cf1 100644 --- a/ass2/simulator/machine.cpp +++ b/ass2/simulator/machine.cpp @@ -1,9 +1,22 @@ #include "machine.h" +#include "device.h" #include +using namespace std; + Machine::Machine() { + //nastavi registre A = B = L = T = S = X = PC = SW = 0; F = 0.0; + //nastavi naprave + devices[0] = new InputDevice(cin); + devices[1] = new OutputDevice(cout); + devices[2] = new OutputDevice(cerr); + + for (int i = 3; i < 256; i++) { + string filename = to_string(i) + ".dev"; + devices[i] = new FileDevice(filename); + } } int Machine::getReg(int reg) @@ -32,13 +45,10 @@ void Machine::setReg(int reg, int val) case 4: S = val; break; case 5: T = val; break; case 8: PC = val; break; - case 9: PC = val; break; + case 9: SW = val; break; } } -int getWord(int addr); -void setWord(int addr, int val); - unsigned char Machine::readByte(unsigned int address) { if (address > MAX_ADDRESS) { throw std::out_of_range("Memory read out of range"); @@ -55,7 +65,7 @@ void Machine::writeByte(unsigned int address, unsigned char val) { unsigned int Machine::getWord(unsigned int address) { if (address + 2 > MAX_ADDRESS) { - throw std::out_of_range("Memory write out of range"); + throw std::out_of_range("Memory read out of range"); } unsigned int B1 = memory[address + 2]; unsigned int B2 = memory[address + 1]; @@ -71,3 +81,24 @@ void Machine::setWord(unsigned int address, unsigned int val) { memory[address + 1] = (val >> 8) & 0xFF; memory[address] = (val >> 16) & 0xFF; } + +Device* Machine::getDevice(int num) { + if (num < 0 || num > 255) { return nullptr; } + return devices[num]; +} + +void Machine::setDevice(int num, Device* device) { + if (num < 0 || num > 255 ) { return; } + delete devices[num]; + devices[num] = device; +} + + + + + + + + + + diff --git a/ass2/simulator/machine.h b/ass2/simulator/machine.h index ce44c25..02763f9 100644 --- a/ass2/simulator/machine.h +++ b/ass2/simulator/machine.h @@ -1,5 +1,6 @@ #ifndef MACHINE_H #define MACHINE_H +#include "device.h" class Machine { private: @@ -15,6 +16,7 @@ private: static const int MEMORY_SIZE = 1000000; static const int MAX_ADDRESS = MEMORY_SIZE - 1; unsigned char memory[MEMORY_SIZE]; + Device* devices[256]; public: Machine(); @@ -46,6 +48,8 @@ public: unsigned int getWord(unsigned int address); void setWord(unsigned int address, unsigned int val); + Device * getDevice(int num); + void setDevice(int num, Device * device); }; #endif diff --git a/ass2/simulator/opcode.cpp b/ass2/simulator/opcode.cpp new file mode 100644 index 0000000..388e32d --- /dev/null +++ b/ass2/simulator/opcode.cpp @@ -0,0 +1,64 @@ +#include "opcode.h" + +Opcode::Opcode() { +public: + static constexpr int ADD = 0x18; + static constexpr int ADDF = 0x58; + static constexpr int ADDR = 0x90; + static constexpr int AND = 0x40; + static constexpr int CLEAR = 0xB4; + static constexpr int COMP = 0x28; + static constexpr int COMPF = 0x88; + static constexpr int COMPR = 0xA0; + static constexpr int DIV = 0x24; + static constexpr int DIVF = 0x64; + static constexpr int DIVR = 0x9C; + static constexpr int FIX = 0xC4; + static constexpr int FLOAT = 0xC0; + static constexpr int HIO = 0xF4; + static constexpr int J = 0x3C; + static constexpr int JEQ = 0x30; + static constexpr int JGT = 0x34; + static constexpr int JLT = 0x38; + static constexpr int JSUB = 0x48; + static constexpr int LDA = 0x00; + static constexpr int LDB = 0x68; + static constexpr int LDCH = 0x50; + static constexpr int LDF = 0x70; + static constexpr int LDL = 0x08; + static constexpr int LDS = 0x6C; + static constexpr int LDT = 0x74; + static constexpr int LDX = 0x04; + static constexpr int LPS = 0xD0; + static constexpr int MUL = 0x20; + static constexpr int MULF = 0x60; + static constexpr int MULR = 0x98; + static constexpr int NORM = 0xC8; + static constexpr int OR = 0x44; + static constexpr int RD = 0xD8; + static constexpr int RMO = 0xAC; + static constexpr int RSUB = 0x4C; + static constexpr int SHIFTL = 0xA4; + static constexpr int SHIFTR = 0xA8; + static constexpr int SIO = 0xF0; + static constexpr int SSK = 0xEC; + static constexpr int STA = 0x0C; + static constexpr int STB = 0x78; + static constexpr int STCH = 0x54; + static constexpr int STF = 0x80; + static constexpr int STI = 0xD4; + static constexpr int STL = 0x14; + static constexpr int STS = 0x7C; + static constexpr int STSW = 0xE8; + static constexpr int STT = 0x84; + static constexpr int STX = 0x10; + static constexpr int SUB = 0x1C; + static constexpr int SUBF = 0x5C; + static constexpr int SUBR = 0x94; + static constexpr int SVC = 0xB0; + static constexpr int TD = 0xE0; + static constexpr int TIO = 0xF8; + static constexpr int TIX = 0x2C; + static constexpr int TIXR = 0xB8; + static constexpr int WD = 0xDC; +} diff --git a/ass2/simulator/opcode.h b/ass2/simulator/opcode.h new file mode 100644 index 0000000..9b04fd3 --- /dev/null +++ b/ass2/simulator/opcode.h @@ -0,0 +1,10 @@ +#ifndef OPCODE_H +#define OPCODE_H + +class Opcode +{ +public: + Opcode(); +}; + +#endif // OPCODE_H