Skip to content

Commit

Permalink
Merge branch 'ipxact/1.2'
Browse files Browse the repository at this point in the history
  • Loading branch information
Paebbels committed Aug 19, 2023
2 parents 7ef31e6 + feaacd6 commit 24f37e2
Show file tree
Hide file tree
Showing 27 changed files with 5,009 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ Around the time of DAC 2005, the IEEE P1685 working group was formed.

**Unknown License State**

* [IP-XACT 1.2](http://www.accellera.org/XMLSchema/SPIRIT/1.2/)
❌ © Copyright Accellera Systems Initiative. All rights reserved.
* [IP-XACT 1.1](http://www.accellera.org/XMLSchema/SPIRIT/1.1/)
❌ © Copyright Accellera Systems Initiative. All rights reserved.
* [IP-XACT 1.0](http://www.accellera.org/XMLSchema/SPIRIT/1.0/)
Expand Down
3 changes: 3 additions & 0 deletions ipxact-1.2/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
© Copyright Accellera Systems Initiative. All rights reserved.

Source: http://www.accellera.org/XMLSchema/SPIRIT/1.2/
289 changes: 289 additions & 0 deletions ipxact-1.2/autoConfigure.xsd
Original file line number Diff line number Diff line change
@@ -0,0 +1,289 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- edited with XMLSpy v2006 sp2 U (http://www.altova.com) by Michael Brouhard (Mentor Graphics) -->
<!-- edited with XMLSPY v2004 rel. 3 U (http://www.xmlspy.com) by Mark Noll (Synopsys) -->
<!--
// Description: autoConfigure.xsd
// Author: SPIRIT Schema Working Group
// Version: $Revision: 343 $
// Date: $Date: 2006-03-14 18:25:21 -0500 (Tue, 14 Mar 2006) $
// Tag: $Name$
//
// Copyright (c) 2005 SPIRIT. All rights reserved.
// www.spiritconsortium.com
//
// THIS WORK FORMS PART OF A SPIRIT CONSORTIUM SPECIFICATION.
// THIS WORK CONTAINS TRADE SECRETS AND PROPRIETARY INFORMATION
// WHICH IS THE EXCLUSIVE PROPERTY OF INDIVIDUAL MEMBERS OF THE
// SPIRIT CONSORTIUM. USE OF THESE MATERIALS ARE GOVERNED BY
// THE LEGAL TERMS AND CONDITIONS OUTLINED IN THE SPIRIT
// SPECIFICATION DISCLAIMER AVAILABLE FROM
// www.spiritconsortium.org
-->
<xs:schema xmlns:spirit="http://www.spiritconsortium.org/XMLSchema/SPIRIT/1.2" xmlns:xs="http://www.w3.org/2001/XMLSchema" targetNamespace="http://www.spiritconsortium.org/XMLSchema/SPIRIT/1.2" elementFormDefault="qualified" attributeFormDefault="qualified">
<xs:include schemaLocation="configurable.xsd"/>
<xs:simpleType name="formatType">
<xs:annotation>
<xs:documentation>This is a hint to the user interface on how to obtain the value for user defined properties. Float means a floating point number is expected. Long means an integer is expected. Bool means a boolean (true, false) is expected and choice means the user must pick from a list of possible values. A choiceRef attribute is required for choice formats. String means any text is acceptable.</xs:documentation>
</xs:annotation>
<xs:restriction base="xs:token">
<xs:enumeration value="float"/>
<xs:enumeration value="long"/>
<xs:enumeration value="bool"/>
<xs:enumeration value="choice"/>
<xs:enumeration value="string"/>
</xs:restriction>
</xs:simpleType>
<xs:attribute name="format" type="spirit:formatType">
<xs:annotation>
<xs:documentation>This is a hint to the user interface about the data format to require for user resolved properties.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="prompt" type="xs:string">
<xs:annotation>
<xs:documentation>Provides a string used to prompt the user for user-resolved property values.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="minimum" type="xs:string">
<xs:annotation>
<xs:documentation>For user-resolved properties with numeric values, this indicates the minimum value allowed.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="maximum" type="xs:string">
<xs:annotation>
<xs:documentation>For user-resolved properties with numeric values, this indicates the maximum value allowed.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:simpleType name="rangeTypeType">
<xs:annotation>
<xs:documentation>This type is used to indicate how the minimum and maximum attributes values should be interpreted. For purposes of this attribute, an int is 4 bytes and a long is 8 bytes.</xs:documentation>
</xs:annotation>
<xs:restriction base="xs:token">
<xs:enumeration value="float"/>
<xs:enumeration value="int"/>
<xs:enumeration value="unsigned int"/>
<xs:enumeration value="long"/>
<xs:enumeration value="unsigned long"/>
</xs:restriction>
</xs:simpleType>
<xs:attribute name="rangeType" type="spirit:rangeTypeType" default="float">
<xs:annotation>
<xs:documentation>Indicates the data type of the range attributes (minimum and maximum). For reasons of backward compatibility, this attribute is assumed to have the value 'float' if not present.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="order" type="xs:float">
<xs:annotation>
<xs:documentation>For components with auto-generated configuration forms, the user-resolved properties with order attibutes will be presented in ascending order.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="choiceRef" type="xs:Name">
<xs:annotation>
<xs:documentation>For user defined properties with a "choice" format, refers the choice element enumerating the values to choose from.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="choiceStyle">
<xs:annotation>
<xs:documentation>For user resolved properties with a "choice" format, this indicates whether the choices should be presented as radio buttons or as a combo box.</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:token">
<xs:enumeration value="radio">
<xs:annotation>
<xs:documentation>Display choice as radio buttons (default).</xs:documentation>
</xs:annotation>
</xs:enumeration>
<xs:enumeration value="combo">
<xs:annotation>
<xs:documentation>Display choice as combo box.</xs:documentation>
</xs:annotation>
</xs:enumeration>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
<xs:attribute name="direction">
<xs:annotation>
<xs:documentation>For user resolved properties with a "choice" format and a radio button presentation style, this indicates whether the buttons should be aligned horizontally or vertically.</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:token">
<xs:enumeration value="vertical">
<xs:annotation>
<xs:documentation>Display radio buttons vertically</xs:documentation>
</xs:annotation>
</xs:enumeration>
<xs:enumeration value="horizontal">
<xs:annotation>
<xs:documentation>Display radio buttons horizontally (default)</xs:documentation>
</xs:annotation>
</xs:enumeration>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
<xs:attribute name="configGroups" type="xs:NMTOKENS">
<xs:annotation>
<xs:documentation>Tags configurable properties so that they may be auto-configured by different ui generators. Can also be applied to top-level uiIcons to designate which auto-configured forms they will be added to.

This is a white-space delimited list of groups so a property may be configured by more than one configurator.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attributeGroup name="bool.att">
<xs:annotation>
<xs:documentation>Use this attribute group on boolean elements for which the schema supplies a default prompt attribute.</xs:documentation>
</xs:annotation>
<xs:attribute ref="spirit:format" default="bool">
<xs:annotation>
<xs:documentation>This is a hint to the user interface about the data format to require for user resolved properties.

The bool.att attribute group sets the default format to "bool".</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attributeGroup ref="spirit:common.att"/>
</xs:attributeGroup>
<xs:attributeGroup name="bool.prompt.att">
<xs:annotation>
<xs:documentation>Use this attribute group on boolean elements.</xs:documentation>
</xs:annotation>
<xs:attributeGroup ref="spirit:bool.att"/>
<xs:attribute ref="spirit:prompt"/>
</xs:attributeGroup>
<xs:attributeGroup name="long.att">
<xs:annotation>
<xs:documentation>Use this attribute group on long integer elements for which the schema supplies a default prompt attribute.</xs:documentation>
</xs:annotation>
<xs:attribute name="format" type="spirit:formatType" default="long">
<xs:annotation>
<xs:documentation>This is a hint to the user interface about the data format to require for user resolved properties.

The long.att attribute group sets the default format to "long".</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attributeGroup ref="spirit:common.att"/>
</xs:attributeGroup>
<xs:attributeGroup name="long.prompt.att">
<xs:annotation>
<xs:documentation>Use this attribute group on long integer elements.</xs:documentation>
</xs:annotation>
<xs:attributeGroup ref="spirit:long.att"/>
<xs:attribute ref="spirit:prompt"/>
</xs:attributeGroup>
<xs:attributeGroup name="general.att">
<xs:annotation>
<xs:documentation>Synonym for autoConfig.</xs:documentation>
</xs:annotation>
<xs:attributeGroup ref="spirit:autoConfig"/>
</xs:attributeGroup>
<xs:attributeGroup name="common.att">
<xs:annotation>
<xs:documentation>For internal use only.</xs:documentation>
</xs:annotation>
<xs:attributeGroup ref="spirit:configurable"/>
<xs:attribute ref="spirit:minimum">
<xs:annotation>
<xs:documentation>For user-resolved properties with numeric values, this indicates the minimum value allowed.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute ref="spirit:maximum">
<xs:annotation>
<xs:documentation>For user-resolved properties with numeric values, this indicates the maximum value allowed.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute ref="spirit:rangeType"/>
<xs:attribute ref="spirit:order">
<xs:annotation>
<xs:documentation>For components with auto-generated configuration forms, the user-resolved properties with order attibutes will be presented in ascending order.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute ref="spirit:choiceRef">
<xs:annotation>
<xs:documentation>For user resolved properties with a "choice" format, this refers to a uiChoice element in the ui section of the component file.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute ref="spirit:choiceStyle"/>
<xs:attribute ref="spirit:direction"/>
<xs:attribute ref="spirit:configGroups"/>
</xs:attributeGroup>
<xs:attributeGroup name="parameterDefinition">
<xs:annotation>
<xs:documentation>Basic attributes for defining a parameter</xs:documentation>
</xs:annotation>
<xs:attribute ref="spirit:minimum"/>
<xs:attribute ref="spirit:maximum"/>
<xs:attribute ref="spirit:rangeType"/>
<xs:attribute ref="spirit:order"/>
<xs:attribute ref="spirit:choiceRef"/>
<xs:attribute ref="spirit:choiceStyle"/>
<xs:attribute ref="spirit:direction"/>
<xs:attribute ref="spirit:configGroups"/>
<xs:attribute ref="spirit:format"/>
<xs:attribute ref="spirit:prompt"/>
<xs:anyAttribute namespace="##any" processContents="lax"/>
</xs:attributeGroup>
<xs:attributeGroup name="parameterConfiguration">
<xs:annotation>
<xs:documentation>Basic attributes for parameter configuration</xs:documentation>
</xs:annotation>
<xs:attribute ref="spirit:resolve"/>
<xs:attribute ref="spirit:id"/>
<xs:attribute ref="spirit:dependency"/>
</xs:attributeGroup>
<xs:attributeGroup name="autoConfig">
<xs:annotation>
<xs:documentation>Use this attribute group to allow all attributes associated with autoconfigurability.</xs:documentation>
</xs:annotation>
<xs:attributeGroup ref="spirit:common.att"/>
<xs:attribute ref="spirit:format"/>
<xs:attribute ref="spirit:prompt"/>
</xs:attributeGroup>
<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:element name="choices">
<xs:annotation>
<xs:documentation>Choices used by user defined properties of spirit:formatType ="choice"</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 user defined property of type spirit:formatType="choice" .</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 spirit:choiceRef attribute of user defined properties of type spirit:formatType="choice".</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="enumeration" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>A possible value of spirit:choice</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:simpleContent>
<xs:extension base="xs:string">
<xs:attribute name="text" type="xs:string">
<xs:annotation>
<xs:documentation>When specified, displayed in place of the spirit: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:extension>
</xs:simpleContent>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:schema>
Loading

0 comments on commit 24f37e2

Please sign in to comment.