• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

dawagner / parameter-framework / 430 / 1
75%
master: 78%

Build:
Build:
LAST BUILD BRANCH: integerparam-template
DEFAULT BRANCH: master
Ran 20 Nov 2015 12:55PM UTC
Files 233
Run time 6s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

20 Nov 2015 12:55PM UTC coverage: 74.918%. Remained the same
430.1

push

travis-ci

David Wagner
Allow ArrayLength attribute in Component tags

Numerical parameters as well as ParameterBlocks can have an "ArrayLength"
attribute that instantiate as many identical parameters or parameter blocks.

This is now also possible for Component instances (not types). When used, a
ParameterBlock is created with the name of the arrayed Component and as many
Components will be created with their names being "0", "1", "2", ...

    *** Use with caution! ***

You shouldn't define any context or instantiation mapping at or below the level
of the "arrayed" component. This also concerns the Component's type (since the
Component will inherit its type's mapping).

In other words, only use "ArrayLength" on components that do not have any
mapping and which content does not have any mapping either.

DO:

<ComponentType Name="MyType">
    <IntegerParameter Name="some_int" Size="8"/>
    <FixedPointParameter Name="some_fp" Size="8" Integral="1" Fractional="6"/>
</ComponentType>
<InstanceDefinition>
    <Component Type="MyType" ArrayLength="2"/>
</InstanceDefinition>

DON'T:

<ComponentType Name="MyType" Mapping="Ctx1:foo" Extends="SomeTypeWithMapping">
    <IntegerParameter Name="some_int" Size="8" Mapping="Instance:1"/>
    <FixedPointParameter Name="some_fp" Size="8" Integral="1" Fractional="6" Mapping="Instance:2"/>
</ComponentType>
<InstanceDefinition>
    <Component Type="MyType" ArrayLength="2" Mapping="Ctx2:bar"/>
</InstanceDefinition>

Signed-off-by: David Wagner <david.wagner@intel.com>

5003 of 6678 relevant lines covered (74.92%)

3735.65 hits per line

Source Files on job 430.1
  • Tree
  • List 0
  • Changed 1
  • Source Changed 1
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 430
  • Travis Job 430.1
  • e63e15f6 on github
  • Prev Job for on component-arrays (#421.1)
  • Next Job for on component-arrays (#431.1)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc