1entity tb is 2 generic (output_path : string := ""); 3end entity; 4architecture bench of tb is 5 type tb_cfg_t is record 6 s1 : string; 7 s2 : string; 8 end record tb_cfg_t; 9 10 impure function decode return tb_cfg_t is 11 begin 12 return ( 13 s1 => output_path&"a", 14 s2 => "b" 15 ); 16 end function decode; 17begin 18 proc : process begin 19 std.env.finish; 20 end process; 21end bench; 22