mirror of
https://github.com/tillitis/tillitis-key1.git
synced 2024-12-20 05:14:29 -05:00
Block changing of monitor addresses when enabled
Signed-off-by: Joachim Strömbergson <joachim@assured.se>
This commit is contained in:
parent
66ebe5089a
commit
6f327d2ff9
@ -382,11 +382,15 @@ module tk1(
|
||||
end
|
||||
|
||||
if (address == ADDR_CPU_MON_FIRST) begin
|
||||
cpu_mon_first_we = 1'h1;
|
||||
if (!cpu_mon_en_reg) begin
|
||||
cpu_mon_first_we = 1'h1;
|
||||
end
|
||||
end
|
||||
|
||||
if (address == ADDR_CPU_MON_LAST) begin
|
||||
cpu_mon_last_we = 1'h1;
|
||||
if (!cpu_mon_en_reg) begin
|
||||
cpu_mon_last_we = 1'h1;
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user