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.

Verilog State Assignment - equivalent logic in Verilog

Status
Not open for further replies.

vlsi_freak

Full Member level 2
Joined
Sep 3, 2007
Messages
127
Helped
14
Reputation
28
Reaction score
8
Trophy points
1,298
Activity points
2,041
Verilog State Assignment

Hi All,

In VHDL, we can write same set of logic for multiple states as shown below,

when STATE_A | STATE_B =>

----
-----

How we write an equivalent logic in Verilog.

Please help me.

regards,
freak
 

Re: Verilog State Assignment

STATE_A,STATE_B :
 

    vlsi_freak

    Points: 2
    Helpful Answer Positive Rating
Hi vlsi_freak,

In Verilog for FSM you should use

case()
...
endcase

and you should assign your next state inside case block.

If you explain what do you want to to you'll get better help.

Best Regards,
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top