# SV and vhdl Dut connection

**URL:** <https://verificationacademy.com/forums/t/sv-and-vhdl-dut-connection/38659>\
**Category:** UVM\
**Tags:** UVM, vhdl-design, sytemverilog\
**Created:** [February 1, 2021, 11:18am UTC](https://verificationacademy.com/forums/t/sv-and-vhdl-dut-connection/38659 "2021-02-01T11:18:18Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![chr\_sue](https://verificationacademy.com/forums/user_avatar/verificationacademy.com/chr_sue/32/1199_2.png) [@chr\_sue](https://verificationacademy.com/forums/u/chr_sue)\
**Post date:** [February 2, 2021, 1:23pm UTC](https://verificationacademy.com/forums/t/sv-and-vhdl-dut-connection/38659/5 "2021-02-02T13:23:11Z")

</div>

_In reply to [poonamnlwd](https://verificationacademy.com/forums/t/sv-and-vhdl-dut-connection/38659/4):_

This does not matter. See the code example below.

```verilog
package my_sv_types;
typedef struct packed {
     logic val;
     logic [7:0] dat;
     } abc_sv_t;

typedef abc_sv_t [6] a;   
typedef a [4] b;   

typedef struct packed {
     b efg;
    } bcd_sv_t;

endpackage

module tb;
  import my_sv_types::*;
  logic clk;
  a sig1 = '{'{1'b0, 8'h55}, '{1'b0, 8'h55}, '{1'b0, 8'h55}, '{1'b0, 8'h55}, '{1'b0, 8'h55}, '{1'b0, 8'h55}};
  b sig2;
  abc_sv_t [5:0] sig3;
  bcd_sv_t [3:0] sig4;

  abc_sv_t [0:5] sig5;
  bcd_sv_t [0:3] sig6;

  initial begin
    sig3 = sig1;
    #10;
    sig5 = sig1;
    #10;
  end
endmodule

```

---

_[View the full topic](https://verificationacademy.com/forums/t/sv-and-vhdl-dut-connection/38659)._
