- Minor changes
git-svn-id: http://moon:8086/svn/vhdl/trunk@228 cc03376c-175c-47c8-b038-4cd826a8556b
This commit is contained in:
@@ -94,7 +94,7 @@ begin
|
|||||||
x_out <= resize(xin, shi(nbits_out, nbits_out_frac), slo(nbits_out, nbits_out_frac));
|
x_out <= resize(xin, shi(nbits_out, nbits_out_frac), slo(nbits_out, nbits_out_frac));
|
||||||
|
|
||||||
------------------------------------------------------------
|
------------------------------------------------------------
|
||||||
proc_xin: process(clk, x_in)
|
proc_xin: process(clk, x_in, x_pipe(0))
|
||||||
begin
|
begin
|
||||||
x_pipe(0) <= resize(x_in, x_pipe(0));
|
x_pipe(0) <= resize(x_in, x_pipe(0));
|
||||||
if rising_edge(clk) then
|
if rising_edge(clk) then
|
||||||
@@ -108,7 +108,7 @@ begin
|
|||||||
end process;
|
end process;
|
||||||
|
|
||||||
------------------------------------------------------------
|
------------------------------------------------------------
|
||||||
proc_hin: process(clk, h_in)
|
proc_hin: process(clk, h_in, h_pipe(0))
|
||||||
begin
|
begin
|
||||||
h_pipe(0) <= resize(h_in, h_pipe(0));
|
h_pipe(0) <= resize(h_in, h_pipe(0));
|
||||||
if rising_edge(clk) then
|
if rising_edge(clk) then
|
||||||
@@ -122,7 +122,7 @@ begin
|
|||||||
end process;
|
end process;
|
||||||
|
|
||||||
------------------------------------------------------------
|
------------------------------------------------------------
|
||||||
proc_pipe_reg: process(clk, xin, hin)
|
proc_pipe_reg: process(clk, xin, hin, mult_pipe(0))
|
||||||
begin
|
begin
|
||||||
mult_pipe(0) <= resize(xin * hin, mult_pipe(0));
|
mult_pipe(0) <= resize(xin * hin, mult_pipe(0));
|
||||||
if rising_edge(clk) then
|
if rising_edge(clk) then
|
||||||
|
|||||||
Reference in New Issue
Block a user