Lock down access to UDI in app mode

Signed-off-by: Joachim Strömbergson <joachim@assured.se>
This commit is contained in:
Joachim Strömbergson 2022-12-08 15:57:13 +01:00 committed by Michael Cardell Widerkrantz
parent c573155ba1
commit 5c74a0727c
No known key found for this signature in database
GPG Key ID: D3DB3DDF57E704E5

View File

@ -317,10 +317,12 @@ module tk1(
end
if ((address >= ADDR_UDI_FIRST) && (address <= ADDR_UDI_LAST)) begin
if (!switch_app_reg) begin
tmp_read_data = udi_mem[address[0]];
end
end
end
end
end // api
endmodule // tk1