diff --git a/src/web/App.vue b/src/web/App.vue index 8bf935a58..f4f26410d 100644 --- a/src/web/App.vue +++ b/src/web/App.vue @@ -211,40 +211,40 @@ export default { // Vector size elem v_length: 64, - L1_I_num_lines : 32, - L1_D_num_lines : 32, - L1_num_lines : 32, - L2_num_lines : 32, - L2_I_num_lines : 32, - L2_D_num_lines : 32, - L1_size : 32, - L1_I_size : 32, - L1_D_size : 32, - L1_size_block : 32, - L1_I_size_block : 32, - L1_D_size_block : 32, - L2_size : 32, - L2_I_size : 32, - L2_D_size : 32, - L2_size_block : 32, - L2_I_size_block : 32, - L2_D_size_block : 32, + L1_I_num_lines: 32, + L1_D_num_lines: 32, + L1_num_lines: 32, + L2_num_lines: 32, + L2_I_num_lines: 32, + L2_D_num_lines: 32, + L1_size: 32, + L1_I_size: 32, + L1_D_size: 32, + L1_size_block: 32, + L1_I_size_block: 32, + L1_D_size_block: 32, + L2_size: 32, + L2_I_size: 32, + L2_D_size: 32, + L2_size_block: 32, + L2_I_size_block: 32, + L2_D_size_block: 32, // Cache architecture - cache_type : 0, - isDirect : 0, - + cache_type: 0, + isDirect: 0, + // Cache Location - cache_location : "Associative", + cache_location: "Associative", // Cache policy - cache_policy : "FIFO", + cache_policy: "FIFO", // Execution run - execution_mode_run : -1, - + execution_mode_run: -1, + // Is a breakpoint instruction - is_breakpoint : 0, + is_breakpoint: 0, // Integrated Kernel (exclusive to Sail Version) c_kernel: true, @@ -263,7 +263,10 @@ export default { sidebar_mode: (a => { return a === null ? "show" : a; - })(localStorage.getItem("conf_sidebar_mode")) as "show" | "autohide" | "disable", + })(localStorage.getItem("conf_sidebar_mode")) as + | "show" + | "autohide" + | "disable", /*************************/ /* Architecture Selector */ @@ -354,7 +357,7 @@ export default { target_port: "", target_location: "~/creator", flash_url: "http://localhost:8080", - + /* Validation test */ // Stats passed_test: 0, @@ -391,7 +394,9 @@ export default { }, showActivityBar(): boolean { - return ["architecture", "assembly", "simulator"].includes(this.creator_mode); + return ["architecture", "assembly", "simulator"].includes( + this.creator_mode, + ); }, }, @@ -536,8 +541,8 @@ export default { // load architecture const arch = arch_available.find( arch => - arch.name === decodeURI(architecture_name) || - arch.alias.includes(decodeURI(architecture_name)), + arch.name === architecture_name || + arch.alias.includes(architecture_name), ); if (arch === undefined) { show_notification( @@ -560,7 +565,7 @@ export default { // load assembly code if (asm !== null) { - this.assembly_code = decodeURI(asm); + this.assembly_code = asm; // TODO: compile. It doesn't update the table execution, so... // this.$root.$refs.selectArchitectureView.$refs.toolbar.$refs.btngroup1 @@ -575,12 +580,7 @@ export default { // load example code if (desired_set !== null && desired_example !== null) { - loadExample( - arch.name, - decodeURI(desired_set), - decodeURI(desired_example), - this, - ); + loadExample(arch.name, desired_set, desired_example, this); } }, @@ -699,174 +699,173 @@ export default {
- - - - - - - - - - - - - - - - - - - - - - -
-
- -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+ + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + +