Is it possible to generate random Boolean functions of the state element bits?

Status
Not open for further replies.

Sumathigokul

Member level 1
Joined
Aug 22, 2013
Messages
33
Helped
0
Reputation
0
Reaction score
0
Trophy points
6
Activity points
286
Hi All,

Have a nice day !!!

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?
 

Yes,

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 ;
 

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…