Jump to content

Winnie

Members
  • Posts

    2
  • Joined

  • Last visited

Everything posted by Winnie

  1. Hi Erwin, Thanks for the reply. In that case, may I know what's the use of the typeName in structPortTypeDef? There isn't much detail to how it's used in the IPXACT User Guide
  2. Let's say I have the following structured port in my component. How do I reuse this structured port in the same component (i.e., with a different name)? <!-- apb structured port --> <ipxact:port> <ipxact:name>apb</ipxact:name> <ipxact:structured packed="true"> <ipxact:struct direction="out"/> <ipxact:subPorts> <ipxact:subPort> <ipxact:name>addr</ipxact:name> <ipxact:wire> <ipxact:direction>in</ipxact:direction> <ipxact:vectors> <ipxact:vector> <ipxact:left>clog2(RANGE_id)-1</ipxact:left> <ipxact:right>0</ipxact:right> </ipxact:vector> </ipxact:vectors> </ipxact:wire> </ipxact:subPort> <ipxact:subPort> <ipxact:name>prot</ipxact:name> <ipxact:wire> <ipxact:direction>in</ipxact:direction> <ipxact:vectors> <ipxact:vector> <ipxact:left>2</ipxact:left> <ipxact:right>0</ipxact:right> </ipxact:vector> </ipxact:vectors> </ipxact:wire> </ipxact:subPort> </ipxact:subPorts> </ipxact:structured> </ipxact:port>
×
×
  • Create New...