Jump to content

IPXact parameter XSD : vectors/arrays elements


Recommended Posts

Hello All

I am looking at section C.18.1 in IP-Xact 1685-2014 document and noticed ipxact:vectors/ipxact:arrays element inside that, as shown below

image.thumb.png.88696da11b70c7340d7698465fd2b101.png 

I am bit confused over the significance of vectors/arrays elements inside parameter xsd. I am not able to find any example where vectors/arrays elements can be used with the parameters. 

Can these be used to represent an array of parameters  e.g.  "parameter integer PARAMS[3:0] = {1,2,3,4}'  or 'parameter [3:0] PARAM  [7:0] ? If yes which part needs to be captured using vectors element and which part needs to be captured using arrays element

Thanks

Khushi

 

Link to post
Share on other sites

Hello Kushi,

Yes indeed you can think of this as arrays of parameters. Section 6.12.6 Module parameters also describes these vectors and arrays. For module parameters, the arrays described the unpacked dimensions of a parameter and the vectors describe the packed dimensions. So for parameter [3:0] PARAM  [7:0], [3:0] is a vector and [7:0] is an array. For parameters it works the same as for module parameters, although a parameter does not directly describe an HDL language parameter.

Best regards,
Erwin

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...