@@ -16,25 +16,27 @@ end entity;
1616architecture tb of tb_boards is
1717 constant JSONContent : T_JSON := jsonLoad(tb_cfg);
1818 constant JSONFileContent : T_JSON := jsonLoad(tb_cfg_file);
19+ constant tb_imga : integer_vector := jsonGetIntegerArray(JSONContent, " 2" );
1920begin
2021 main: process
2122 begin
2223 test_runner_setup(runner, runner_cfg);
2324 while test_suite loop
2425 if run(" test" ) then
26+ info(" tb_path & tb_cfg_file: " & tb_path & tb_cfg_file);
27+ info(" JSONFileContent: " & lf & JSONFileContent.Content);
28+ info(" ML505/FPGA: " & jsonGetString(JSONFileContent, " ML505/FPGA" ));
29+ info(" ML505/Eth/0/PHY-Int: " & jsonGetString(JSONFileContent, " ML505/Eth/0/PHY-Int" ));
30+ info(" KC705/FPGA: " & jsonGetString(JSONFileContent, " KC705/FPGA" ));
31+ info(" KC705/IIC/0/Devices/0/Name: " & jsonGetString(JSONFileContent, " KC705/IIC/0/Devices/0/Name" ));
32+
2533 info(" tb_cfg: " & tb_cfg);
2634 info(" JSONContent: " & lf & JSONContent.Content);
27- info(" ML505/FPGA: " & jsonGetString(JSONContent, " ML505/FPGA" ));
28- info(" ML505/Eth/0/PHY-Int: " & jsonGetString(JSONContent, " ML505/Eth/0/PHY-Int" ));
29- info(" KC705/FPGA: " & jsonGetString(JSONContent, " KC705/FPGA" ));
30- info(" KC705/IIC/0/Devices/0/Name: " & jsonGetString(JSONContent, " KC705/IIC/0/Devices/0/Name" ));
3135
32- info(" tb_path & tb_cfg_file: " & tb_path & tb_cfg_file);
33- info(" JSONFileContent: " & lf & JSONFileContent.Content);
34- info(" ML505/FPGADevice: " & jsonGetString(JSONFileContent, " ML505/FPGADevice" ));
35- info(" ML505/Ethernet/0/PHY_Device: " & jsonGetString(JSONFileContent, " ML505/Ethernet/0/PHY_Device" ));
36- info(" KC705/FPGADevice: " & jsonGetString(JSONFileContent, " KC705/FPGADevice" ));
37- info(" KC705/IIC/0/Devices/0/Type: " & jsonGetString(JSONFileContent, " KC705/IIC/0/Devices/0/Type" ));
36+ info(" Integer array length: " & jsonGetString(JSONContent, " 2/1" ));
37+ for i in 0 to tb_imga'length - 1 loop
38+ info(" Integer array [" & integer 'image (i) & " ]: " & integer 'image (tb_imga(i)));
39+ end loop ;
3840 end if ;
3941 end loop ;
4042 test_runner_cleanup(runner);
0 commit comments