Line 1... |
Line 1... |
/* $Id: aeMB2_mult.v,v 1.4 2008-04-26 17:57:43 sybreon Exp $
|
/* $Id: aeMB2_mult.v,v 1.5 2008-04-28 08:15:25 sybreon Exp $
|
**
|
**
|
** AEMB2 EDK 6.2 COMPATIBLE CORE
|
** AEMB2 EDK 6.2 COMPATIBLE CORE
|
** Copyright (C) 2004-2008 Shawn Tan <shawn.tan@aeste.net>
|
** Copyright (C) 2004-2008 Shawn Tan <shawn.tan@aeste.net>
|
**
|
**
|
** This file is part of AEMB.
|
** This file is part of AEMB.
|
Line 26... |
Line 26... |
multiplier architecture is left to the synthesis tool. Modify this
|
multiplier architecture is left to the synthesis tool. Modify this
|
to instantiate specific multipliers.
|
to instantiate specific multipliers.
|
|
|
*/
|
*/
|
|
|
|
// 30 LUTS @ 20 MHZ
|
|
|
module aeMB2_mult (/*AUTOARG*/
|
module aeMB2_mult (/*AUTOARG*/
|
// Outputs
|
// Outputs
|
mul_mx,
|
mul_mx,
|
// Inputs
|
// Inputs
|
opa_of, opb_of, opc_of, gclk, grst, dena, gpha
|
opa_of, opb_of, opc_of, gclk, grst, dena, gpha
|
Line 69... |
Line 71... |
rMUL0 <= #1 (opa_of * opb_of);
|
rMUL0 <= #1 (opa_of * opb_of);
|
rOPA <= #1 opa_of;
|
rOPA <= #1 opa_of;
|
rOPB <= #1 opb_of;
|
rOPB <= #1 opb_of;
|
end
|
end
|
|
|
assign mul_mx = rMUL1;
|
assign mul_mx = (AEMB_MUL[0]) ? rMUL1 : 32'hX;
|
|
|
endmodule // aeMB2_mult
|
endmodule // aeMB2_mult
|
|
|
/*
|
/*
|
$Log: not supported by cvs2svn $
|
$Log: not supported by cvs2svn $
|
|
Revision 1.4 2008/04/26 17:57:43 sybreon
|
|
Minor performance improvements.
|
|
|
Revision 1.3 2008/04/26 01:09:06 sybreon
|
Revision 1.3 2008/04/26 01:09:06 sybreon
|
Passes basic tests. Minor documentation changes to make it compatible with iverilog pre-processor.
|
Passes basic tests. Minor documentation changes to make it compatible with iverilog pre-processor.
|
|
|
Revision 1.2 2008/04/20 16:34:32 sybreon
|
Revision 1.2 2008/04/20 16:34:32 sybreon
|
Basic version with some features left out.
|
Basic version with some features left out.
|