diff --git a/misc/config_tools/configurator/packages/configurator/src/pages/Config.vue b/misc/config_tools/configurator/packages/configurator/src/pages/Config.vue
index f2847b0a1..30fdb9af2 100644
--- a/misc/config_tools/configurator/packages/configurator/src/pages/Config.vue
+++ b/misc/config_tools/configurator/packages/configurator/src/pages/Config.vue
@@ -147,7 +147,6 @@ export default {
// update the info in title
this.currentBoardFile = 'Current file: ' + this.board['name']
let boardContent = this.board.content
- let reg = /(?<=Manufacturer).+(?=\\n)/
let result = boardContent.match(/Manufacturer.+\n/gm)
console.log(result)
if (result && result.length > 0) {
diff --git a/misc/config_tools/configurator/packages/configurator/src/pages/Config/ConfigForm/CustomWidget/CAT.vue b/misc/config_tools/configurator/packages/configurator/src/pages/Config/ConfigForm/CustomWidget/CAT.vue
index 8128eb6fb..f1060caee 100644
--- a/misc/config_tools/configurator/packages/configurator/src/pages/Config/ConfigForm/CustomWidget/CAT.vue
+++ b/misc/config_tools/configurator/packages/configurator/src/pages/Config/ConfigForm/CustomWidget/CAT.vue
@@ -7,7 +7,12 @@
v-model="SSRAM_ENABLED" :value="'y'" :uncheckedValue="'n'"
:disabled="RDT_ENABLED==='y'"
>
- Software SRAM (for real-time apps)
+
+
+
+
+
+ Software SRAM (for real-time apps)
@@ -16,18 +21,33 @@
v-model="RDT_ENABLED" :value="'y'" :uncheckedValue="'n'"
:disabled="SSRAM_ENABLED==='y'"
>
- Cache Allocation Technology (requires CPU Afinity configuration in each desired VM)
+
+
+
+
+
+ Cache Allocation Technology (requires CPU Afinity configuration in each desired VM)
- Code and Data Prioritization
+
+
+
+
+
+ Code and Data Prioritization
- Virtual Cache Allocation Technology (VCAT)
+
+
+
+
+
+ Virtual Cache Allocation Technology (VCAT)
@@ -102,6 +122,7 @@
import _ from "lodash";
import {vueUtils, fieldProps} from "@lljj/vue3-form-naive";
import HexBlockRangeSelector from "./CAT/HexBlockRangeSelector.vue";
+import IconInfo from '@lljj/vjsf-utils/icons/IconInfo.vue';
function count(source, target) {
return (source.match(new RegExp(target, 'g')) || []).length;
@@ -111,7 +132,7 @@ function count(source, target) {
// noinspection JSUnresolvedVariable
export default {
name: "CAT",
- components: {HexBlockRangeSelector},
+ components: {HexBlockRangeSelector, IconInfo},
props: {
...fieldProps
},
@@ -174,7 +195,9 @@ export default {
data() {
return {
CAT_INFO: null,
- cat_level_region_sum: {}
+ cat_level_region_sum: {},
+ SSRAMInfo: this.rootSchema.definitions['SSRAMInfo'],
+ RDTType: this.rootSchema.definitions['RDTType']
}
},
methods: {
diff --git a/misc/config_tools/configurator/packages/configurator/src/pages/Config/ConfigForm/CustomWidget/IVSHMEM_REGION.vue b/misc/config_tools/configurator/packages/configurator/src/pages/Config/ConfigForm/CustomWidget/IVSHMEM_REGION.vue
index d82e841a3..d2c14d656 100644
--- a/misc/config_tools/configurator/packages/configurator/src/pages/Config/ConfigForm/CustomWidget/IVSHMEM_REGION.vue
+++ b/misc/config_tools/configurator/packages/configurator/src/pages/Config/ConfigForm/CustomWidget/IVSHMEM_REGION.vue
@@ -6,7 +6,12 @@
- Region name:
+
+
+
+
+
+ Region name:
@@ -15,7 +20,14 @@
-
+
@@ -24,7 +36,14 @@
-
+
@@ -36,13 +55,25 @@
Select all VMs that will use this shared memory region
- Virtual BDF:
+
+
+
+
+
+ Virtual BDF:
-
-
+
+
@@ -106,11 +137,11 @@ import _ from 'lodash';
import {Icon} from "@vicons/utils";
import {Plus, Minus} from '@vicons/fa'
import {fieldProps, vueUtils} from '@lljj/vue3-form-naive';
-
+import IconInfo from '@lljj/vjsf-utils/icons/IconInfo.vue';
export default {
name: 'IVSHMEM_REGION',
- components: {Icon, Plus, Minus},
+ components: {Icon, Plus, Minus, IconInfo},
props: {
...fieldProps,
// Todo: use ui:fieldProps to pass getScenarioData function
@@ -132,7 +163,9 @@ export default {
data() {
return {
providerType: this.rootSchema.definitions['ProviderType']['enum'],
- IVSHMEMSize: this.rootSchema.definitions['IVSHMEMSize']['enum'],
+ IVSHMEMRegionType: this.rootSchema.definitions['IVSHMEMRegionType'],
+ IVSHMEMVM: this.rootSchema.definitions['IVSHMEMVM'],
+ VMConfigType: this.rootSchema.definitions['VMConfigType'],
defaultVal: vueUtils.getPathVal(this.rootFormData, this.curNodePath)
};
},
diff --git a/misc/config_tools/configurator/packages/configurator/src/pages/Config/ConfigForm/CustomWidget/VUART.vue b/misc/config_tools/configurator/packages/configurator/src/pages/Config/ConfigForm/CustomWidget/VUART.vue
index c91543f50..c9824d59a 100644
--- a/misc/config_tools/configurator/packages/configurator/src/pages/Config/ConfigForm/CustomWidget/VUART.vue
+++ b/misc/config_tools/configurator/packages/configurator/src/pages/Config/ConfigForm/CustomWidget/VUART.vue
@@ -6,7 +6,14 @@
-
+
@@ -24,7 +31,14 @@
-
+
@@ -36,7 +50,14 @@
-
+
@@ -53,8 +74,23 @@
{{vuartEndpointTitle}}:
- {{vuartVIoPortTitle}}:
- {{vuartVBDFTitle}}:
+
+
+
+
+
+
+
+ I/O address:
+
+
+
+
+
+
+ {{this.VuartEndpointType.vbdf.description}}
+ VBDF
+
Connection_{{ index + 1 }}-{{ VUARTConn.endpoint[0].vm_name }}
@@ -104,11 +140,12 @@ import _ from 'lodash';
import {Icon} from "@vicons/utils";
import {Plus, Minus} from '@vicons/fa'
import {fieldProps, vueUtils} from '@lljj/vue3-form-naive';
+import IconInfo from '@lljj/vjsf-utils/icons/IconInfo.vue';
export default {
name: 'VUART',
- components: {Icon, Plus, Minus},
+ components: {Icon, Plus, Minus, IconInfo},
props: {
...fieldProps,
// Todo: use ui:fieldProps to pass getScenarioData function
@@ -137,15 +174,11 @@ export default {
let epTypeProp = this.rootSchema.definitions.VuartEndpointType.properties
let conTypeProp = this.rootSchema.definitions.VuartConnectionType.properties
return {
- vmNameTitle: epTypeProp.vm_name.title,
- vuartConnectionTypeTitle: conTypeProp.type.title,
- vuartEndpointTitle: conTypeProp.endpoint['title'],
- vuartVIoPortTitle: epTypeProp.io_port.title,
- vuartVBDFTitle: epTypeProp.vbdf.title,
- vIoPortPlaceholder: epTypeProp.io_port['ui:options']['placeholder'],
- vBDFPlaceholder: epTypeProp.vbdf['ui:options']['placeholder'],
- VuartType,
+ VuartType: this.rootSchema.definitions['VuartType']['enum'],
+ VuartEndpointType: this.rootSchema.definitions['VuartEndpointType']['properties'],
IOPortDefault: this.rootSchema.definitions['VuartEndpointType']['properties']['io_port']['default'],
+ VMConfigType: this.rootSchema.definitions['VMConfigType'],
+ VuartConnectionType: this.rootSchema.definitions['VuartConnectionType'],
defaultVal: vueUtils.getPathVal(this.rootFormData, this.curNodePath)
};
},
@@ -183,12 +216,12 @@ export default {
"endpoint": [
{
"vm_name": "",
- "io_port": this.IOPortDefault,
+ "io_port": "",
"vbdf": "",
},
{
"vm_name": "",
- "io_port": this.IOPortDefault,
+ "io_port": "",
"vbdf": "",
}
]