www.pudn.com > SHA1.zip > k.v, change:2001-01-09,size:453b


module k (in,	out); 
 
	input [1:0] in; 
	output [31:0] out; 
 
	reg [31:0] out; 
 
	always @ (in) 
	case (in) 
 
		2'b 00 : 
				out = {16'b 0101_1010_1000_0010, 16'b 0111_1001_1001_1001}; 
 
		2'b 01 : 
				out = {16'b 0110_1110_1101_1001, 16'b 1110_1011_1010_0001}; 
 
		2'b 10 : 
				out = {16'b 1000_1111_0001_1011, 16'b 1011_1100_1101_1100}; 
 
		2'b 11 : 
				out = {16'b 1100_1010_0110_0010, 16'b 1100_0001_1101_0110}; 
	endcase 
 
endmodule