diff --git a/libraries/io/tr_nonbonded/hdllib.cfg b/libraries/io/tr_nonbonded/hdllib.cfg index 980685534200390ec2bf696f246994ef129ccf05..e0af42b1e9c58cc582860eb6d4bd3d2c7636002d 100644 --- a/libraries/io/tr_nonbonded/hdllib.cfg +++ b/libraries/io/tr_nonbonded/hdllib.cfg @@ -13,3 +13,4 @@ synth_files = test_bench_files = $UNB/Firmware/modules/tr_nonbonded/tb/vhdl/tb_tr_nonbonded.vhd + tb/vhdl/tb_tb_tr_nonbonded.vhd diff --git a/libraries/io/tr_nonbonded/tb/vhdl/tb_tb_tr_nonbonded.vhd b/libraries/io/tr_nonbonded/tb/vhdl/tb_tb_tr_nonbonded.vhd new file mode 100644 index 0000000000000000000000000000000000000000..23ea1ca2967dc49a6d7c68f66ee6daa524189c7c --- /dev/null +++ b/libraries/io/tr_nonbonded/tb/vhdl/tb_tb_tr_nonbonded.vhd @@ -0,0 +1,48 @@ +------------------------------------------------------------------------------- +-- +-- Copyright (C) 2014 +-- ASTRON (Netherlands Institute for Radio Astronomy) <http://www.astron.nl/> +-- P.O.Box 2, 7990 AA Dwingeloo, The Netherlands +-- +-- This program is free software: you can redistribute it and/or modify +-- it under the terms of the GNU General Public License as published by +-- the Free Software Foundation, either version 3 of the License, or +-- (at your option) any later version. +-- +-- This program is distributed in the hope that it will be useful, +-- but WITHOUT ANY WARRANTY; without even the implied warranty of +-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +-- GNU General Public License for more details. +-- +-- You should have received a copy of the GNU General Public License +-- along with this program. If not, see <http://www.gnu.org/licenses/>. +-- +------------------------------------------------------------------------------- + +-- Purpose: Multi testbench for tr_nonbonded +-- Description: +-- Usage: +-- > as 5 +-- > run -all + +LIBRARY IEEE, technology_lib; +USE IEEE.std_logic_1164.ALL; +USE technology_lib.technology_pkg.ALL; +USE technology_lib.technology_select_pkg.ALL; + + +ENTITY tb_tb_tr_nonbonded IS +END tb_tb_tr_nonbonded; + + +ARCHITECTURE tb OF tb_tb_tr_nonbonded IS +BEGIN + + -- g_data_w : NATURAL := 32; + -- g_sim_level : NATURAL := 0 + + u_tech : ENTITY work.tb_tr_nonbonded GENERIC MAP (32, 0); + u_sim : ENTITY work.tb_tr_nonbonded GENERIC MAP (32, 1); + + +END tb;