Hello All,
I spotted the mistake.
The "configuration" block in test bench is completely wrong. I am trying
to assign a configuration of an xor gate for an xor gate used in block
DUT.
But DUT is a process in testbench with no xor gate. Hence, I retyped the
configuration block in the testbench file as:
------------------------------------------------
1 | configuration cfg_tb_xor_gate of tb_xor_gate is
|
2 | for Behavioral
|
3 | for XG1:xor_gate
|
4 | use entity work.xor_gate(Behavioral2);
|
5 | end for;
|
6 | end for;
|
7 | end cfg_tb_xor_gate;
|
------------------------------------------------
The code now compiles.
Regards,
Edwards