# PAssing array of structures from C to SV

**URL:** <https://verificationacademy.com/forums/t/passing-array-of-structures-from-c-to-sv/36151>\
**Category:** SystemVerilog\
**Tags:** SystemVerilog, DPI\
**Created:** [June 5, 2019, 7:36pm UTC](https://verificationacademy.com/forums/t/passing-array-of-structures-from-c-to-sv/36151 "2019-06-05T19:36:57Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![superUVM](https://verificationacademy.com/forums/letter_avatar_proxy/v4/letter/s/b487fb/32.png) [@superUVM](https://verificationacademy.com/forums/u/superUVM)\
**Post date:** [June 6, 2019, 5:12pm UTC](https://verificationacademy.com/forums/t/passing-array-of-structures-from-c-to-sv/36151/3 "2019-06-06T17:12:47Z")

</div>

_In reply to [dave\_59](https://verificationacademy.com/forums/t/passing-array-of-structures-from-c-to-sv/36151/2):_

Hi Dave,  
Thanks for example. When I compile, I get this error, “unsupported datatype in formal argument” and referring to argument my\_struct\_array\_t.

Thanks.

---

_[View the full topic](https://verificationacademy.com/forums/t/passing-array-of-structures-from-c-to-sv/36151)._
