Harmonize the naming of firmware and app mode.

- The API changes name from `_SWITCH_APP` to `_SYSTEM_MODE_CTRL`.
- The registers and wires changes name to `system_mode_*`, instead of a
  mix of `switch_app_*` and `fw_app_mode`.
This commit is contained in:
Jonas Thörnblad 2024-10-28 15:25:28 +01:00 committed by Daniel Jobson
parent 69ef6dde8b
commit aea2e319eb
No known key found for this signature in database
GPG key ID: 3707A9DBF4BB8F1A
16 changed files with 149 additions and 146 deletions

View file

@ -142,7 +142,7 @@ module application_fpga (
reg [31 : 0] tk1_write_data;
wire [31 : 0] tk1_read_data;
wire tk1_ready;
wire fw_app_mode;
wire system_mode;
wire force_trap;
wire [14 : 0] ram_addr_rand;
wire [31 : 0] ram_data_rand;
@ -237,7 +237,7 @@ module application_fpga (
.clk(clk),
.reset_n(reset_n),
.fw_app_mode(fw_app_mode),
.system_mode(system_mode),
.cs(fw_ram_cs),
.we(fw_ram_we),
@ -277,7 +277,7 @@ module application_fpga (
.clk(clk),
.reset_n(reset_n),
.fw_app_mode(fw_app_mode),
.system_mode(system_mode),
.cs(uds_cs),
.address(uds_address),
@ -320,7 +320,7 @@ module application_fpga (
.clk(clk),
.reset_n(reset_n),
.fw_app_mode(fw_app_mode),
.system_mode(system_mode),
.cpu_addr (cpu_addr),
.cpu_instr (cpu_instr),