fpga: Fix nits in constant value specification

Remove the preceeding zero in the constant expression
      that cause the simulator to warn about incorrect
      bit size.

Signed-off-by: Joachim Strömbergson <joachim@assured.se>
This commit is contained in:
Joachim Strömbergson 2024-07-09 10:51:10 +02:00
parent d297514e7e
commit 816718307f
No known key found for this signature in database
GPG Key ID: 865B8A548EA61679

View File

@ -392,7 +392,7 @@ module tk1(
force_trap_set = 1'h0;
if (cpu_valid) begin
if (cpu_addr[31 : 30] == 2'h01 & |cpu_addr[29 : 17]) begin
if (cpu_addr[31 : 30] == 2'h1 & |cpu_addr[29 : 17]) begin
force_trap_set = 1'h1;
end