From 3156e7696c4ef6f7f211b61172a87b66741465c1 Mon Sep 17 00:00:00 2001 From: David Brouwer <dbrouwer@astron.nl> Date: Mon, 23 Oct 2023 08:53:06 +0200 Subject: [PATCH] Replaced information header to recent standard. Added library ip_agi027_xxxx_mult_add2_lib; Added generate-block inclusive the instantiation of a module for the ip_agi027_xxxx_mult_add2_rtl. --- libraries/technology/mult/tech_mult_add2.vhd | 30 +++++++++++++++++++- 1 file changed, 29 insertions(+), 1 deletion(-) diff --git a/libraries/technology/mult/tech_mult_add2.vhd b/libraries/technology/mult/tech_mult_add2.vhd index 59504b2139..c3069665a9 100644 --- a/libraries/technology/mult/tech_mult_add2.vhd +++ b/libraries/technology/mult/tech_mult_add2.vhd @@ -1,6 +1,6 @@ ------------------------------------------------------------------------------- -- --- Copyright (C) 2009 +-- Copyright (C) 2009-2023 -- ASTRON (Netherlands Institute for Radio Astronomy) <http://www.astron.nl/> -- P.O.Box 2, 7990 AA Dwingeloo, The Netherlands -- @@ -18,6 +18,9 @@ -- along with this program. If not, see <http://www.gnu.org/licenses/>. -- ------------------------------------------------------------------------------- +-- +-- Author : - +-- Changed by : D.F. Brouwer library IEEE, common_lib, technology_lib; use IEEE.std_logic_1164.all; @@ -30,6 +33,7 @@ use work.tech_mult_component_pkg.all; library ip_stratixiv_mult_lib; library ip_arria10_e1sg_mult_add2_lib; library ip_arria10_e2sg_mult_add2_lib; +library ip_agi027_xxxx_mult_add2_lib; entity tech_mult_add2 is generic ( @@ -130,4 +134,28 @@ begin ); end generate; + gen_ip_agi027_xxxx_rtl : if (g_technology = c_tech_agi027_xxxx and g_variant = "RTL") generate + u0 : ip_agi027_xxxx_mult_add2_rtl + generic map( + g_in_a_w => g_in_a_w, + g_in_b_w => g_in_b_w, + g_res_w => g_res_w, + g_force_dsp => g_force_dsp, + g_add_sub => g_add_sub, + g_nof_mult => g_nof_mult, + g_pipeline_input => g_pipeline_input, + g_pipeline_product => g_pipeline_product, + g_pipeline_adder => g_pipeline_adder, + g_pipeline_output => g_pipeline_output + ) + port map( + rst => rst, + clk => clk, + clken => clken, + in_a => in_a, + in_b => in_b, + res => res + ); + end generate; + end str; -- GitLab