expected.vhdlams 2.09 KB
<?xml version="1.0" encoding="ISO-8859-1"?>
<xmi:XMI xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:vhdlams="http://www.femto-st.fr/disc/vhdlams.ecore">
  <vhdlams:VAModel name="source">
    <package name="source">
      <designUnit xsi:type="vhdlams:Entity" name="Block1" architecture="/0/@package.0/@designUnit.1">
        <property xsi:type="vhdlams:Generic" name="v_in">
          <type href="../../../fr.femtost.disc.eclipse.vhdlamslibrary/library/vhdlPrimitive.vhdl.xmi#//@designUnit.0/@designUnit.0"/>
        </property>
      </designUnit>
      <designUnit xsi:type="vhdlams:Architecture" name="behav" entity="/0/@package.0/@designUnit.0"/>
      <designUnit xsi:type="vhdlams:Entity" name="Block2" architecture="/0/@package.0/@designUnit.3"/>
      <designUnit xsi:type="vhdlams:Architecture" name="behav" entity="/0/@package.0/@designUnit.2">
        <statement xsi:type="vhdlams:ComponentInstanciation" name="block1" type="/0/@package.0/@designUnit.0" architecture="/0/@package.0/@designUnit.1">
          <map xsi:type="vhdlams:GenericMap" from="/0/@package.0/@designUnit.0/@property.0" to="/1"/>
        </statement>
        <statement xsi:type="vhdlams:ComponentInstanciation" name="block3" type="/0/@package.0/@designUnit.4" architecture="/0/@package.0/@designUnit.5">
          <map xsi:type="vhdlams:GenericMap" from="/0/@package.0/@designUnit.4/@property.0" to="/2"/>
        </statement>
        <statement xsi:type="vhdlams:ConcurrentialStatement" body="v_in==r*i"/>
      </designUnit>
      <designUnit xsi:type="vhdlams:Entity" name="Block3" architecture="/0/@package.0/@designUnit.5">
        <property xsi:type="vhdlams:Generic" name="v_in">
          <type href="../../../fr.femtost.disc.eclipse.vhdlamslibrary/library/vhdlPrimitive.vhdl.xmi#//@designUnit.0/@designUnit.0"/>
        </property>
      </designUnit>
      <designUnit xsi:type="vhdlams:Architecture" name="behav" entity="/0/@package.0/@designUnit.4"/>
    </package>
  </vhdlams:VAModel>
  <vhdlams:Expression body="real2time(ti)"/>
  <vhdlams:Expression body="Pi"/>
</xmi:XMI>