Skip to content
Snippets Groups Projects
Commit 8a8e0d4e authored by Reinier van der Walle's avatar Reinier van der Walle
Browse files

processed review comments

parent 66388645
Branches
No related tags found
1 merge request!142Resolve L2SDP-411
...@@ -99,7 +99,8 @@ PACKAGE common_pkg IS ...@@ -99,7 +99,8 @@ PACKAGE common_pkg IS
-- DSP -- DSP
CONSTANT c_dsp_mult_w : NATURAL := 18; -- Width of the embedded multipliers in Stratix IV (and Arria 10 for 2 multipliers per DSP block) CONSTANT c_dsp_mult_w : NATURAL := 18; -- Width of the embedded multipliers in Stratix IV (and Arria 10 for 2 multipliers per DSP block)
CONSTANT c_dsp_mult_arria10_w : NATURAL := 27; -- Width of the embedded multipliers in Arria 10 CONSTANT c_dsp_mult_18_w : NATURAL := 18; -- Width of the embedded multipliers in Stratix IV (and Arria 10 for 2 multipliers per DSP block)
CONSTANT c_dsp_mult_27_w : NATURAL := 27; -- Width of the embedded multipliers in Arria 10
-- TYPE DECLARATIONS -------------------------------------------------------- -- TYPE DECLARATIONS --------------------------------------------------------
TYPE t_boolean_arr IS ARRAY (INTEGER RANGE <>) OF BOOLEAN; -- INTEGER left index starts default at -2**31 TYPE t_boolean_arr IS ARRAY (INTEGER RANGE <>) OF BOOLEAN; -- INTEGER left index starts default at -2**31
......
...@@ -70,7 +70,7 @@ architecture str of rTwoWMul is ...@@ -70,7 +70,7 @@ architecture str of rTwoWMul is
constant c_mult_extra_lat : natural := sel_a_b(c_lat>3, c_lat-3, 0); -- remaining extra pipelining in logic constant c_mult_extra_lat : natural := sel_a_b(c_lat>3, c_lat-3, 0); -- remaining extra pipelining in logic
constant c_mult_output_lat : natural := sel_a_b(c_lat>0, 1, 0) + c_mult_extra_lat; -- first priority use DSP pipeline output constant c_mult_output_lat : natural := sel_a_b(c_lat>0, 1, 0) + c_mult_extra_lat; -- first priority use DSP pipeline output
constant c_mult_lat : natural := c_mult_input_lat + c_mult_product_lat + c_mult_adder_lat + c_mult_output_lat; constant c_mult_lat : natural := c_mult_input_lat + c_mult_product_lat + c_mult_adder_lat + c_mult_output_lat;
constant c_max_dsp_mult_w : natural := sel_a_b(g_technology = c_tech_stratixiv, c_dsp_mult_w, c_dsp_mult_arria10_w); constant c_max_dsp_mult_w : natural := sel_a_b(g_technology = c_tech_stratixiv, c_dsp_mult_18_w, c_dsp_mult_27_w);
-- Total input to output latency -- Total input to output latency
constant c_total_lat : natural := c_mult_lat + c_round_lat; constant c_total_lat : natural := c_mult_lat + c_round_lat;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment