Browse Source

Merge pull request #357 from antonblanchard/xics-warning

xics: Fix warning when comparing two std_ulogic_vectors
log2ceil-issue
Michael Neuling 1 year ago committed by GitHub
parent
commit
9b96ab730c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      xics.vhdl

2
xics.vhdl

@ -269,7 +269,7 @@ architecture rtl of xics_ics is @@ -269,7 +269,7 @@ architecture rtl of xics_ics is
begin
masked := x"00";
masked(PRIO_BITS - 1 downto 0) := (others => '1');
if pri8 >= masked then
if unsigned(pri8) >= unsigned(masked) then
return pri_masked;
else
return pri8(PRIO_BITS-1 downto 0);

Loading…
Cancel
Save