# What is std\_logic\_vector16(15 downto 0)?

**URL:** <https://verificationacademy.com/forums/t/what-is-std-logic-vector16-15-downto-0/39817>\
**Category:** UVM\
**Tags:** SystemVerilog, VHDL, UVM\
**Created:** [November 16, 2021, 10:20am UTC](https://verificationacademy.com/forums/t/what-is-std-logic-vector16-15-downto-0/39817 "2021-11-16T10:20:45Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![bstephen](https://verificationacademy.com/forums/letter_avatar_proxy/v4/letter/b/5fc32e/32.png) [@bstephen](https://verificationacademy.com/forums/u/bstephen)\
**Post date:** [November 16, 2021, 10:20am UTC](https://verificationacademy.com/forums/t/what-is-std-logic-vector16-15-downto-0/39817/1 "2021-11-16T10:20:45Z")

</div>

I came across a VHDL DUT with two data types that I am unfamiliar with:

```vhdl

: in std_logic_vector16(15 downto 0);
: in std_logic_vector32(31 downto 0);

```

Can someone explain what these data types are? Also, can std\_logic\_vector16 and std\_logic\_vector32 connect to a UVM testbench?

Thanks!

---

<div class="post-metadata">

**Author:** ![graeme\_jessiman](https://verificationacademy.com/forums/user_avatar/verificationacademy.com/graeme_jessiman/32/1201_2.png) [@graeme\_jessiman](https://verificationacademy.com/forums/u/graeme_jessiman)\
**Post date:** [November 16, 2021, 12:41pm UTC](https://verificationacademy.com/forums/t/what-is-std-logic-vector16-15-downto-0/39817/2 "2021-11-16T12:41:28Z")

</div>

_In reply to [bstephen](https://verificationacademy.com/forums/t/what-is-std-logic-vector16-15-downto-0/39817):_

Without seeing the source code, I’d guess that there is a package that defines the types std\_logic\_vector16/32 and that this package is used by the VHDL RTL code in question.

You can share packages between VHDL + SystemVerilog but it requires a switch to be added to compilation and that will be vendor specific.

---

<div class="post-metadata">

**Author:** ![bstephen](https://verificationacademy.com/forums/letter_avatar_proxy/v4/letter/b/5fc32e/32.png) [@bstephen](https://verificationacademy.com/forums/u/bstephen)\
**Post date:** [November 16, 2021, 12:50pm UTC](https://verificationacademy.com/forums/t/what-is-std-logic-vector16-15-downto-0/39817/3 "2021-11-16T12:50:17Z")

</div>

_In reply to [graeme\_jessiman](https://verificationacademy.com/forums/t/what-is-std-logic-vector16-15-downto-0/39817/2):_

Thanks for that response. I think you pointed me in the right direction. I will check out the package file.
