From 625a53ebb2b482e82a670fc210f1f748408f34db Mon Sep 17 00:00:00 2001 From: Erik Kooistra <kooistra@astron.nl> Date: Fri, 5 Dec 2014 14:52:22 +0000 Subject: [PATCH] Added tb/vhdl/tb_tb_tr_nonbonded.vhd. --- libraries/io/tr_nonbonded/hdllib.cfg | 1 + .../tb/vhdl/tb_tb_tr_nonbonded.vhd | 48 +++++++++++++++++++ 2 files changed, 49 insertions(+) create mode 100644 libraries/io/tr_nonbonded/tb/vhdl/tb_tb_tr_nonbonded.vhd diff --git a/libraries/io/tr_nonbonded/hdllib.cfg b/libraries/io/tr_nonbonded/hdllib.cfg index 9806855342..e0af42b1e9 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 0000000000..23ea1ca296 --- /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; -- GitLab