ALU with flags

Guest
Dear all
I am a new-bee and i need a verilog code implementing ALU with the
status register flags like the zero flag,negative flag,2's complement
overflow indicator,sign flag.How do i check these flags?Is it advisable
to include them in a function separately so that for each ALU operation
which the control selects checks the status registers.
Regards
shanly
 

Welcome to EDABoard.com

Sponsor

Back
Top