52 lines
775 B
VHDL
52 lines
775 B
VHDL
|
|
architecture RTL of FIFO is
|
|
|
|
begin
|
|
|
|
|
|
|
|
|
|
-- These are passing
|
|
ret <=
|
|
(
|
|
data => (others => '-'),
|
|
valid => '0',
|
|
sop => '0',
|
|
eop => '0',
|
|
empty => (others => '0'),
|
|
error => (others => '0')
|
|
);
|
|
|
|
-- These are failing
|
|
|
|
ret <=
|
|
(
|
|
data => (others => '-'),
|
|
valid => '0',
|
|
sop => '0',
|
|
eop => '0',
|
|
empty => (others => '0'),
|
|
error => (others => '0')
|
|
);
|
|
|
|
|
|
-- This is not an array and should not be "fixed"
|
|
|
|
d <=
|
|
(d2 xor to_stdulogic(gen2)) &
|
|
(d1 xor to_stdulogic(gen1));
|
|
|
|
new_phase <= (not sig1) or
|
|
sig2 or
|
|
sig3;
|
|
|
|
-- Test functions/constant in array
|
|
|
|
data_concurrent <=
|
|
(
|
|
c_enum_list(ENUM_LITERAL_1) => 1,
|
|
others => 'X'
|
|
);
|
|
|
|
end architecture RTL;
|