From 5feb16d0738f57d220e5f2e6ba85e072c22135ee Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Wed, 17 Jan 2018 14:47:18 +0100 Subject: Update how configuration is handled in newdialog In previous implementation were dependencies described on two places. In NewDialog and in MachineConfig. Now NewDialog sets options in MachineConfig and configuration is then applied to NewDialog. --- qtmips_gui/NewDialogCache.ui | 169 +++++++++++++++++++++++++++++++------------ 1 file changed, 123 insertions(+), 46 deletions(-) (limited to 'qtmips_gui/NewDialogCache.ui') diff --git a/qtmips_gui/NewDialogCache.ui b/qtmips_gui/NewDialogCache.ui index 3c91824..04f15f7 100644 --- a/qtmips_gui/NewDialogCache.ui +++ b/qtmips_gui/NewDialogCache.ui @@ -6,63 +6,140 @@ 0 0 - 339 - 167 + 435 + 272 Form - - - - - Capacity: + + + + + - - - - - - - - - Number of sets: + + true + + + + + Capacity: + + + + + + + + + + Number of sets: + + + + + + + + + + Block size: + + + + + + + + + + Number of blocks: + + + + + + + + + + Degree of associativity: + + + + + + + + + + Replacement policy: + + + + + + + Writeback policy: + + + + + + + + Random + + + + + Least Recently Used (LRU) + + + + + Least Frequently Used (LFU) + + + + + Adaptive Replacement Cache (ARC) + + + + + + + + + Write trough + + + + + Write back + + + + + - - - - Block size: + + + + Qt::Vertical - - - - - - Number of blocks: + + + 20 + 40 + - - - - - - Degree of associativity: - - - - - - - - - - - - - - + -- cgit v1.2.3