mirror of
https://github.com/tillitis/tillitis-key1.git
synced 2024-12-30 01:46: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
|
end
|
||||||
|
|
||||||
if (address == ADDR_CPU_MON_FIRST) begin
|
if (address == ADDR_CPU_MON_FIRST) begin
|
||||||
|
if (!cpu_mon_en_reg) begin
|
||||||
cpu_mon_first_we = 1'h1;
|
cpu_mon_first_we = 1'h1;
|
||||||
end
|
end
|
||||||
|
end
|
||||||
|
|
||||||
if (address == ADDR_CPU_MON_LAST) begin
|
if (address == ADDR_CPU_MON_LAST) begin
|
||||||
|
if (!cpu_mon_en_reg) begin
|
||||||
cpu_mon_last_we = 1'h1;
|
cpu_mon_last_we = 1'h1;
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
end
|
||||||
|
|
||||||
else begin
|
else begin
|
||||||
if (address == ADDR_NAME0) begin
|
if (address == ADDR_NAME0) begin
|
||||||
|
Loading…
Reference in New Issue
Block a user