cc_edge_booth.v 823 Bytes
////////////////////////////////////////////////////////////////////////
//
// Project Reality
//
// module:	cc_edge_booth
// description:	Pseudo-Booth encoder for texture edge
//		for color combine unit.
//
// designer:	Phil Gossett
// date:	9/16/94
//
////////////////////////////////////////////////////////////////////////

module cc_edge_booth (max1, x, y, a, p0p, p1p, p2p, c2c);

input max1;
input [2:0] x;
input [2:0] y;
input [3:0] a;

output [4:0] p0p;	// pseudo-booth encoded partial products
output [4:0] p1p;
output [3:0] p2p;
output c2c;

cc_edge_booth0 booth0 (.max1(max1), .x(x[0]), .y(y[0]), .a(a), .p(p0p));
cc_edge_booth0 booth1 (.max1(max1), .x(x[1]), .y(y[1]), .a(a), .p(p1p));
cc_edge_booth2 booth2 (.max1(max1), .x(x[2]), .y(y[2]), .a(a), .p(p2p),
							       .c(c2c));

endmodule // cc_edge_booth