URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Go to most recent revision |
Show entire file |
Details |
Blame |
View Log
Rev 258 |
Rev 358 |
Line 114... |
Line 114... |
yi <= Y;
|
yi <= Y;
|
/* verilator lint_on COMBDLY */
|
/* verilator lint_on COMBDLY */
|
//
|
//
|
// First multiply stage
|
// First multiply stage
|
//
|
//
|
always @(posedge CLK or posedge RST)
|
always @(posedge CLK or `OR1200_RST_EVENT RST)
|
if (RST)
|
if (RST == `OR1200_RST_VALUE)
|
p0 <= `OR1200_WW'b0;
|
p0 <= `OR1200_WW'b0;
|
else
|
else
|
p0 <= xi * yi;
|
p0 <= xi * yi;
|
|
|
//
|
//
|
// Second multiply stage
|
// Second multiply stage
|
//
|
//
|
always @(posedge CLK or posedge RST)
|
always @(posedge CLK or `OR1200_RST_EVENT RST)
|
if (RST)
|
if (RST == `OR1200_RST_VALUE)
|
p1 <= `OR1200_WW'b0;
|
p1 <= `OR1200_WW'b0;
|
else
|
else
|
p1 <= p0;
|
p1 <= p0;
|
|
|
assign P = p1;
|
assign P = p1;
|
© copyright 1999-2025
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.