From 55cc6b636bdcb1903c4dd68b6bdbacc726724dc4 Mon Sep 17 00:00:00 2001 From: unknown Date: Tue, 26 Nov 2024 12:56:10 -0800 Subject: [PATCH 1/2] Updating labels for BRAM, DSP and BCPU modals --- backend/submodule/peripherals.py | 11 ++++++++--- src/components/ModalWindows/BramModal.js | 2 +- src/components/ModalWindows/DspModal.js | 2 +- 3 files changed, 10 insertions(+), 5 deletions(-) diff --git a/backend/submodule/peripherals.py b/backend/submodule/peripherals.py index 9c7543f5..580f0ce9 100644 --- a/backend/submodule/peripherals.py +++ b/backend/submodule/peripherals.py @@ -70,10 +70,15 @@ class GpioStandard(RsEnum): SSTL_3_3V_Class_I = 10, "SSTL 3.3V Class-I" SSTL_3_3V_Class_II = 11, "SSTL 3.3V Class-II" +#class N22_RISC_V_Clock(RsEnum): +# PLL_233MHz = 0, "PLL (233 MHz)" +# BOOT_Clock_40MHz = 1, "BOOT CLK (40 MHz)" +# RC_OSC_50MHz = 2, "RC OSC (50 MHz)" + class N22_RISC_V_Clock(RsEnum): - PLL_233MHz = 0, "PLL (233 MHz)" - BOOT_Clock_40MHz = 1, "BOOT CLK (40 MHz)" - RC_OSC_50MHz = 2, "RC OSC (50 MHz)" + PLL_233MHz = 0, "PLL" + BOOT_Clock_40MHz = 1, "BOOT CLK" + RC_OSC_50MHz = 2, "RC OSC" class Port_Activity(RsEnum): IDLE = 0, "Idle" diff --git a/src/components/ModalWindows/BramModal.js b/src/components/ModalWindows/BramModal.js index e068ec40..e87c1ed4 100644 --- a/src/components/ModalWindows/BramModal.js +++ b/src/components/ModalWindows/BramModal.js @@ -34,7 +34,7 @@ function BramModal({ { fieldType: FieldType.number, id: 'bram_used', - text: 'Used', + text: 'BRAMs Used', value: defaultValue.bram_used, }, { diff --git a/src/components/ModalWindows/DspModal.js b/src/components/ModalWindows/DspModal.js index df8dcbc1..34d3188f 100644 --- a/src/components/ModalWindows/DspModal.js +++ b/src/components/ModalWindows/DspModal.js @@ -30,7 +30,7 @@ function DspModal({ { fieldType: FieldType.number, id: 'number_of_multipliers', - text: 'XX', + text: 'Number of Multipliers', value: defaultValue.number_of_multipliers, }, { From 91dc94e26e8ad15cd46b72e846c99304e21a91b3 Mon Sep 17 00:00:00 2001 From: unknown Date: Tue, 26 Nov 2024 13:05:41 -0800 Subject: [PATCH 2/2] updating labels in the tables as well --- src/components/Tables/BramTable.js | 2 +- src/components/Tables/DspTable.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/Tables/BramTable.js b/src/components/Tables/BramTable.js index 4709db3e..d682dd65 100644 --- a/src/components/Tables/BramTable.js +++ b/src/components/Tables/BramTable.js @@ -158,7 +158,7 @@ function BramTable({ device, update, notify }) { ]; const mainTableHeader = [ - '', 'Action', 'En', 'Name/Hierarchy', 'BRAM Type', 'Used', 'Port', 'Clock', 'Width', 'Write En', 'Read En', + '', 'Action', 'En', 'Name/Hierarchy', 'BRAM Type', 'BRAMs Used', 'Port', 'Clock', 'Width', 'Write En', 'Read En', 'Toggle Rate', 'Clock Freq', 'RAM Depth', 'O/P Sig Rate', 'Block Power', 'Intc. Power', '%', ]; diff --git a/src/components/Tables/DspTable.js b/src/components/Tables/DspTable.js index 392798c8..36d60963 100644 --- a/src/components/Tables/DspTable.js +++ b/src/components/Tables/DspTable.js @@ -106,7 +106,7 @@ function DspTable({ device, update, notify }) { ]; const mainTableHeader = [ - '', 'Action', 'En', 'Name/Hierarchy', 'XX', 'DSP Mode', { className: 'no-wrap', text: 'A-W' }, { className: 'no-wrap', text: 'B-W' }, + '', 'Action', 'En', 'Name/Hierarchy', 'No. of Multipliers', 'DSP Mode', { className: 'no-wrap', text: 'A-W' }, { className: 'no-wrap', text: 'B-W' }, 'Clock', 'Pipeline', 'T-Rate', 'Block Used', 'Clock Freq', 'O/P Sig Rate', 'Block Power', 'Intc. Power', '%', ];