URL
https://opencores.org/ocsvn/encore/encore/trunk
[/] [encore/] [trunk/] [fpmult/] [src/] [fpmult_stageN_comp.vhdl] - Diff between revs 4 and 6
Only display areas with differences |
Details |
Blame |
View Log
Rev 4 |
Rev 6 |
library ieee;
|
library ieee;
|
use ieee.std_logic_1164.all;
|
use ieee.std_logic_1164.all;
|
use ieee.numeric_std.all;
|
use ieee.numeric_std.all;
|
use work.fp_generic.all;
|
use work.fp_generic.all;
|
use work.fpmult_generic.all;
|
|
|
|
package fpmult_stageN_comp is
|
package fpmult_stageN_comp is
|
type fpmult_stageN_in_type is record
|
type fpmult_stageN_in_type is record
|
a:fp_type;
|
a:fp_type;
|
b:fp_type;
|
b:fp_type;
|
|
|
p_sign:fp_sign_type;
|
p_sign:fp_sign_type;
|
p_exp:fp_exp_type;
|
p_exp:fp_exp_type;
|
p_mantissa:fp_long_mantissa_type;
|
p_mantissa:fp_long_mantissa_type;
|
end record;
|
end record;
|
|
|
alias fpmult_stageN_out_type is fpmult_stageN_in_type;
|
alias fpmult_stageN_out_type is fpmult_stageN_in_type;
|
|
|
component fpmult_stageN is
|
component fpmult_stageN is
|
generic(
|
generic(
|
N:integer
|
N:integer
|
);
|
);
|
port(
|
port(
|
clk:in std_logic;
|
clk:in std_logic;
|
d:in fpmult_stageN_in_type;
|
d:in fpmult_stageN_in_type;
|
q:out fpmult_stageN_out_type
|
q:out fpmult_stageN_out_type
|
);
|
);
|
end component;
|
end component;
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.