mirror of
https://github.com/tillitis/tillitis-key1.git
synced 2024-12-29 17:36:26 -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,13 +382,17 @@ module tk1(
|
||||
end
|
||||
|
||||
if (address == ADDR_CPU_MON_FIRST) begin
|
||||
if (!cpu_mon_en_reg) begin
|
||||
cpu_mon_first_we = 1'h1;
|
||||
end
|
||||
end
|
||||
|
||||
if (address == ADDR_CPU_MON_LAST) begin
|
||||
if (!cpu_mon_en_reg) begin
|
||||
cpu_mon_last_we = 1'h1;
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
else begin
|
||||
if (address == ADDR_NAME0) begin
|
||||
|
Loading…
Reference in New Issue
Block a user