diff options
author | Karel Kočí <cynerd@email.cz> | 2018-03-06 21:57:07 +0100 |
---|---|---|
committer | Karel Kočí <cynerd@email.cz> | 2018-03-06 21:57:07 +0100 |
commit | a56b25212865c57251719a1d4a5d9d6a79b339c5 (patch) | |
tree | 5e5412c14a407b19a7e3a245cc39cb4fc80b6ec4 /qtmips_gui/NewDialogCache.ui | |
parent | c75024c81ba92efbcc70e80520599a27b4aff0d8 (diff) | |
download | qtmips-a56b25212865c57251719a1d4a5d9d6a79b339c5.tar.gz qtmips-a56b25212865c57251719a1d4a5d9d6a79b339c5.tar.bz2 qtmips-a56b25212865c57251719a1d4a5d9d6a79b339c5.zip |
Implement Cache configuration
This commit implements both cache configuration for machine and for gui.
Diffstat (limited to 'qtmips_gui/NewDialogCache.ui')
-rw-r--r-- | qtmips_gui/NewDialogCache.ui | 54 |
1 files changed, 17 insertions, 37 deletions
diff --git a/qtmips_gui/NewDialogCache.ui b/qtmips_gui/NewDialogCache.ui index 072251c..5c09de6 100644 --- a/qtmips_gui/NewDialogCache.ui +++ b/qtmips_gui/NewDialogCache.ui @@ -7,7 +7,7 @@ <x>0</x> <y>0</y> <width>435</width> - <height>272</height> + <height>204</height> </rect> </property> <property name="windowTitle"> @@ -24,70 +24,43 @@ </property> <layout class="QFormLayout" name="formLayout"> <item row="0" column="0"> - <widget class="QLabel" name="label"> - <property name="text"> - <string>Capacity:</string> - </property> - </widget> - </item> - <item row="0" column="1"> - <widget class="QSpinBox" name="capcity"/> - </item> - <item row="1" column="0"> <widget class="QLabel" name="label_2"> <property name="text"> <string>Number of sets:</string> </property> </widget> </item> - <item row="1" column="1"> + <item row="0" column="1"> <widget class="QSpinBox" name="number_of_sets"/> </item> - <item row="2" column="0"> + <item row="1" column="0"> <widget class="QLabel" name="label_3"> <property name="text"> <string>Block size:</string> </property> </widget> </item> - <item row="2" column="1"> + <item row="1" column="1"> <widget class="QSpinBox" name="block_size"/> </item> - <item row="3" column="0"> - <widget class="QLabel" name="label_4"> - <property name="text"> - <string>Number of blocks:</string> - </property> - </widget> - </item> - <item row="3" column="1"> - <widget class="QSpinBox" name="number_of_blocks"/> - </item> - <item row="4" column="0"> + <item row="2" column="0"> <widget class="QLabel" name="label_5"> <property name="text"> <string>Degree of associativity:</string> </property> </widget> </item> - <item row="4" column="1"> - <widget class="QSpinBox" name="degree_if_associativity"/> + <item row="2" column="1"> + <widget class="QSpinBox" name="degree_of_associativity"/> </item> - <item row="5" column="0"> + <item row="3" column="0"> <widget class="QLabel" name="label_6"> <property name="text"> <string>Replacement policy:</string> </property> </widget> </item> - <item row="6" column="0"> - <widget class="QLabel" name="label_writeback"> - <property name="text"> - <string>Writeback policy:</string> - </property> - </widget> - </item> - <item row="5" column="1"> + <item row="3" column="1"> <widget class="QComboBox" name="replacement_policy"> <item> <property name="text"> @@ -111,7 +84,14 @@ </item> </widget> </item> - <item row="6" column="1"> + <item row="4" column="0"> + <widget class="QLabel" name="label_writeback"> + <property name="text"> + <string>Writeback policy:</string> + </property> + </widget> + </item> + <item row="4" column="1"> <widget class="QComboBox" name="writeback_policy"> <item> <property name="text"> |