Skip to content

Commit

Permalink
Merge branch 'ieee/1685-2014'
Browse files Browse the repository at this point in the history
  • Loading branch information
Paebbels committed Aug 19, 2023
2 parents e108cff + 9873cdb commit 7ec8f60
Show file tree
Hide file tree
Showing 27 changed files with 7,434 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ The original source is [Accellera](https://www.accellera.org/XMLSchema/).

**Unknown License State**

* [IEEE Std. 1685-2014](http://www.accellera.org/XMLSchema/IPXACT/1685-2014/)
⚠️ local [README](ieee-1685-2014/README.md) (text provided by Accellera) contains open source threatening rules
* [IEEE Std. 1685-2009](http://www.accellera.org/XMLSchema/SPIRIT/1685-2009/)
⚠️ local [README](ieee-1685-2009/README.md) (text provided by Accellera) contains open source threatening rules

Expand Down
40 changes: 40 additions & 0 deletions ieee-1685-2014/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
# IEEE Std. 1685-2014

Source: http://www.accellera.org/XMLSchema/IPXACT/1685-2014/


From the Accellera page
-----------------------

© Copyright 2006-2014 Accellera Systems Initiative. All rights reserved.

These XML files are believed to be a consistent XML Schema expression for creating and validating XML documents based on
the IEEE Std 1685-2009 and 2014 Standards for IP-XACT, Standard Structure for Packaging, Integrating and Re-using IP
within Tool-flows. These files are in the format specified by the World Wide Web Consortium (W3C) as XML Schema
definition language.

The purpose of this schema is to allow the creation and validation of XML documents conforming to the IEEE Std 1685-2009
and 2014 Standards for IP-XACT, Standard Structure for Packaging, Integrating and Re-using IP within Tool-flows.

**USE AT YOUR OWN RISK**

These source files are provided on an AS IS basis. Accellera Systems Initiative disclaims any warranty express or
implied including any warranty of merchantability and fitness for use for a particular purpose.

The user of the source files shall indemnify and hold Accellera Systems Initiative and its members harmless from any
damages or liability.

This file may be copied, and distributed, WITHOUT modifications; this notice must be included on any copy.

This schema shall not be modified, adapted, altered, sublicensed, nor any derivative works shall be created based upon
the schema. The intended and allowed uses of the schema include:

* Creating and validating XML documents that conform to the schema
* Building software programs and systems based on the schema
* Distributing verbatim copy of the schema as long as the full text of this license is included in all copies of the
schema. Specifically, a tool may include full copies of the schema, and these copies may be distributed by the tool
provider directly. A link or URL to the original of the schema is inherent in the schema URI.
* Documents which are validated against this schema may also reference additional schema. These additional schemas may
provide for validation of elements and attributes at the extension points explicitly and implicitly included in the
IEEE 1685-2009 and 2014 standards.
* No right to create new schemas derived from parts of this base schema is granted pursuant to this License.
343 changes: 343 additions & 0 deletions ieee-1685-2014/abstractionDefinition.xsd

Large diffs are not rendered by default.

186 changes: 186 additions & 0 deletions ieee-1685-2014/abstractor.xsd
Original file line number Diff line number Diff line change
@@ -0,0 +1,186 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- edited with XMLSpy v2007 rel. 3 (http://www.altova.com) by Erwin de Kock (Philips Electronics Nederland BV) -->
<!--
// Description: abstractor.xsd
// Author: The Accellera System Initiative IP-XACT Schema Working Group
//
// Revision: $Revision: 1537 $
// Date: $Date: 2010-02-26 13:28:40 -0800 (Fri, 26 Feb 2010) $
//
// Copyright (c) 2005 - 2012 Accellera Systems Initiative Inc.
// All rights reserved.
//
// This source file is provided on an AS IS basis. The Accellera
// Systems Initiative disclaims any warranty express or implied
// including any warranty of merchantability and fitness for use
// for a particular purpose.
//
// The user of the source file shall indemnify and hold The Accellera
// Systems Initiative and its members harmless from any damages or liability.
//
// This file may be copied, and distributed, WITHOUT
// modifications; this notice must be included on any copy.
//
// This schema shall not be modified, adapted, altered, sublicensed, nor
// any derivative works shall be created based upon the schema. The
// intended and allowed uses of the schema include:
//
// o Creating and validating XML documents that conform to the schema
//
// o Building software programs and systems based on the schema
//
// o Distributing verbatim copy of the schema as long as the full text
// of this license is included in all copies of the schema.
// Specifically, a tool may include full copies of the schema, and these
// copies may be distributed by the tool provider directly. A link or
// URL to the original of the schema is inherent in the schema URI.
//
// o Documents which are validated against this schema may also
// reference additional schema. These additional schemas may provide for
// validation of elements and attributes at the extension points
// explicitly and implicitly included in the IEEE 1685-???? standard.
//
// o No right to create new schemas derived from parts of this base
// schema is granted pursuant to this License.
//
// Users are requested to provide feedback to The Accellera Systems
// Initiative IP-XACT Schema Working Group using:
// mailto:[email protected]
-->
<xs:schema xmlns:ipxact="http://www.accellera.org/XMLSchema/IPXACT/1685-2014" xmlns:xs="http://www.w3.org/2001/XMLSchema" targetNamespace="http://www.accellera.org/XMLSchema/IPXACT/1685-2014" elementFormDefault="qualified">
<xs:include schemaLocation="busInterface.xsd"/>
<xs:include schemaLocation="identifier.xsd"/>
<xs:include schemaLocation="generator.xsd"/>
<xs:include schemaLocation="commonStructures.xsd"/>
<xs:include schemaLocation="model.xsd"/>
<xs:include schemaLocation="subInstances.xsd"/>
<xs:include schemaLocation="constraints.xsd"/>
<xs:complexType name="abstractorType">
<xs:annotation>
<xs:documentation>Abstractor-specific extension to abstractorType</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:group ref="ipxact:versionedIdentifier"/>
<xs:element name="abstractorMode">
<xs:annotation>
<xs:documentation>Define the mode for the interfaces on this abstractor.

For master the first interface connects to the master, the second connects to the mirroredMaster

For slave the first interface connects to the mirroredSlave the second connects to the slave

For direct the first interface connects to the master, the second connects to the slave

For system the first interface connects to the system, the second connects to the mirroredSystem. For system the group attribute is required</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:simpleContent>
<xs:extension base="ipxact:abstractorModeType">
<xs:attribute name="group" type="xs:Name">
<xs:annotation>
<xs:documentation>Define the system group if the mode is set to system</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:extension>
</xs:simpleContent>
</xs:complexType>
</xs:element>
<xs:element name="busType" type="ipxact:libraryRefType">
<xs:annotation>
<xs:documentation>The bus type of both interfaces. Refers to bus definition using vendor, library, name, version attributes.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="abstractorInterfaces">
<xs:annotation>
<xs:documentation>The interfaces supported by this abstractor</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="abstractorInterface" type="ipxact:abstractorBusInterfaceType" minOccurs="2" maxOccurs="2">
<xs:annotation>
<xs:documentation>An abstractor must have exactly 2 Interfaces.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="model" type="ipxact:abstractorModelType" minOccurs="0">
<xs:annotation>
<xs:documentation>Model information.</xs:documentation>
</xs:annotation>
<xs:key name="abstractorInstantiationsKey">
<xs:selector xpath="./ipxact:instantiations/ipxact:componentInstantiation"/>
<xs:field xpath="./ipxact:name"/>
</xs:key>
<xs:keyref name="abstractorInstantiationsRef" refer="ipxact:abstractorInstantiationsKey">
<xs:selector xpath="./ipxact:views/ipxact:view/ipxact:componentInstantiationRef"/>
<xs:field xpath="."/>
</xs:keyref>
</xs:element>
<xs:element ref="ipxact:abstractorGenerators" minOccurs="0">
<xs:annotation>
<xs:documentation>Generator list is tools-specific.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element ref="ipxact:choices" minOccurs="0"/>
<xs:element ref="ipxact:fileSets" minOccurs="0"/>
<xs:element ref="ipxact:description" minOccurs="0"/>
<xs:element ref="ipxact:parameters" minOccurs="0"/>
<xs:element ref="ipxact:assertions" minOccurs="0"/>
<xs:element ref="ipxact:vendorExtensions" minOccurs="0"/>
</xs:sequence>
<xs:attributeGroup ref="ipxact:id.att"/>
</xs:complexType>
<xs:element name="abstractor" type="ipxact:abstractorType">
<xs:annotation>
<xs:documentation>This is the root element for abstractors</xs:documentation>
</xs:annotation>
<xs:key name="abstractorInterfaceKey">
<xs:selector xpath="ipxact:abstractorInterfaces/ipxact:abstractorInterface"/>
<xs:field xpath="ipxact:name"/>
</xs:key>
<xs:key name="abstractorComponentChoiceKey">
<xs:selector xpath="ipxact:choices/ipxact:choice"/>
<xs:field xpath="ipxact:name"/>
</xs:key>
<xs:keyref name="abstractorComponentChoiceRef" refer="ipxact:abstractorComponentChoiceKey">
<xs:selector xpath=".//*"/>
<xs:field xpath="@choiceRef"/>
</xs:keyref>
<xs:key name="abstractorViewKey">
<xs:selector xpath="ipxact:model/ipxact:views/ipxact:view"/>
<xs:field xpath="ipxact:name"/>
</xs:key>
<xs:keyref name="abstractorTypeDefViewRef" refer="ipxact:abstractorViewKey">
<xs:selector xpath=".//ipxact:viewRef"/>
<xs:field xpath="."/>
</xs:keyref>
<xs:key name="abstractorFileSetKey">
<xs:selector xpath=".//ipxact:fileSet"/>
<xs:field xpath="ipxact:name"/>
</xs:key>
<xs:keyref name="abstractorFileSetRef" refer="ipxact:abstractorFileSetKey">
<xs:selector xpath=".//ipxact:fileSetRef"/>
<xs:field xpath="ipxact:localName"/>
</xs:keyref>
<xs:key name="abstractorPortKey">
<xs:selector xpath="ipxact:model/ipxact:ports/ipxact:port"/>
<xs:field xpath="ipxact:name"/>
</xs:key>
<xs:keyref name="abstractorportRef" refer="ipxact:abstractorPortKey">
<xs:selector xpath="ipxact:abstractorInterfaces/ipxact:abstractorInterface/ipxact:abstractionTypes/ipxact:abstractionType/ipxact:portMaps/ipxact:portMap/ipxact:physicalPort/ipxact:name"/>
<xs:field xpath="."/>
</xs:keyref>
</xs:element>
<xs:simpleType name="abstractorModeType">
<xs:annotation>
<xs:documentation>Mode for this abstractor</xs:documentation>
</xs:annotation>
<xs:restriction base="xs:string">
<xs:enumeration value="master"/>
<xs:enumeration value="slave"/>
<xs:enumeration value="direct"/>
<xs:enumeration value="system"/>
</xs:restriction>
</xs:simpleType>
</xs:schema>
141 changes: 141 additions & 0 deletions ieee-1685-2014/autoConfigure.xsd
Original file line number Diff line number Diff line change
@@ -0,0 +1,141 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- edited with XMLSpy v2013 sp1 (http://www.altova.com) by Mark Noll (private) -->
<!--
// Description: autoConfigure.xsd
// Author: The Accellera System Initiative IP-XACT Schema Working Group
//
// Revision: $Revision: 1537 $
// Date: $Date: 2010-02-26 13:28:40 -0800 (Fri, 26 Feb 2010) $
//
// Copyright (c) 2005 - 2012 Accellera Systems Initiative Inc.
// All rights reserved.
//
// This source file is provided on an AS IS basis. The Accellera
// Systems Initiative disclaims any warranty express or implied
// including any warranty of merchantability and fitness for use
// for a particular purpose.
//
// The user of the source file shall indemnify and hold The Accellera
// Systems Initiative and its members harmless from any damages or liability.
//
// This file may be copied, and distributed, WITHOUT
// modifications; this notice must be included on any copy.
//
// This schema shall not be modified, adapted, altered, sublicensed, nor
// any derivative works shall be created based upon the schema. The
// intended and allowed uses of the schema include:
//
// o Creating and validating XML documents that conform to the schema
//
// o Building software programs and systems based on the schema
//
// o Distributing verbatim copy of the schema as long as the full text
// of this license is included in all copies of the schema.
// Specifically, a tool may include full copies of the schema, and these
// copies may be distributed by the tool provider directly. A link or
// URL to the original of the schema is inherent in the schema URI.
//
// o Documents which are validated against this schema may also
// reference additional schema. These additional schemas may provide for
// validation of elements and attributes at the extension points
// explicitly and implicitly included in the IEEE 1685-???? standard.
//
// o No right to create new schemas derived from parts of this base
// schema is granted pursuant to this License.
//
// Users are requested to provide feedback to The Accellera Systems
// Initiative IP-XACT Schema Working Group using:
// mailto:[email protected]
-->
<xs:schema xmlns:ipxact="http://www.accellera.org/XMLSchema/IPXACT/1685-2014" xmlns:xs="http://www.w3.org/2001/XMLSchema" targetNamespace="http://www.accellera.org/XMLSchema/IPXACT/1685-2014" elementFormDefault="qualified">
<xs:import schemaLocation="xml.xsd" namespace="http://www.w3.org/XML/1998/namespace"/>
<xs:include schemaLocation="simpleTypes.xsd"/>
<xs:simpleType name="formatType">
<xs:annotation>
<xs:documentation>This is an indication on the format of the value. bit: 1-bit or more (vector) bits unsigned integer, byte: 8-bit signed integer, shortint: 16-bit signed integer, int: 32-bit signed integer, longint: 64-bit signed integer, shortreal: 32-bit signed floating point number, real: 64-bit signed floating point number, string: textual information.</xs:documentation>
</xs:annotation>
<xs:restriction base="xs:token">
<xs:enumeration value="bit"/>
<xs:enumeration value="byte"/>
<xs:enumeration value="shortint"/>
<xs:enumeration value="int"/>
<xs:enumeration value="longint"/>
<xs:enumeration value="shortreal"/>
<xs:enumeration value="real"/>
<xs:enumeration value="string"/>
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="signType">
<xs:annotation>
<xs:documentation>This is an indication of the signedness of the value.</xs:documentation>
</xs:annotation>
<xs:restriction base="xs:token">
<xs:enumeration value="signed"/>
<xs:enumeration value="unsigned"/>
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="delayValueUnitType">
<xs:annotation>
<xs:documentation>Indicates legal units for delay values.</xs:documentation>
</xs:annotation>
<xs:restriction base="xs:token">
<xs:enumeration value="ps"/>
<xs:enumeration value="ns"/>
</xs:restriction>
</xs:simpleType>
<xs:attributeGroup name="any.att">
<xs:anyAttribute namespace="##other" processContents="lax"/>
</xs:attributeGroup>
<xs:attributeGroup name="id.att">
<xs:annotation>
<xs:documentation>Contains the xml:id attribute used for annotating elements with a unique identifiers. See http://www.w3.org/TR/xml-id for more information.</xs:documentation>
</xs:annotation>
<xs:attribute ref="xml:id"/>
</xs:attributeGroup>
<xs:element name="choices">
<xs:annotation>
<xs:documentation>Choices used by elements with an attribute ipxact:choiceRef.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="choice" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>Non-empty set of legal values for a elements with an attribute ipxact:choiceRef.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="name" type="xs:Name">
<xs:annotation>
<xs:documentation>Choice key, available for reference by the ipxact:choiceRef attribute.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="enumeration" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>One possible value of ipxact:choice</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:simpleContent>
<xs:extension base="ipxact:complexBaseExpression">
<xs:attribute name="text" type="xs:string">
<xs:annotation>
<xs:documentation>When specified, displayed in place of the ipxact:enumeration value </xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="help" type="xs:string">
<xs:annotation>
<xs:documentation>Text that may be displayed if the user requests help about the meaning of an element</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attributeGroup ref="ipxact:id.att"/>
</xs:extension>
</xs:simpleContent>
</xs:complexType>
</xs:element>
</xs:sequence>
<xs:attributeGroup ref="ipxact:id.att"/>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:schema>
Loading

0 comments on commit 7ec8f60

Please sign in to comment.