# Compilation error in the VVC commond methods after setting t\_vvc\_result as record

**URL:** <https://forum.uvvm.org/t/compilation-error-in-the-vvc-commond-methods-after-setting-t-vvc-result-as-record/420>\
**Category:** VVC Framework\
**Created:** [February 15, 2024, 2:24pm UTC](https://forum.uvvm.org/t/compilation-error-in-the-vvc-commond-methods-after-setting-t-vvc-result-as-record/420 "2024-02-15T14:24:02Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Med87](https://avatars.discourse-cdn.com/v4/letter/m/ce7236/32.png) [@Med87](https://forum.uvvm.org/u/Med87)\
**Post date:** [February 15, 2024, 2:24pm UTC](https://forum.uvvm.org/t/compilation-error-in-the-vvc-commond-methods-after-setting-t-vvc-result-as-record/420/1 "2024-02-15T14:24:02Z")

</div>

Hi,  
after defining the t\_vvc\_result as a record in the vvc\_cmd\_pkg, i got the following compilation error:

Compiling into bitvis\_vip\_avalon\_mm: uvvm/uvvm\_vvc\_framework/src\_target\_dependent/td\_vvc\_framework\_common\_methods\_pkg.vhd failed  
=== Command output: ===  
\*\* Error: …/uvvm/uvvm\_vvc\_framework/src\_target\_dependent/td\_vvc\_framework\_common\_methods\_pkg.vhd(822): (vcom-1600) No feasible entries for subprogram “to\_string”.  
\*\* Error: …/uvvm/uvvm\_vvc\_framework/src\_target\_dependent/td\_vvc\_framework\_common\_methods\_pkg.vhd(849): (vcom-1590) Bad expression in left operand of infix expression ‘&’.  
\*\* Error: …/uvvm/uvvm\_vvc\_framework/src\_target\_dependent/td\_vvc\_framework\_common\_methods\_pkg.vhd(849): (vcom-1600) No feasible entries for subprogram “log”.

I though the log procedure in the fetch\_result procedure supports printing the result wether a vector or a record…did i miss something ??

BR

---

<div class="post-metadata">

**Author:** ![Marius](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.uvvm.org/marius/32/43_2.png) [@Marius](https://forum.uvvm.org/u/Marius)\
**Post date:** [February 20, 2024, 1:56pm UTC](https://forum.uvvm.org/t/compilation-error-in-the-vvc-commond-methods-after-setting-t-vvc-result-as-record/420/2 "2024-02-20T13:56:55Z")

</div>

Hi,  
The `t_vvc_result` is a subtype of `std_logic_vector`, and the `to_string()` functions defined in `uvvm_util/string_methods_pkg` support several types, but not `t_vvc_result` as a record, meaning that the simulator does not find a matching function for your type.

Br  
Marius
