ipv4: Default sr to all zeroes to squelch warnings
This commit is contained in:
parent
172a11070b
commit
0d7981f801
@ -43,7 +43,7 @@ begin
|
||||
rx : block
|
||||
constant BYTECOUNT_HEADER : integer := 20; -- Mandatory header fields
|
||||
|
||||
signal sr : byte_vector(0 to BYTECOUNT_HEADER - 1);
|
||||
signal sr : byte_vector(0 to BYTECOUNT_HEADER - 1) := (others => x"00"); -- Init to zero to squelch metavalue warnings
|
||||
alias sr_version is sr(0)(7 downto 4);
|
||||
alias sr_ihl is sr(0)(3 downto 0);
|
||||
alias sr_dscp is sr(1)(7 downto 2);
|
||||
|
Loading…
Reference in New Issue
Block a user