summaryrefslogtreecommitdiff
path: root/gui/gui.ui
diff options
context:
space:
mode:
authorSiddarth Suresh <155843085+SiddarthSuresh98@users.noreply.github.com>2025-04-21 19:59:56 -0400
committerGitHub <noreply@github.com>2025-04-21 19:59:56 -0400
commit1250359dfcbcad18c0a1078290f95479aa23e26a (patch)
treec53fa2bfd360a3bdcfbb2a4c6029e454d91456e1 /gui/gui.ui
parent282e2644ef0470133184fdf9900cf2565ec5332b (diff)
parent98b9786ccab6fdee37a779fdd55b58176abf12d9 (diff)
Merge pull request #58 from bdunahu/bdunahu
[WIP] Add tab bar, multi-level cache display
Diffstat (limited to 'gui/gui.ui')
-rw-r--r--gui/gui.ui186
1 files changed, 113 insertions, 73 deletions
diff --git a/gui/gui.ui b/gui/gui.ui
index dbb3a33..a21a200 100644
--- a/gui/gui.ui
+++ b/gui/gui.ui
@@ -22,83 +22,74 @@
<item>
<layout class="QVBoxLayout" name="storage_pipe_separator">
<item>
- <layout class="QHBoxLayout" name="storage_view">
- <item>
- <layout class="QVBoxLayout" name="registers">
- <item>
- <widget class="QLabel" name="label_5">
- <property name="font">
- <font>
- <bold>true</bold>
- </font>
- </property>
- <property name="text">
- <string>Registers</string>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QTextEdit" name="register_table"/>
- </item>
- </layout>
- </item>
- <item>
- <layout class="QVBoxLayout" name="dram">
- <item>
- <widget class="QLabel" name="label_10">
- <property name="font">
- <font>
- <bold>true</bold>
- </font>
- </property>
- <property name="text">
- <string>DRAM</string>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QTextEdit" name="dram_table">
- <property name="minimumSize">
- <size>
- <width>500</width>
- <height>0</height>
- </size>
- </property>
- </widget>
- </item>
- </layout>
- </item>
- <item>
- <layout class="QVBoxLayout" name="cache">
- <item>
- <widget class="QLabel" name="label_6">
- <property name="font">
- <font>
- <bold>true</bold>
- </font>
- </property>
- <property name="text">
- <string>Cache</string>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QTextEdit" name="cache_table">
- <property name="minimumSize">
- <size>
- <width>500</width>
- <height>0</height>
- </size>
- </property>
- </widget>
- </item>
- </layout>
- </item>
- </layout>
+ <widget class="QTabWidget" name="storage">
+ <property name="minimumSize">
+ <size>
+ <width>700</width>
+ <height>0</height>
+ </size>
+ </property>
+ <property name="currentIndex">
+ <number>-1</number>
+ </property>
+ </widget>
</item>
<item>
<layout class="QHBoxLayout" name="pipe_view">
<item>
+ <widget class="QGroupBox" name="groupBox">
+ <property name="maximumSize">
+ <size>
+ <width>120</width>
+ <height>16777215</height>
+ </size>
+ </property>
+ <property name="title">
+ <string> </string>
+ </property>
+ <property name="alignment">
+ <set>Qt::AlignmentFlag::AlignLeading|Qt::AlignmentFlag::AlignLeft|Qt::AlignmentFlag::AlignTop</set>
+ </property>
+ <layout class="QVBoxLayout" name="verticalLayout_6">
+ <item>
+ <widget class="QLabel" name="label_7">
+ <property name="text">
+ <string>s1</string>
+ </property>
+ </widget>
+ </item>
+ <item>
+ <widget class="QLabel" name="label_8">
+ <property name="text">
+ <string>s2</string>
+ </property>
+ </widget>
+ </item>
+ <item>
+ <widget class="QLabel" name="label_9">
+ <property name="text">
+ <string>s3</string>
+ </property>
+ </widget>
+ </item>
+ <item>
+ <widget class="QLabel" name="label_11">
+ <property name="text">
+ <string>alias</string>
+ </property>
+ </widget>
+ </item>
+ <item>
+ <widget class="QLabel" name="label_14">
+ <property name="text">
+ <string>dead</string>
+ </property>
+ </widget>
+ </item>
+ </layout>
+ </widget>
+ </item>
+ <item>
<widget class="QGroupBox" name="Fetch">
<property name="minimumSize">
<size>
@@ -114,6 +105,27 @@
</property>
<layout class="QVBoxLayout" name="verticalLayout">
<item>
+ <widget class="QLabel" name="label_17">
+ <property name="text">
+ <string/>
+ </property>
+ </widget>
+ </item>
+ <item>
+ <widget class="QLabel" name="label_16">
+ <property name="text">
+ <string/>
+ </property>
+ </widget>
+ </item>
+ <item>
+ <widget class="QLabel" name="label_15">
+ <property name="text">
+ <string/>
+ </property>
+ </widget>
+ </item>
+ <item>
<widget class="DigitLabel" name="fetch_bits">
<property name="text">
<string/>
@@ -146,6 +158,27 @@
</property>
<layout class="QVBoxLayout" name="verticalLayout_2">
<item>
+ <widget class="QLabel" name="label_20">
+ <property name="text">
+ <string/>
+ </property>
+ </widget>
+ </item>
+ <item>
+ <widget class="QLabel" name="label_19">
+ <property name="text">
+ <string/>
+ </property>
+ </widget>
+ </item>
+ <item>
+ <widget class="QLabel" name="label_18">
+ <property name="text">
+ <string/>
+ </property>
+ </widget>
+ </item>
+ <item>
<widget class="DigitLabel" name="decode_bits">
<property name="text">
<string/>
@@ -314,6 +347,13 @@
</property>
</widget>
</item>
+ <item>
+ <widget class="QLabel" name="write_squashed">
+ <property name="text">
+ <string/>
+ </property>
+ </widget>
+ </item>
</layout>
</widget>
</item>