Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

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.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top