# Multi dimensional array of interfaces

**URL:** <https://verificationacademy.com/forums/t/multi-dimensional-array-of-interfaces/31923>\
**Category:** SystemVerilog\
**Tags:** SystemVerilog, Interfaces\
**Created:** [June 9, 2016, 2:33pm UTC](https://verificationacademy.com/forums/t/multi-dimensional-array-of-interfaces/31923 "2016-06-09T14:33:11Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![vamshikrishnaboosam](https://verificationacademy.com/forums/user_avatar/verificationacademy.com/vamshikrishnaboosam/32/1530_2.png) [@vamshikrishnaboosam](https://verificationacademy.com/forums/u/vamshikrishnaboosam)\
**Post date:** [June 10, 2016, 3:21am UTC](https://verificationacademy.com/forums/t/multi-dimensional-array-of-interfaces/31923/5 "2016-06-10T03:21:39Z")

</div>

_In reply to [dave\_59](https://verificationacademy.com/forums/t/multi-dimensional-array-of-interfaces/31923/4):_

Following Errors i am getting.

mphy\_interface e\_mphy\_if[ENV\_NUM]MAX\_LANES;  
|  
ncvlog: \*E,SVNOTY (/proj/mipi/GF22FDSOI/mipi-mphy/users/vboosam/mphy\_22fdsoi\_05\_05/MPHY/DIGITAL/VERIF/mphy\_top\_ctrl\_tb/run/…/…/…/…/…/MPHY/DIGITAL/VERIF/mphy\_top\_ctrl\_tb/bench/mphy\_top\_ctrl/mphy\_top.sv,43|13): Syntactically this identifier appears to begin a datatype but it does not refer to a visible datatype in the current scope.  
mphy\_interface e\_mphy\_if[ENV\_NUM]MAX\_LANES;  
|  
ncvlog: \*E,SVPKSN (/proj/mipi/GF22FDSOI/mipi-mphy/users/vboosam/mphy\_22fdsoi\_05\_05/MPHY/DIGITAL/VERIF/mphy\_top\_ctrl\_tb/run/…/…/…/…/…/MPHY/DIGITAL/VERIF/mphy\_top\_ctrl\_tb/bench/mphy\_top\_ctrl/mphy\_top.sv,43|32): The single-bound form of a range is only allowed for array (i.e., unpacked) dimensions.  
mphy\_interface e\_mphy\_if[ENV\_NUM]MAX\_LANES;  
|  
ncvlog: \*E,SVPKSN (/proj/mipi/GF22FDSOI/mipi-mphy/users/vboosam/mphy\_22fdsoi\_05\_05/MPHY/DIGITAL/VERIF/mphy\_top\_ctrl\_tb/run/…/…/…/…/…/MPHY/DIGITAL/VERIF/mphy\_top\_ctrl\_tb/bench/mphy\_top\_ctrl/mphy\_top.sv,43|43): The single-bound form of a range is only allowed for array (i.e., unpacked) dimensions.  
mphy\_interface e\_mphy\_if[ENV\_NUM]MAX\_LANES;  
|  
ncvlog: \*E,EXPIDN (/proj/mipi/GF22FDSOI/mipi-mphy/users/vboosam/mphy\_22fdsoi\_05\_05/MPHY/DIGITAL/VERIF/mphy\_top\_ctrl\_tb/run/…/…/…/…/…/MPHY/DIGITAL/VERIF/mphy\_top\_ctrl\_tb/bench/mphy\_top\_ctrl/mphy\_top.sv,43|44): expecting an identifier [3.2][3.8][3.9(IEEE)].  
module worklib.mphy\_top:sv  
errors: 4, warnings: 0

Thanks,  
Vamshi Krishna B

---

_[View the full topic](https://verificationacademy.com/forums/t/multi-dimensional-array-of-interfaces/31923)._
