I have a FSM with four states and multiple outputs, but the outputs should be random. To achieve this, is it possible to generate random Boolean functions of the state element bits?
Implement a Linear Feedback Shift Register and make it your state register.
- - - Updated - - -
Code:
process ( LFSR ) is
begin
case LFSR is
when "000" =>
-- do something
when "001" =>
-- do something
when "010" =>
-- do something
when "011" =>
-- do something
when "100" =>
-- do something
when "101" =>
-- do something
when "110" =>
-- do something
when "111" =>
-- do something
end case ;
end process ;