From 823203f07c8807c906a9fe58a9aeb810e4bdb901 Mon Sep 17 00:00:00 2001 From: Erik Kooistra <kooistra@astron.nl> Date: Mon, 23 Nov 2015 11:16:39 +0000 Subject: [PATCH] Eplained why there is only one DUT in the tb. --- libraries/base/common/tb/vhdl/tb_common_adder_tree.vhd | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libraries/base/common/tb/vhdl/tb_common_adder_tree.vhd b/libraries/base/common/tb/vhdl/tb_common_adder_tree.vhd index 3fb6c9905c..6fa643dd59 100644 --- a/libraries/base/common/tb/vhdl/tb_common_adder_tree.vhd +++ b/libraries/base/common/tb/vhdl/tb_common_adder_tree.vhd @@ -169,6 +169,8 @@ BEGIN out_dat => result_expected ); + -- Using work.common_adder_tree(recursive) will only invoke the recursive architecture once, because the next recursive level will default to using the last compiled architecture + -- Therefore only instatiatiate the DUT once in this tb and use compile order to influence which architecture is used. dut : ENTITY work.common_adder_tree -- uses last compile architecture GENERIC MAP ( g_representation => g_representation, -- GitLab