vi_lerp_booth.v 1.16 KB
////////////////////////////////////////////////////////////////////////
//
// Project Reality
//
// module:	vi_lerp_booth
// description:	Pseudo-Booth encoder for lerp for video interface.
//
// designer:	Phil Gossett
// date:	10/23/94
//
////////////////////////////////////////////////////////////////////////

// $Id: vi_lerp_booth.v,v 1.1 2002/03/28 00:26:14 berndt Exp $

module vi_lerp_booth (x, y, a, p0p, p1p, p2p, p3p, p4p, p5p, p6p, p7p);

input [7:0] x;
input [7:0] y;
input [4:0] a;

output [5:0] p0p;	// pseudo-booth encoded partial products
output [5:0] p1p;
output [5:0] p2p;
output [5:0] p3p;
output [5:0] p4p;
output [5:0] p5p;
output [5:0] p6p;
output [5:0] p7p;

vi_lerp_booth0 booth0 (.x(x[0]), .y(y[0]), .a(a), .p(p0p));
vi_lerp_booth0 booth1 (.x(x[1]), .y(y[1]), .a(a), .p(p1p));
vi_lerp_booth0 booth2 (.x(x[2]), .y(y[2]), .a(a), .p(p2p));
vi_lerp_booth0 booth3 (.x(x[3]), .y(y[3]), .a(a), .p(p3p));
vi_lerp_booth0 booth4 (.x(x[4]), .y(y[4]), .a(a), .p(p4p));
vi_lerp_booth0 booth5 (.x(x[5]), .y(y[5]), .a(a), .p(p5p));
vi_lerp_booth0 booth6 (.x(x[6]), .y(y[6]), .a(a), .p(p6p));
vi_lerp_booth7 booth7 (.x(x[7]), .y(y[7]), .a(a), .p(p7p));

endmodule // vi_lerp_booth