Skip to content
Snippets Groups Projects
Commit 201b7cb3 authored by Eric Kooistra's avatar Eric Kooistra
Browse files

Addd tb_tb_i2c_commander.vhd

parent 70106775
Branches
No related tags found
No related merge requests found
......@@ -41,3 +41,7 @@ test_bench_files =
$UNB/Firmware/modules/Lofar/i2c/tb/vhdl/tb_i2c_master.vhd
$UNB/Firmware/modules/Lofar/i2c/tb/vhdl/tb_avs_i2c_master.vhd
$UNB/Firmware/modules/Lofar/i2c/tb/vhdl/tb_i2c_commander.vhd
tb/vhdl/tb_tb_i2c_commander.vhd
modelsim_copy_files =
$UNB/Firmware/modules/Lofar/i2c/tb/data data
-------------------------------------------------------------------------------
--
-- Copyright (C) 2010
-- ASTRON (Netherlands Institute for Radio Astronomy) <http://www.astron.nl/>
-- JIVE (Joint Institute for VLBI in Europe) <http://www.jive.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 i2c_commander
-- Description:
-- Verify i2c_commander for I2C slaves on different board busses
-- Usage:
-- > as 3
-- > run -all
LIBRARY IEEE;
USE IEEE.std_logic_1164.ALL;
ENTITY tb_tb_i2c_commander IS
END tb_tb_i2c_commander;
ARCHITECTURE tb OF tb_tb_i2c_commander IS
BEGIN
-- g_board : STRING := "adu" -- else default to "unb"
u_adu : ENTITY work.tb_i2c_commander GENERIC MAP ("adu");
u_unb : ENTITY work.tb_i2c_commander GENERIC MAP ("unb");
END tb;
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment