www.pudn.com > x86.rar > Check4Exception.v, change:2007-12-05,size:327b


module Check4Exception(Pending, ControlWord, StatusWord); 
 
input [15:0] StatusWord,ControlWord; 
output Pending; 
reg Pending; 
reg PowerOut; 
 
 
always@( ControlWord or StatusWord ) 
begin 
	if( StatusWord[7] == 1 )	// If Exception summary status flag is set 
		Pending = 1'b1; 
	else 
		Pending = 1'b0; 
end 
endmodule