URL
https://opencores.org/ocsvn/socgen/socgen/trunk
Subversion Repositories socgen
Compare Revisions
- This comparison shows the changes necessary to convert path
/socgen/trunk/Projects/opencores.org/logic/ip/serial_rcvr/sim
- from Rev 134 to Rev 135
- ↔ Reverse comparison
Rev 134 → Rev 135
/bin/Makefile
File deleted
/testbenches/xml/serial_rcvr_bfm.design.xml
6,62 → 6,62
// regen by adding -tb to gen_verilog script // |
// // |
--> |
<spirit:design |
xmlns:spirit="http://www.spiritconsortium.org/XMLSchema/SPIRIT/1685-2009" |
<ipxact:design |
xmlns:ipxact="http://www.accellera.org/XMLSchema/IPXACT/1685-2014" |
xmlns:socgen="http://opencores.org" |
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
xsi:schemaLocation="http://www.spiritconsortium.org/XMLSchema/SPIRIT/1685-2009 |
http://www.spiritconsortium.org/XMLSchema/SPIRIT/1685-2009/index.xsd"> |
<spirit:vendor>opencores.org</spirit:vendor> |
<spirit:library>logic</spirit:library> |
<spirit:name>serial_rcvr</spirit:name> |
<spirit:version>bfm.design</spirit:version> |
<spirit:vendorExtensions><socgen:nodes> |
xsi:schemaLocation="http://www.accellera.org/XMLSchema/IPXACT/1685-2014 |
http://www.accellera.org/XMLSchema/IPXACT/1685-2014/index.xsd"> |
<ipxact:vendor>opencores.org</ipxact:vendor> |
<ipxact:library>logic</ipxact:library> |
<ipxact:name>serial_rcvr</ipxact:name> |
<ipxact:version>bfm.design</ipxact:version> |
<ipxact:vendorExtensions><socgen:nodes> |
|
|
<socgen:node> |
<spirit:name>xmit_edge_enable</spirit:name> |
<spirit:typeName>reg</spirit:typeName> |
<ipxact:name>xmit_edge_enable</ipxact:name> |
<ipxact:typeName>reg</ipxact:typeName> |
</socgen:node> |
|
|
|
<socgen:node> |
<spirit:name>xmit_parity_enable</spirit:name> |
<spirit:typeName>reg</spirit:typeName> |
<ipxact:name>xmit_parity_enable</ipxact:name> |
<ipxact:typeName>reg</ipxact:typeName> |
</socgen:node> |
|
|
<socgen:node> |
<spirit:name>xmit_parity_type</spirit:name> |
<spirit:typeName>reg</spirit:typeName> |
<ipxact:name>xmit_parity_type</ipxact:name> |
<ipxact:typeName>reg</ipxact:typeName> |
</socgen:node> |
|
|
|
<socgen:node> |
<spirit:name>xmit_parity_force</spirit:name> |
<spirit:typeName>reg</spirit:typeName> |
<ipxact:name>xmit_parity_force</ipxact:name> |
<ipxact:typeName>reg</ipxact:typeName> |
</socgen:node> |
|
|
|
<socgen:node> |
<spirit:name>xmit_load</spirit:name> |
<spirit:typeName>reg</spirit:typeName> |
<ipxact:name>xmit_load</ipxact:name> |
<ipxact:typeName>reg</ipxact:typeName> |
</socgen:node> |
|
|
|
<socgen:node> |
<spirit:name>xmit_start_value</spirit:name> |
<spirit:typeName>reg</spirit:typeName> |
<ipxact:name>xmit_start_value</ipxact:name> |
<ipxact:typeName>reg</ipxact:typeName> |
</socgen:node> |
|
|
<socgen:node> |
<spirit:name>xmit_stop_value</spirit:name> |
<spirit:typeName>reg</spirit:typeName> |
<ipxact:name>xmit_stop_value</ipxact:name> |
<ipxact:typeName>reg</ipxact:typeName> |
</socgen:node> |
|
|
68,17 → 68,17
|
|
<socgen:node> |
<spirit:name>xmit_data</spirit:name> |
<spirit:typeName>reg</spirit:typeName> |
<spirit:wire><spirit:vector><spirit:left>WIDTH-1</spirit:left><spirit:right>0</spirit:right></spirit:vector></spirit:wire> |
<ipxact:name>xmit_data</ipxact:name> |
<ipxact:typeName>reg</ipxact:typeName> |
<ipxact:wire><ipxact:vector><ipxact:left>WIDTH-1</ipxact:left><ipxact:right>0</ipxact:right></ipxact:vector></ipxact:wire> |
</socgen:node> |
|
|
|
<socgen:node> |
<spirit:name>shift_buffer</spirit:name> |
<spirit:typeName>wire</spirit:typeName> |
<spirit:wire><spirit:vector><spirit:left>WIDTH-1</spirit:left><spirit:right>0</spirit:right></spirit:vector></spirit:wire> |
<ipxact:name>shift_buffer</ipxact:name> |
<ipxact:typeName>wire</ipxact:typeName> |
<ipxact:wire><ipxact:vector><ipxact:left>WIDTH-1</ipxact:left><ipxact:right>0</ipxact:right></ipxact:vector></ipxact:wire> |
</socgen:node> |
|
|
86,74 → 86,74
|
|
|
</socgen:nodes></spirit:vendorExtensions> |
</socgen:nodes></ipxact:vendorExtensions> |
|
|
|
<spirit:adHocConnections> |
<ipxact:adHocConnections> |
|
<spirit:adHocConnection> |
<spirit:name>clk</spirit:name> |
<spirit:internalPortReference spirit:componentRef="dutx" spirit:portRef="clk" /> |
</spirit:adHocConnection> |
<ipxact:adHocConnection> |
<ipxact:name>clk</ipxact:name> |
<ipxact:internalPortReference componentRef="dutx" portRef="clk" /> |
</ipxact:adHocConnection> |
|
<spirit:adHocConnection> |
<spirit:name>reset</spirit:name> |
<spirit:internalPortReference spirit:componentRef="dutx" spirit:portRef="reset" /> |
</spirit:adHocConnection> |
<ipxact:adHocConnection> |
<ipxact:name>reset</ipxact:name> |
<ipxact:internalPortReference componentRef="dutx" portRef="reset" /> |
</ipxact:adHocConnection> |
|
<spirit:adHocConnection> |
<spirit:name>xmit_edge_enable</spirit:name> |
<spirit:internalPortReference spirit:componentRef="dutx" spirit:portRef="edge_enable" /> |
</spirit:adHocConnection> |
<ipxact:adHocConnection> |
<ipxact:name>xmit_edge_enable</ipxact:name> |
<ipxact:internalPortReference componentRef="dutx" portRef="edge_enable" /> |
</ipxact:adHocConnection> |
|
<spirit:adHocConnection> |
<spirit:name>xmit_parity_enable</spirit:name> |
<spirit:internalPortReference spirit:componentRef="dutx" spirit:portRef="parity_enable" /> |
</spirit:adHocConnection> |
<ipxact:adHocConnection> |
<ipxact:name>xmit_parity_enable</ipxact:name> |
<ipxact:internalPortReference componentRef="dutx" portRef="parity_enable" /> |
</ipxact:adHocConnection> |
|
<spirit:adHocConnection> |
<spirit:name>xmit_parity_type</spirit:name> |
<spirit:internalPortReference spirit:componentRef="dutx" spirit:portRef="parity_type" /> |
</spirit:adHocConnection> |
<ipxact:adHocConnection> |
<ipxact:name>xmit_parity_type</ipxact:name> |
<ipxact:internalPortReference componentRef="dutx" portRef="parity_type" /> |
</ipxact:adHocConnection> |
|
<spirit:adHocConnection> |
<spirit:name>xmit_parity_force</spirit:name> |
<spirit:internalPortReference spirit:componentRef="dutx" spirit:portRef="parity_force" /> |
</spirit:adHocConnection> |
<ipxact:adHocConnection> |
<ipxact:name>xmit_parity_force</ipxact:name> |
<ipxact:internalPortReference componentRef="dutx" portRef="parity_force" /> |
</ipxact:adHocConnection> |
|
<spirit:adHocConnection> |
<spirit:name>xmit_load</spirit:name> |
<spirit:internalPortReference spirit:componentRef="dutx" spirit:portRef="load" /> |
</spirit:adHocConnection> |
<ipxact:adHocConnection> |
<ipxact:name>xmit_load</ipxact:name> |
<ipxact:internalPortReference componentRef="dutx" portRef="load" /> |
</ipxact:adHocConnection> |
|
<spirit:adHocConnection> |
<spirit:name>xmit_start_value</spirit:name> |
<spirit:internalPortReference spirit:componentRef="dutx" spirit:portRef="start_value" /> |
</spirit:adHocConnection> |
<ipxact:adHocConnection> |
<ipxact:name>xmit_start_value</ipxact:name> |
<ipxact:internalPortReference componentRef="dutx" portRef="start_value" /> |
</ipxact:adHocConnection> |
|
<spirit:adHocConnection> |
<spirit:name>xmit_stop_value</spirit:name> |
<spirit:internalPortReference spirit:componentRef="dutx" spirit:portRef="stop_value" /> |
</spirit:adHocConnection> |
<ipxact:adHocConnection> |
<ipxact:name>xmit_stop_value</ipxact:name> |
<ipxact:internalPortReference componentRef="dutx" portRef="stop_value" /> |
</ipxact:adHocConnection> |
|
<spirit:adHocConnection> |
<spirit:name>serial</spirit:name> |
<spirit:internalPortReference spirit:componentRef="dutx" spirit:portRef="ser_out" /> |
<spirit:internalPortReference spirit:componentRef="dutr" spirit:portRef="ser_in" /> |
</spirit:adHocConnection> |
<ipxact:adHocConnection> |
<ipxact:name>serial</ipxact:name> |
<ipxact:internalPortReference componentRef="dutx" portRef="ser_out" /> |
<ipxact:internalPortReference componentRef="dutr" portRef="ser_in" /> |
</ipxact:adHocConnection> |
|
<spirit:adHocConnection> |
<spirit:name>xmit_buffer_empty</spirit:name> |
<spirit:internalPortReference spirit:componentRef="dutx" spirit:portRef="buffer_empty" /> |
</spirit:adHocConnection> |
<ipxact:adHocConnection> |
<ipxact:name>xmit_buffer_empty</ipxact:name> |
<ipxact:internalPortReference componentRef="dutx" portRef="buffer_empty" /> |
</ipxact:adHocConnection> |
|
|
|
<spirit:adHocConnection> |
<spirit:name>xmit_data</spirit:name> |
<spirit:internalPortReference spirit:componentRef="dutx" spirit:portRef="data" /> |
</spirit:adHocConnection> |
<ipxact:adHocConnection> |
<ipxact:name>xmit_data</ipxact:name> |
<ipxact:internalPortReference componentRef="dutx" portRef="data" /> |
</ipxact:adHocConnection> |
|
|
|
164,19 → 164,19
|
|
|
</spirit:adHocConnections> |
<spirit:componentInstances> |
</ipxact:adHocConnections> |
<ipxact:componentInstances> |
|
<spirit:componentInstance> |
<spirit:instanceName>dutx</spirit:instanceName> |
<spirit:componentRef spirit:vendor="opencores.org" spirit:library="cde" spirit:name="serial" spirit:version="xmit" /> |
<spirit:configurableElementValues> |
<spirit:configurableElementValue spirit:referenceId="WIDTH">8</spirit:configurableElementValue> |
<spirit:configurableElementValue spirit:referenceId="SIZE">4</spirit:configurableElementValue> |
</spirit:configurableElementValues> |
</spirit:componentInstance> |
<ipxact:componentInstance> |
<ipxact:instanceName>dutx</ipxact:instanceName> |
<ipxact:componentRef vendor="opencores.org" library="cde" name="serial" version="xmit" /> |
<ipxact:configurableElementValues> |
<ipxact:configurableElementValue referenceId="WIDTH">8</ipxact:configurableElementValue> |
<ipxact:configurableElementValue referenceId="SIZE">4</ipxact:configurableElementValue> |
</ipxact:configurableElementValues> |
</ipxact:componentInstance> |
|
|
|
</spirit:componentInstances> |
</spirit:design> |
</ipxact:componentInstances> |
</ipxact:design> |
/testbenches/xml/serial_rcvr_def_dut.params.xml
6,35 → 6,41
// // |
// // |
--> |
<spirit:component |
xmlns:spirit="http://www.spiritconsortium.org/XMLSchema/SPIRIT/1685-2009" |
<ipxact:component |
xmlns:ipxact="http://www.accellera.org/XMLSchema/IPXACT/1685-2014" |
xmlns:socgen="http://opencores.org" |
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
xsi:schemaLocation="http://www.spiritconsortium.org/XMLSchema/SPIRIT/1685-2009 |
http://www.spiritconsortium.org/XMLSchema/SPIRIT/1685-2009/index.xsd"> |
<spirit:vendor>opencores.org</spirit:vendor> |
<spirit:library>logic</spirit:library> |
<spirit:name>serial_rcvr</spirit:name> |
<spirit:version>def_dut.params</spirit:version> |
<spirit:model> |
xsi:schemaLocation="http://www.accellera.org/XMLSchema/IPXACT/1685-2014 |
http://www.accellera.org/XMLSchema/IPXACT/1685-2014/index.xsd"> |
<ipxact:vendor>opencores.org</ipxact:vendor> |
<ipxact:library>logic</ipxact:library> |
<ipxact:name>serial_rcvr</ipxact:name> |
<ipxact:version>def_dut.params</ipxact:version> |
<ipxact:model> |
<ipxact:instantiations> |
<ipxact:designInstantiation> |
<ipxact:name>Dut</ipxact:name> |
<ipxact:designRef vendor="opencores.org" library="logic" name="serial_rcvr" version="def_duth.design"/> |
</ipxact:designInstantiation> |
</ipxact:instantiations> |
|
<spirit:views> |
|
<ipxact:views> |
|
<spirit:view> |
<spirit:name>Dut</spirit:name> |
<spirit:envIdentifier></spirit:envIdentifier> |
<spirit:hierarchyRef spirit:vendor="opencores.org" |
spirit:library="logic" |
spirit:name="serial_rcvr" |
spirit:version="def_duth.design"/> |
</spirit:view> |
</spirit:views> |
<spirit:modelParameters> |
<spirit:modelParameter><spirit:name>WIDTH</spirit:name><spirit:value>8</spirit:value></spirit:modelParameter> |
<spirit:modelParameter><spirit:name>SIZE</spirit:name><spirit:value>4</spirit:value></spirit:modelParameter> |
<spirit:modelParameter><spirit:name>SAMPLE</spirit:name><spirit:value>4'b0111</spirit:value></spirit:modelParameter> |
<spirit:modelParameter><spirit:name>START_VALUE</spirit:name><spirit:value>1'b0</spirit:value></spirit:modelParameter> |
<spirit:modelParameter><spirit:name>STOP_VALUE</spirit:name><spirit:value>1'b1</spirit:value></spirit:modelParameter> |
</spirit:modelParameters> |
</spirit:model> |
</spirit:component> |
<ipxact:view> |
<ipxact:name>Dut</ipxact:name> |
<ipxact:envIdentifier></ipxact:envIdentifier> |
<ipxact:designInstantiationRef>Dut</ipxact:designInstantiationRef> |
|
|
</ipxact:view> |
</ipxact:views> |
<ipxact:modelParameters> |
<ipxact:modelParameter><ipxact:name>WIDTH</ipxact:name><ipxact:value>8</ipxact:value></ipxact:modelParameter> |
<ipxact:modelParameter><ipxact:name>SIZE</ipxact:name><ipxact:value>4</ipxact:value></ipxact:modelParameter> |
<ipxact:modelParameter><ipxact:name>SAMPLE</ipxact:name><ipxact:value>4'b0111</ipxact:value></ipxact:modelParameter> |
<ipxact:modelParameter><ipxact:name>START_VALUE</ipxact:name><ipxact:value>1'b0</ipxact:value></ipxact:modelParameter> |
<ipxact:modelParameter><ipxact:name>STOP_VALUE</ipxact:name><ipxact:value>1'b1</ipxact:value></ipxact:modelParameter> |
</ipxact:modelParameters> |
</ipxact:model> |
</ipxact:component> |
/testbenches/xml/serial_rcvr_def_duth.design.xml
6,104 → 6,104
// ./tools/verilog/gen_tb -vendor opencores.org -library logic -component serial_rcvr -version def // |
// // |
--> |
<spirit:design |
xmlns:spirit="http://www.spiritconsortium.org/XMLSchema/SPIRIT/1685-2009" |
<ipxact:design |
xmlns:ipxact="http://www.accellera.org/XMLSchema/IPXACT/1685-2014" |
xmlns:socgen="http://opencores.org" |
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
xsi:schemaLocation="http://www.spiritconsortium.org/XMLSchema/SPIRIT/1685-2009 |
http://www.spiritconsortium.org/XMLSchema/SPIRIT/1685-2009/index.xsd"> |
<spirit:vendor>opencores.org</spirit:vendor> |
<spirit:library>logic</spirit:library> |
<spirit:name>serial_rcvr</spirit:name> |
<spirit:version>def_duth.design</spirit:version> |
<spirit:adHocConnections> |
xsi:schemaLocation="http://www.accellera.org/XMLSchema/IPXACT/1685-2014 |
http://www.accellera.org/XMLSchema/IPXACT/1685-2014/index.xsd"> |
<ipxact:vendor>opencores.org</ipxact:vendor> |
<ipxact:library>logic</ipxact:library> |
<ipxact:name>serial_rcvr</ipxact:name> |
<ipxact:version>def_duth.design</ipxact:version> |
<ipxact:adHocConnections> |
|
<spirit:adHocConnection> |
<spirit:name>clk</spirit:name> |
<spirit:externalPortReference spirit:portRef="clk" /> |
<spirit:internalPortReference spirit:componentRef="dut" spirit:portRef="clk" /> |
</spirit:adHocConnection> |
<ipxact:adHocConnection> |
<ipxact:name>clk</ipxact:name> |
<ipxact:externalPortReference portRef="clk" /> |
<ipxact:internalPortReference componentRef="dut" portRef="clk" /> |
</ipxact:adHocConnection> |
|
<spirit:adHocConnection> |
<spirit:name>data_avail</spirit:name> |
<spirit:externalPortReference spirit:portRef="data_avail" /> |
<spirit:internalPortReference spirit:componentRef="dut" spirit:portRef="data_avail" /> |
</spirit:adHocConnection> |
<ipxact:adHocConnection> |
<ipxact:name>data_avail</ipxact:name> |
<ipxact:externalPortReference portRef="data_avail" /> |
<ipxact:internalPortReference componentRef="dut" portRef="data_avail" /> |
</ipxact:adHocConnection> |
|
<spirit:adHocConnection> |
<spirit:name>data_out</spirit:name> |
<spirit:externalPortReference spirit:portRef="data_out" spirit:left="WIDTH-1" spirit:right="0" /> |
<spirit:internalPortReference spirit:componentRef="dut" spirit:portRef="data_out" /> |
</spirit:adHocConnection> |
<ipxact:adHocConnection> |
<ipxact:name>data_out</ipxact:name> |
<ipxact:externalPortReference portRef="data_out" left="WIDTH-1" right="0" /> |
<ipxact:internalPortReference componentRef="dut" portRef="data_out" /> |
</ipxact:adHocConnection> |
|
<spirit:adHocConnection> |
<spirit:name>edge_enable</spirit:name> |
<spirit:externalPortReference spirit:portRef="edge_enable" /> |
<spirit:internalPortReference spirit:componentRef="dut" spirit:portRef="edge_enable" /> |
</spirit:adHocConnection> |
<ipxact:adHocConnection> |
<ipxact:name>edge_enable</ipxact:name> |
<ipxact:externalPortReference portRef="edge_enable" /> |
<ipxact:internalPortReference componentRef="dut" portRef="edge_enable" /> |
</ipxact:adHocConnection> |
|
<spirit:adHocConnection> |
<spirit:name>pad_in</spirit:name> |
<spirit:externalPortReference spirit:portRef="pad_in" /> |
<spirit:internalPortReference spirit:componentRef="dut" spirit:portRef="pad_in" /> |
</spirit:adHocConnection> |
<ipxact:adHocConnection> |
<ipxact:name>pad_in</ipxact:name> |
<ipxact:externalPortReference portRef="pad_in" /> |
<ipxact:internalPortReference componentRef="dut" portRef="pad_in" /> |
</ipxact:adHocConnection> |
|
<spirit:adHocConnection> |
<spirit:name>parity_enable</spirit:name> |
<spirit:externalPortReference spirit:portRef="parity_enable" /> |
<spirit:internalPortReference spirit:componentRef="dut" spirit:portRef="parity_enable" /> |
</spirit:adHocConnection> |
<ipxact:adHocConnection> |
<ipxact:name>parity_enable</ipxact:name> |
<ipxact:externalPortReference portRef="parity_enable" /> |
<ipxact:internalPortReference componentRef="dut" portRef="parity_enable" /> |
</ipxact:adHocConnection> |
|
<spirit:adHocConnection> |
<spirit:name>parity_error</spirit:name> |
<spirit:externalPortReference spirit:portRef="parity_error" /> |
<spirit:internalPortReference spirit:componentRef="dut" spirit:portRef="parity_error" /> |
</spirit:adHocConnection> |
<ipxact:adHocConnection> |
<ipxact:name>parity_error</ipxact:name> |
<ipxact:externalPortReference portRef="parity_error" /> |
<ipxact:internalPortReference componentRef="dut" portRef="parity_error" /> |
</ipxact:adHocConnection> |
|
<spirit:adHocConnection> |
<spirit:name>parity_force</spirit:name> |
<spirit:externalPortReference spirit:portRef="parity_force" /> |
<spirit:internalPortReference spirit:componentRef="dut" spirit:portRef="parity_force" /> |
</spirit:adHocConnection> |
<ipxact:adHocConnection> |
<ipxact:name>parity_force</ipxact:name> |
<ipxact:externalPortReference portRef="parity_force" /> |
<ipxact:internalPortReference componentRef="dut" portRef="parity_force" /> |
</ipxact:adHocConnection> |
|
<spirit:adHocConnection> |
<spirit:name>parity_type</spirit:name> |
<spirit:externalPortReference spirit:portRef="parity_type" /> |
<spirit:internalPortReference spirit:componentRef="dut" spirit:portRef="parity_type" /> |
</spirit:adHocConnection> |
<ipxact:adHocConnection> |
<ipxact:name>parity_type</ipxact:name> |
<ipxact:externalPortReference portRef="parity_type" /> |
<ipxact:internalPortReference componentRef="dut" portRef="parity_type" /> |
</ipxact:adHocConnection> |
|
<spirit:adHocConnection> |
<spirit:name>rcv_stb</spirit:name> |
<spirit:externalPortReference spirit:portRef="rcv_stb" /> |
<spirit:internalPortReference spirit:componentRef="dut" spirit:portRef="rcv_stb" /> |
</spirit:adHocConnection> |
<ipxact:adHocConnection> |
<ipxact:name>rcv_stb</ipxact:name> |
<ipxact:externalPortReference portRef="rcv_stb" /> |
<ipxact:internalPortReference componentRef="dut" portRef="rcv_stb" /> |
</ipxact:adHocConnection> |
|
<spirit:adHocConnection> |
<spirit:name>reset</spirit:name> |
<spirit:externalPortReference spirit:portRef="reset" /> |
<spirit:internalPortReference spirit:componentRef="dut" spirit:portRef="reset" /> |
</spirit:adHocConnection> |
<ipxact:adHocConnection> |
<ipxact:name>reset</ipxact:name> |
<ipxact:externalPortReference portRef="reset" /> |
<ipxact:internalPortReference componentRef="dut" portRef="reset" /> |
</ipxact:adHocConnection> |
|
<spirit:adHocConnection> |
<spirit:name>stop_error</spirit:name> |
<spirit:externalPortReference spirit:portRef="stop_error" /> |
<spirit:internalPortReference spirit:componentRef="dut" spirit:portRef="stop_error" /> |
</spirit:adHocConnection> |
<ipxact:adHocConnection> |
<ipxact:name>stop_error</ipxact:name> |
<ipxact:externalPortReference portRef="stop_error" /> |
<ipxact:internalPortReference componentRef="dut" portRef="stop_error" /> |
</ipxact:adHocConnection> |
|
|
</spirit:adHocConnections> |
<spirit:componentInstances> |
</ipxact:adHocConnections> |
<ipxact:componentInstances> |
|
<spirit:componentInstance> |
<spirit:instanceName>dut</spirit:instanceName> |
<spirit:componentRef spirit:vendor="opencores.org" spirit:library="logic" spirit:name="serial_rcvr" spirit:version="def" /> |
<spirit:configurableElementValues> |
<spirit:configurableElementValue spirit:referenceId="SAMPLE">SAMPLE</spirit:configurableElementValue> |
<spirit:configurableElementValue spirit:referenceId="SIZE">SIZE</spirit:configurableElementValue> |
<spirit:configurableElementValue spirit:referenceId="START_VALUE">START_VALUE</spirit:configurableElementValue> |
<spirit:configurableElementValue spirit:referenceId="STOP_VALUE">STOP_VALUE</spirit:configurableElementValue> |
<spirit:configurableElementValue spirit:referenceId="WIDTH">WIDTH</spirit:configurableElementValue> |
</spirit:configurableElementValues> |
</spirit:componentInstance> |
</spirit:componentInstances> |
</spirit:design> |
<ipxact:componentInstance> |
<ipxact:instanceName>dut</ipxact:instanceName> |
<ipxact:componentRef vendor="opencores.org" library="logic" name="serial_rcvr" version="def" /> |
<ipxact:configurableElementValues> |
<ipxact:configurableElementValue referenceId="SAMPLE">SAMPLE</ipxact:configurableElementValue> |
<ipxact:configurableElementValue referenceId="SIZE">SIZE</ipxact:configurableElementValue> |
<ipxact:configurableElementValue referenceId="START_VALUE">START_VALUE</ipxact:configurableElementValue> |
<ipxact:configurableElementValue referenceId="STOP_VALUE">STOP_VALUE</ipxact:configurableElementValue> |
<ipxact:configurableElementValue referenceId="WIDTH">WIDTH</ipxact:configurableElementValue> |
</ipxact:configurableElementValues> |
</ipxact:componentInstance> |
</ipxact:componentInstances> |
</ipxact:design> |
/testbenches/xml/serial_rcvr_def_lint.xml
27,92 → 27,92
// from http://www.opencores.org/lgpl.shtml // |
// // |
--> |
<spirit:component |
xmlns:spirit="http://www.spiritconsortium.org/XMLSchema/SPIRIT/1685-2009" |
<ipxact:component |
xmlns:ipxact="http://www.accellera.org/XMLSchema/IPXACT/1685-2014" |
xmlns:socgen="http://opencores.org" |
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
xsi:schemaLocation="http://www.spiritconsortium.org/XMLSchema/SPIRIT/1685-2009 |
http://www.spiritconsortium.org/XMLSchema/SPIRIT/1685-2009/index.xsd"> |
xsi:schemaLocation="http://www.accellera.org/XMLSchema/IPXACT/1685-2014 |
http://www.accellera.org/XMLSchema/IPXACT/1685-2014/index.xsd"> |
|
<spirit:vendor>opencores.org</spirit:vendor> |
<spirit:library>logic</spirit:library> |
<spirit:name>serial_rcvr</spirit:name> |
<spirit:version>def_lint</spirit:version> |
<ipxact:vendor>opencores.org</ipxact:vendor> |
<ipxact:library>logic</ipxact:library> |
<ipxact:name>serial_rcvr</ipxact:name> |
<ipxact:version>def_lint</ipxact:version> |
|
|
|
|
|
<spirit:model> |
<ipxact:model> |
|
|
<spirit:views> |
<ipxact:views> |
|
|
|
<spirit:view> |
<spirit:name>Dut</spirit:name> |
<spirit:vendorExtensions> |
<spirit:componentRef spirit:vendor="opencores.org" |
spirit:library="logic" |
spirit:name="serial_rcvr" |
spirit:version="def_dut.params"/> |
</spirit:vendorExtensions> |
</spirit:view> |
<ipxact:view> |
<ipxact:name>Dut</ipxact:name> |
<ipxact:vendorExtensions> |
<ipxact:componentRef ipxact:vendor="opencores.org" |
ipxact:library="logic" |
ipxact:name="serial_rcvr" |
ipxact:version="def_dut.params"/> |
</ipxact:vendorExtensions> |
</ipxact:view> |
|
|
|
<spirit:view> |
<spirit:name>lint</spirit:name> |
<spirit:envIdentifier>:*Lint:*</spirit:envIdentifier> |
<spirit:language>Verilog</spirit:language> |
<spirit:fileSetRef><spirit:localName>fs-lint</spirit:localName></spirit:fileSetRef> |
</spirit:view> |
<ipxact:view> |
<ipxact:name>lint</ipxact:name> |
<ipxact:envIdentifier>:*Lint:*</ipxact:envIdentifier> |
<ipxact:language>Verilog</ipxact:language> |
<ipxact:fileSetRef><ipxact:localName>fs-lint</ipxact:localName></ipxact:fileSetRef> |
</ipxact:view> |
|
|
|
<spirit:view> |
<spirit:name>rtl_check</spirit:name> |
<spirit:vendorExtensions> |
<spirit:componentRef spirit:vendor="opencores.org" |
spirit:library="Testbench" |
spirit:name="toolflow" |
spirit:version="rtl_check"/> |
</spirit:vendorExtensions> |
</spirit:view> |
<ipxact:view> |
<ipxact:name>rtl_check</ipxact:name> |
<ipxact:vendorExtensions> |
<ipxact:componentRef ipxact:vendor="opencores.org" |
ipxact:library="Testbench" |
ipxact:name="toolflow" |
ipxact:version="rtl_check"/> |
</ipxact:vendorExtensions> |
</ipxact:view> |
|
|
</spirit:views> |
</ipxact:views> |
|
|
|
</spirit:model> |
</ipxact:model> |
|
|
|
|
<spirit:fileSets> |
<ipxact:fileSets> |
|
|
|
<spirit:fileSet> |
<spirit:name>fs-lint</spirit:name> |
<ipxact:fileSet> |
<ipxact:name>fs-lint</ipxact:name> |
|
<spirit:file> |
<spirit:logicalName></spirit:logicalName> |
<spirit:name>../verilog/lint/serial_rcvr_def_lint</spirit:name> |
<spirit:fileType>verilogSource</spirit:fileType> |
<spirit:userFileType>module</spirit:userFileType> |
</spirit:file> |
<ipxact:file> |
<ipxact:logicalName></ipxact:logicalName> |
<ipxact:name>../verilog/lint/serial_rcvr_def_lint</ipxact:name> |
<ipxact:fileType>verilogSource</ipxact:fileType> |
<ipxact:userFileType>module</ipxact:userFileType> |
</ipxact:file> |
|
</spirit:fileSet> |
</ipxact:fileSet> |
|
|
|
|
|
</spirit:fileSets> |
</ipxact:fileSets> |
|
|
|
</spirit:component> |
</ipxact:component> |
/testbenches/xml/serial_rcvr_def_tb.xml
27,17 → 27,17
// from http://www.opencores.org/lgpl.shtml // |
// // |
--> |
<spirit:component |
xmlns:spirit="http://www.spiritconsortium.org/XMLSchema/SPIRIT/1685-2009" |
<ipxact:component |
xmlns:ipxact="http://www.accellera.org/XMLSchema/IPXACT/1685-2014" |
xmlns:socgen="http://opencores.org" |
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
xsi:schemaLocation="http://www.spiritconsortium.org/XMLSchema/SPIRIT/1685-2009 |
http://www.spiritconsortium.org/XMLSchema/SPIRIT/1685-2009/index.xsd"> |
xsi:schemaLocation="http://www.accellera.org/XMLSchema/IPXACT/1685-2014 |
http://www.accellera.org/XMLSchema/IPXACT/1685-2014/index.xsd"> |
|
<spirit:vendor>opencores.org</spirit:vendor> |
<spirit:library>logic</spirit:library> |
<spirit:name>serial_rcvr</spirit:name> |
<spirit:version>def_tb</spirit:version> |
<ipxact:vendor>opencores.org</ipxact:vendor> |
<ipxact:library>logic</ipxact:library> |
<ipxact:name>serial_rcvr</ipxact:name> |
<ipxact:version>def_tb</ipxact:version> |
|
|
|
44,160 → 44,160
|
|
|
<spirit:componentGenerators> |
<ipxact:componentGenerators> |
|
|
|
<spirit:componentGenerator> |
<spirit:name>gen_verilog</spirit:name> |
<spirit:phase>104.0</spirit:phase> |
<spirit:apiType>none</spirit:apiType> |
<spirit:vendorExtensions><socgen:envIdentifier>common</socgen:envIdentifier></spirit:vendorExtensions> |
<spirit:generatorExe>./tools/verilog/gen_verilog</spirit:generatorExe> |
<spirit:parameters> |
<spirit:parameter> |
<spirit:name>destination</spirit:name> |
<spirit:value>serial_rcvr_def_tb</spirit:value> |
</spirit:parameter> |
</spirit:parameters> |
</spirit:componentGenerator> |
<ipxact:componentGenerator> |
<ipxact:name>gen_verilog</ipxact:name> |
<ipxact:phase>104.0</ipxact:phase> |
<ipxact:apiType>none</ipxact:apiType> |
<ipxact:vendorExtensions><socgen:envIdentifier>:*common:*</socgen:envIdentifier></ipxact:vendorExtensions> |
<ipxact:generatorExe>tools/verilog/gen_verilog</ipxact:generatorExe> |
<ipxact:parameters> |
<ipxact:parameter> |
<ipxact:name>destination</ipxact:name> |
<ipxact:value>serial_rcvr_def_tb</ipxact:value> |
</ipxact:parameter> |
</ipxact:parameters> |
</ipxact:componentGenerator> |
|
|
|
|
</spirit:componentGenerators> |
</ipxact:componentGenerators> |
|
|
|
<spirit:model> |
<ipxact:model> |
|
|
|
|
<spirit:views> |
<ipxact:views> |
|
|
|
<spirit:view> |
<spirit:name>Params</spirit:name> |
<spirit:vendorExtensions> |
<spirit:componentRef spirit:vendor="opencores.org" |
spirit:library="logic" |
spirit:name="serial_rcvr" |
spirit:version="def_dut.params"/> |
</spirit:vendorExtensions> |
</spirit:view> |
<ipxact:view> |
<ipxact:name>Params</ipxact:name> |
<ipxact:vendorExtensions> |
<ipxact:componentRef ipxact:vendor="opencores.org" |
ipxact:library="logic" |
ipxact:name="serial_rcvr" |
ipxact:version="def_dut.params"/> |
</ipxact:vendorExtensions> |
</ipxact:view> |
|
<spirit:view> |
<spirit:name>Bfm</spirit:name> |
<spirit:hierarchyRef spirit:vendor="opencores.org" |
spirit:library="logic" |
spirit:name="serial_rcvr" |
spirit:version="bfm.design"/> |
</spirit:view> |
<ipxact:view> |
<ipxact:name>Bfm</ipxact:name> |
<ipxact:hierarchyRef ipxact:vendor="opencores.org" |
ipxact:library="logic" |
ipxact:name="serial_rcvr" |
ipxact:version="bfm.design"/> |
</ipxact:view> |
|
|
|
<spirit:view> |
<spirit:name>icarus</spirit:name> |
<spirit:vendorExtensions> |
<spirit:componentRef spirit:vendor="opencores.org" |
spirit:library="Testbench" |
spirit:name="toolflow" |
spirit:version="icarus"/> |
</spirit:vendorExtensions> |
</spirit:view> |
<ipxact:view> |
<ipxact:name>icarus</ipxact:name> |
<ipxact:vendorExtensions> |
<ipxact:componentRef ipxact:vendor="opencores.org" |
ipxact:library="Testbench" |
ipxact:name="toolflow" |
ipxact:version="icarus"/> |
</ipxact:vendorExtensions> |
</ipxact:view> |
|
|
|
|
<spirit:view> |
<spirit:name>common</spirit:name><spirit:envIdentifier>common</spirit:envIdentifier> |
<spirit:language>Verilog</spirit:language> |
<spirit:modelName></spirit:modelName> |
<spirit:fileSetRef> |
<spirit:localName>fs-common</spirit:localName> |
</spirit:fileSetRef> |
</spirit:view> |
<ipxact:view> |
<ipxact:name>common</ipxact:name><ipxact:envIdentifier>:*common:*</ipxact:envIdentifier> |
<ipxact:language>Verilog</ipxact:language> |
<ipxact:modelName></ipxact:modelName> |
<ipxact:fileSetRef> |
<ipxact:localName>fs-common</ipxact:localName> |
</ipxact:fileSetRef> |
</ipxact:view> |
|
|
<spirit:view> |
<spirit:name>sim</spirit:name><spirit:envIdentifier>:*Simulation:*</spirit:envIdentifier> |
<spirit:language>Verilog</spirit:language> |
<spirit:modelName></spirit:modelName> |
<spirit:fileSetRef> |
<spirit:localName>fs-sim</spirit:localName> |
</spirit:fileSetRef> |
</spirit:view> |
<ipxact:view> |
<ipxact:name>sim</ipxact:name><ipxact:envIdentifier>:*Simulation:*</ipxact:envIdentifier> |
<ipxact:language>Verilog</ipxact:language> |
<ipxact:modelName></ipxact:modelName> |
<ipxact:fileSetRef> |
<ipxact:localName>fs-sim</ipxact:localName> |
</ipxact:fileSetRef> |
</ipxact:view> |
|
|
|
<spirit:view> |
<spirit:name>lint</spirit:name><spirit:envIdentifier>:*Lint:*</spirit:envIdentifier> |
<spirit:language>Verilog</spirit:language> |
<spirit:modelName></spirit:modelName> |
<spirit:fileSetRef> |
<spirit:localName>fs-lint</spirit:localName> |
</spirit:fileSetRef> |
</spirit:view> |
<ipxact:view> |
<ipxact:name>lint</ipxact:name><ipxact:envIdentifier>:*Lint:*</ipxact:envIdentifier> |
<ipxact:language>Verilog</ipxact:language> |
<ipxact:modelName></ipxact:modelName> |
<ipxact:fileSetRef> |
<ipxact:localName>fs-lint</ipxact:localName> |
</ipxact:fileSetRef> |
</ipxact:view> |
|
|
|
|
</spirit:views> |
</ipxact:views> |
|
|
|
|
</spirit:model> |
</ipxact:model> |
|
|
|
<spirit:fileSets> |
<ipxact:fileSets> |
|
<spirit:fileSet> |
<spirit:name>fs-common</spirit:name> |
<ipxact:fileSet> |
<ipxact:name>fs-common</ipxact:name> |
|
<spirit:file> |
<spirit:logicalName></spirit:logicalName> |
<spirit:name>../verilog/top.ext</spirit:name> |
<spirit:fileType>verilogSource</spirit:fileType><spirit:userFileType>fragment</spirit:userFileType> |
</spirit:file> |
<ipxact:file> |
<ipxact:logicalName></ipxact:logicalName> |
<ipxact:name>../verilog/top.ext</ipxact:name> |
<ipxact:fileType>verilogSource</ipxact:fileType><ipxact:userFileType>fragment</ipxact:userFileType> |
</ipxact:file> |
|
|
</spirit:fileSet> |
</ipxact:fileSet> |
|
|
<spirit:fileSet> |
<spirit:name>fs-sim</spirit:name> |
<ipxact:fileSet> |
<ipxact:name>fs-sim</ipxact:name> |
|
<spirit:file> |
<spirit:logicalName></spirit:logicalName> |
<spirit:name>../verilog/common/serial_rcvr_def_tb</spirit:name> |
<spirit:fileType>verilogSource</spirit:fileType><spirit:userFileType>module</spirit:userFileType> |
</spirit:file> |
<ipxact:file> |
<ipxact:logicalName></ipxact:logicalName> |
<ipxact:name>../verilog/common/serial_rcvr_def_tb</ipxact:name> |
<ipxact:fileType>verilogSource</ipxact:fileType><ipxact:userFileType>module</ipxact:userFileType> |
</ipxact:file> |
|
|
|
|
</spirit:fileSet> |
</ipxact:fileSet> |
|
|
|
|
<spirit:fileSet> |
<spirit:name>fs-lint</spirit:name> |
<ipxact:fileSet> |
<ipxact:name>fs-lint</ipxact:name> |
|
<spirit:file> |
<spirit:logicalName></spirit:logicalName> |
<spirit:name>../verilog/common/serial_rcvr_def_tb</spirit:name> |
<spirit:fileType>verilogSource</spirit:fileType><spirit:userFileType>module</spirit:userFileType> |
</spirit:file> |
<ipxact:file> |
<ipxact:logicalName></ipxact:logicalName> |
<ipxact:name>../verilog/common/serial_rcvr_def_tb</ipxact:name> |
<ipxact:fileType>verilogSource</ipxact:fileType><ipxact:userFileType>module</ipxact:userFileType> |
</ipxact:file> |
|
|
|
|
</spirit:fileSet> |
</ipxact:fileSet> |
|
|
|
204,7 → 204,7
|
|
|
</spirit:fileSets> |
</ipxact:fileSets> |
|
|
|
213,4 → 213,4
|
|
|
</spirit:component> |
</ipxact:component> |
/testbenches/xml/serial_rcvr_fifo_bfm.design.xml
27,17 → 27,17
// from http://www.opencores.org/lgpl.shtml // |
// // |
--> |
<spirit:design |
xmlns:spirit="http://www.spiritconsortium.org/XMLSchema/SPIRIT/1685-2009" |
<ipxact:design |
xmlns:ipxact="http://www.accellera.org/XMLSchema/IPXACT/1685-2014" |
xmlns:socgen="http://opencores.org" |
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
xsi:schemaLocation="http://www.spiritconsortium.org/XMLSchema/SPIRIT/1685-2009 |
http://www.spiritconsortium.org/XMLSchema/SPIRIT/1685-2009/index.xsd"> |
xsi:schemaLocation="http://www.accellera.org/XMLSchema/IPXACT/1685-2014 |
http://www.accellera.org/XMLSchema/IPXACT/1685-2014/index.xsd"> |
|
<spirit:vendor>opencores.org</spirit:vendor> |
<spirit:library>logic</spirit:library> |
<spirit:name>serial_rcvr</spirit:name> |
<spirit:version>fifo_bfm.design</spirit:version> |
<ipxact:vendor>opencores.org</ipxact:vendor> |
<ipxact:library>logic</ipxact:library> |
<ipxact:name>serial_rcvr</ipxact:name> |
<ipxact:version>fifo_bfm.design</ipxact:version> |
|
|
|
48,4 → 48,4
|
|
|
</spirit:design> |
</ipxact:design> |
/testbenches/xml/serial_rcvr_fifo_dut.params.xml
6,37 → 6,48
// // |
// // |
--> |
<spirit:component |
xmlns:spirit="http://www.spiritconsortium.org/XMLSchema/SPIRIT/1685-2009" |
<ipxact:component |
xmlns:ipxact="http://www.accellera.org/XMLSchema/IPXACT/1685-2014" |
xmlns:socgen="http://opencores.org" |
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
xsi:schemaLocation="http://www.spiritconsortium.org/XMLSchema/SPIRIT/1685-2009 |
http://www.spiritconsortium.org/XMLSchema/SPIRIT/1685-2009/index.xsd"> |
<spirit:vendor>opencores.org</spirit:vendor> |
<spirit:library>logic</spirit:library> |
<spirit:name>serial_rcvr</spirit:name> |
<spirit:version>fifo_dut.params</spirit:version> |
<spirit:model> |
xsi:schemaLocation="http://www.accellera.org/XMLSchema/IPXACT/1685-2014 |
http://www.accellera.org/XMLSchema/IPXACT/1685-2014/index.xsd"> |
<ipxact:vendor>opencores.org</ipxact:vendor> |
<ipxact:library>logic</ipxact:library> |
<ipxact:name>serial_rcvr</ipxact:name> |
<ipxact:version>fifo_dut.params</ipxact:version> |
<ipxact:model> |
<ipxact:instantiations> |
<ipxact:designInstantiation> |
<ipxact:name>Dut</ipxact:name> |
<ipxact:designRef vendor="opencores.org" library="logic" name="serial_rcvr" version="fifo_duth.design"/> |
</ipxact:designInstantiation> |
</ipxact:instantiations> |
|
<spirit:views> |
|
|
|
<ipxact:views> |
|
<spirit:view> |
<spirit:name>Dut</spirit:name> |
<spirit:envIdentifier></spirit:envIdentifier> |
<spirit:hierarchyRef spirit:vendor="opencores.org" |
spirit:library="logic" |
spirit:name="serial_rcvr" |
spirit:version="fifo_duth.design"/> |
</spirit:view> |
</spirit:views> |
<spirit:modelParameters> |
<spirit:modelParameter><spirit:name>WIDTH</spirit:name><spirit:value>8</spirit:value></spirit:modelParameter> |
<spirit:modelParameter><spirit:name>SIZE</spirit:name><spirit:value>4</spirit:value></spirit:modelParameter> |
<spirit:modelParameter><spirit:name>SAMPLE</spirit:name><spirit:value>4'b0111</spirit:value></spirit:modelParameter> |
<spirit:modelParameter><spirit:name>START_VALUE</spirit:name><spirit:value>1'b0</spirit:value></spirit:modelParameter> |
<spirit:modelParameter><spirit:name>STOP_VALUE</spirit:name><spirit:value>1'b1</spirit:value></spirit:modelParameter> |
<spirit:modelParameter><spirit:name>RX_FIFO_SIZE</spirit:name><spirit:value>4</spirit:value></spirit:modelParameter> |
<spirit:modelParameter><spirit:name>RX_FIFO_WORDS</spirit:name><spirit:value>16</spirit:value></spirit:modelParameter> |
</spirit:modelParameters> |
</spirit:model> |
</spirit:component> |
<ipxact:view> |
<ipxact:name>Dut</ipxact:name> |
<ipxact:envIdentifier></ipxact:envIdentifier> |
<ipxact:designInstantiationRef>Dut</ipxact:designInstantiationRef> |
|
<ipxact:hierarchyRef ipxact:vendor="opencores.org" |
ipxact:library="logic" |
ipxact:name="serial_rcvr" |
ipxact:version="fifo_duth.design"/> |
</ipxact:view> |
</ipxact:views> |
<ipxact:modelParameters> |
<ipxact:modelParameter><ipxact:name>WIDTH</ipxact:name><ipxact:value>8</ipxact:value></ipxact:modelParameter> |
<ipxact:modelParameter><ipxact:name>SIZE</ipxact:name><ipxact:value>4</ipxact:value></ipxact:modelParameter> |
<ipxact:modelParameter><ipxact:name>SAMPLE</ipxact:name><ipxact:value>4'b0111</ipxact:value></ipxact:modelParameter> |
<ipxact:modelParameter><ipxact:name>START_VALUE</ipxact:name><ipxact:value>1'b0</ipxact:value></ipxact:modelParameter> |
<ipxact:modelParameter><ipxact:name>STOP_VALUE</ipxact:name><ipxact:value>1'b1</ipxact:value></ipxact:modelParameter> |
<ipxact:modelParameter><ipxact:name>RX_FIFO_SIZE</ipxact:name><ipxact:value>4</ipxact:value></ipxact:modelParameter> |
<ipxact:modelParameter><ipxact:name>RX_FIFO_WORDS</ipxact:name><ipxact:value>16</ipxact:value></ipxact:modelParameter> |
</ipxact:modelParameters> |
</ipxact:model> |
</ipxact:component> |
/testbenches/xml/serial_rcvr_fifo_duth.design.xml
6,106 → 6,106
// ./tools/verilog/gen_tb -vendor opencores.org -library logic -component serial_rcvr -version fifo // |
// // |
--> |
<spirit:design |
xmlns:spirit="http://www.spiritconsortium.org/XMLSchema/SPIRIT/1685-2009" |
<ipxact:design |
xmlns:ipxact="http://www.accellera.org/XMLSchema/IPXACT/1685-2014" |
xmlns:socgen="http://opencores.org" |
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
xsi:schemaLocation="http://www.spiritconsortium.org/XMLSchema/SPIRIT/1685-2009 |
http://www.spiritconsortium.org/XMLSchema/SPIRIT/1685-2009/index.xsd"> |
<spirit:vendor>opencores.org</spirit:vendor> |
<spirit:library>logic</spirit:library> |
<spirit:name>serial_rcvr</spirit:name> |
<spirit:version>fifo_duth.design</spirit:version> |
<spirit:adHocConnections> |
xsi:schemaLocation="http://www.accellera.org/XMLSchema/IPXACT/1685-2014 |
http://www.accellera.org/XMLSchema/IPXACT/1685-2014/index.xsd"> |
<ipxact:vendor>opencores.org</ipxact:vendor> |
<ipxact:library>logic</ipxact:library> |
<ipxact:name>serial_rcvr</ipxact:name> |
<ipxact:version>fifo_duth.design</ipxact:version> |
<ipxact:adHocConnections> |
|
<spirit:adHocConnection> |
<spirit:name>clk</spirit:name> |
<spirit:externalPortReference spirit:portRef="clk" /> |
<spirit:internalPortReference spirit:componentRef="dut" spirit:portRef="clk" /> |
</spirit:adHocConnection> |
<ipxact:adHocConnection> |
<ipxact:name>clk</ipxact:name> |
<ipxact:externalPortReference portRef="clk" /> |
<ipxact:internalPortReference componentRef="dut" portRef="clk" /> |
</ipxact:adHocConnection> |
|
<spirit:adHocConnection> |
<spirit:name>data_avail</spirit:name> |
<spirit:externalPortReference spirit:portRef="data_avail" /> |
<spirit:internalPortReference spirit:componentRef="dut" spirit:portRef="data_avail" /> |
</spirit:adHocConnection> |
<ipxact:adHocConnection> |
<ipxact:name>data_avail</ipxact:name> |
<ipxact:externalPortReference portRef="data_avail" /> |
<ipxact:internalPortReference componentRef="dut" portRef="data_avail" /> |
</ipxact:adHocConnection> |
|
<spirit:adHocConnection> |
<spirit:name>data_out</spirit:name> |
<spirit:externalPortReference spirit:portRef="data_out" spirit:left="WIDTH-1" spirit:right="0" /> |
<spirit:internalPortReference spirit:componentRef="dut" spirit:portRef="data_out" /> |
</spirit:adHocConnection> |
<ipxact:adHocConnection> |
<ipxact:name>data_out</ipxact:name> |
<ipxact:externalPortReference portRef="data_out" left="WIDTH-1" right="0" /> |
<ipxact:internalPortReference componentRef="dut" portRef="data_out" /> |
</ipxact:adHocConnection> |
|
<spirit:adHocConnection> |
<spirit:name>edge_enable</spirit:name> |
<spirit:externalPortReference spirit:portRef="edge_enable" /> |
<spirit:internalPortReference spirit:componentRef="dut" spirit:portRef="edge_enable" /> |
</spirit:adHocConnection> |
<ipxact:adHocConnection> |
<ipxact:name>edge_enable</ipxact:name> |
<ipxact:externalPortReference portRef="edge_enable" /> |
<ipxact:internalPortReference componentRef="dut" portRef="edge_enable" /> |
</ipxact:adHocConnection> |
|
<spirit:adHocConnection> |
<spirit:name>pad_in</spirit:name> |
<spirit:externalPortReference spirit:portRef="pad_in" /> |
<spirit:internalPortReference spirit:componentRef="dut" spirit:portRef="pad_in" /> |
</spirit:adHocConnection> |
<ipxact:adHocConnection> |
<ipxact:name>pad_in</ipxact:name> |
<ipxact:externalPortReference portRef="pad_in" /> |
<ipxact:internalPortReference componentRef="dut" portRef="pad_in" /> |
</ipxact:adHocConnection> |
|
<spirit:adHocConnection> |
<spirit:name>parity_enable</spirit:name> |
<spirit:externalPortReference spirit:portRef="parity_enable" /> |
<spirit:internalPortReference spirit:componentRef="dut" spirit:portRef="parity_enable" /> |
</spirit:adHocConnection> |
<ipxact:adHocConnection> |
<ipxact:name>parity_enable</ipxact:name> |
<ipxact:externalPortReference portRef="parity_enable" /> |
<ipxact:internalPortReference componentRef="dut" portRef="parity_enable" /> |
</ipxact:adHocConnection> |
|
<spirit:adHocConnection> |
<spirit:name>parity_error</spirit:name> |
<spirit:externalPortReference spirit:portRef="parity_error" /> |
<spirit:internalPortReference spirit:componentRef="dut" spirit:portRef="parity_error" /> |
</spirit:adHocConnection> |
<ipxact:adHocConnection> |
<ipxact:name>parity_error</ipxact:name> |
<ipxact:externalPortReference portRef="parity_error" /> |
<ipxact:internalPortReference componentRef="dut" portRef="parity_error" /> |
</ipxact:adHocConnection> |
|
<spirit:adHocConnection> |
<spirit:name>parity_force</spirit:name> |
<spirit:externalPortReference spirit:portRef="parity_force" /> |
<spirit:internalPortReference spirit:componentRef="dut" spirit:portRef="parity_force" /> |
</spirit:adHocConnection> |
<ipxact:adHocConnection> |
<ipxact:name>parity_force</ipxact:name> |
<ipxact:externalPortReference portRef="parity_force" /> |
<ipxact:internalPortReference componentRef="dut" portRef="parity_force" /> |
</ipxact:adHocConnection> |
|
<spirit:adHocConnection> |
<spirit:name>parity_type</spirit:name> |
<spirit:externalPortReference spirit:portRef="parity_type" /> |
<spirit:internalPortReference spirit:componentRef="dut" spirit:portRef="parity_type" /> |
</spirit:adHocConnection> |
<ipxact:adHocConnection> |
<ipxact:name>parity_type</ipxact:name> |
<ipxact:externalPortReference portRef="parity_type" /> |
<ipxact:internalPortReference componentRef="dut" portRef="parity_type" /> |
</ipxact:adHocConnection> |
|
<spirit:adHocConnection> |
<spirit:name>rcv_stb</spirit:name> |
<spirit:externalPortReference spirit:portRef="rcv_stb" /> |
<spirit:internalPortReference spirit:componentRef="dut" spirit:portRef="rcv_stb" /> |
</spirit:adHocConnection> |
<ipxact:adHocConnection> |
<ipxact:name>rcv_stb</ipxact:name> |
<ipxact:externalPortReference portRef="rcv_stb" /> |
<ipxact:internalPortReference componentRef="dut" portRef="rcv_stb" /> |
</ipxact:adHocConnection> |
|
<spirit:adHocConnection> |
<spirit:name>reset</spirit:name> |
<spirit:externalPortReference spirit:portRef="reset" /> |
<spirit:internalPortReference spirit:componentRef="dut" spirit:portRef="reset" /> |
</spirit:adHocConnection> |
<ipxact:adHocConnection> |
<ipxact:name>reset</ipxact:name> |
<ipxact:externalPortReference portRef="reset" /> |
<ipxact:internalPortReference componentRef="dut" portRef="reset" /> |
</ipxact:adHocConnection> |
|
<spirit:adHocConnection> |
<spirit:name>stop_error</spirit:name> |
<spirit:externalPortReference spirit:portRef="stop_error" /> |
<spirit:internalPortReference spirit:componentRef="dut" spirit:portRef="stop_error" /> |
</spirit:adHocConnection> |
<ipxact:adHocConnection> |
<ipxact:name>stop_error</ipxact:name> |
<ipxact:externalPortReference portRef="stop_error" /> |
<ipxact:internalPortReference componentRef="dut" portRef="stop_error" /> |
</ipxact:adHocConnection> |
|
|
</spirit:adHocConnections> |
<spirit:componentInstances> |
</ipxact:adHocConnections> |
<ipxact:componentInstances> |
|
<spirit:componentInstance> |
<spirit:instanceName>dut</spirit:instanceName> |
<spirit:componentRef spirit:vendor="opencores.org" spirit:library="logic" spirit:name="serial_rcvr" spirit:version="fifo" /> |
<spirit:configurableElementValues> |
<spirit:configurableElementValue spirit:referenceId="RX_FIFO_SIZE">RX_FIFO_SIZE</spirit:configurableElementValue> |
<spirit:configurableElementValue spirit:referenceId="RX_FIFO_WORDS">RX_FIFO_WORDS</spirit:configurableElementValue> |
<spirit:configurableElementValue spirit:referenceId="SAMPLE">SAMPLE</spirit:configurableElementValue> |
<spirit:configurableElementValue spirit:referenceId="SIZE">SIZE</spirit:configurableElementValue> |
<spirit:configurableElementValue spirit:referenceId="START_VALUE">START_VALUE</spirit:configurableElementValue> |
<spirit:configurableElementValue spirit:referenceId="STOP_VALUE">STOP_VALUE</spirit:configurableElementValue> |
<spirit:configurableElementValue spirit:referenceId="WIDTH">WIDTH</spirit:configurableElementValue> |
</spirit:configurableElementValues> |
</spirit:componentInstance> |
</spirit:componentInstances> |
</spirit:design> |
<ipxact:componentInstance> |
<ipxact:instanceName>dut</ipxact:instanceName> |
<ipxact:componentRef vendor="opencores.org" library="logic" name="serial_rcvr" version="fifo" /> |
<ipxact:configurableElementValues> |
<ipxact:configurableElementValue referenceId="RX_FIFO_SIZE">RX_FIFO_SIZE</ipxact:configurableElementValue> |
<ipxact:configurableElementValue referenceId="RX_FIFO_WORDS">RX_FIFO_WORDS</ipxact:configurableElementValue> |
<ipxact:configurableElementValue referenceId="SAMPLE">SAMPLE</ipxact:configurableElementValue> |
<ipxact:configurableElementValue referenceId="SIZE">SIZE</ipxact:configurableElementValue> |
<ipxact:configurableElementValue referenceId="START_VALUE">START_VALUE</ipxact:configurableElementValue> |
<ipxact:configurableElementValue referenceId="STOP_VALUE">STOP_VALUE</ipxact:configurableElementValue> |
<ipxact:configurableElementValue referenceId="WIDTH">WIDTH</ipxact:configurableElementValue> |
</ipxact:configurableElementValues> |
</ipxact:componentInstance> |
</ipxact:componentInstances> |
</ipxact:design> |
/testbenches/xml/serial_rcvr_fifo_lint.xml
27,91 → 27,91
// from http://www.opencores.org/lgpl.shtml // |
// // |
--> |
<spirit:component |
xmlns:spirit="http://www.spiritconsortium.org/XMLSchema/SPIRIT/1685-2009" |
<ipxact:component |
xmlns:ipxact="http://www.accellera.org/XMLSchema/IPXACT/1685-2014" |
xmlns:socgen="http://opencores.org" |
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
xsi:schemaLocation="http://www.spiritconsortium.org/XMLSchema/SPIRIT/1685-2009 |
http://www.spiritconsortium.org/XMLSchema/SPIRIT/1685-2009/index.xsd"> |
xsi:schemaLocation="http://www.accellera.org/XMLSchema/IPXACT/1685-2014 |
http://www.accellera.org/XMLSchema/IPXACT/1685-2014/index.xsd"> |
|
<spirit:vendor>opencores.org</spirit:vendor> |
<spirit:library>logic</spirit:library> |
<spirit:name>serial_rcvr</spirit:name> |
<spirit:version>fifo_lint</spirit:version> |
<ipxact:vendor>opencores.org</ipxact:vendor> |
<ipxact:library>logic</ipxact:library> |
<ipxact:name>serial_rcvr</ipxact:name> |
<ipxact:version>fifo_lint</ipxact:version> |
|
|
|
<spirit:model> |
<ipxact:model> |
|
|
<spirit:views> |
<ipxact:views> |
|
|
|
<spirit:view> |
<spirit:name>Dut</spirit:name> |
<spirit:vendorExtensions> |
<spirit:componentRef spirit:vendor="opencores.org" |
spirit:library="logic" |
spirit:name="serial_rcvr" |
spirit:version="fifo_dut.params"/> |
</spirit:vendorExtensions> |
</spirit:view> |
<ipxact:view> |
<ipxact:name>Dut</ipxact:name> |
<ipxact:vendorExtensions> |
<ipxact:componentRef ipxact:vendor="opencores.org" |
ipxact:library="logic" |
ipxact:name="serial_rcvr" |
ipxact:version="fifo_dut.params"/> |
</ipxact:vendorExtensions> |
</ipxact:view> |
|
|
|
<spirit:view> |
<spirit:name>lint</spirit:name> |
<spirit:envIdentifier>:*Lint:*</spirit:envIdentifier> |
<spirit:language>Verilog</spirit:language> |
<spirit:fileSetRef><spirit:localName>fs-lint</spirit:localName></spirit:fileSetRef> |
</spirit:view> |
<ipxact:view> |
<ipxact:name>lint</ipxact:name> |
<ipxact:envIdentifier>:*Lint:*</ipxact:envIdentifier> |
<ipxact:language>Verilog</ipxact:language> |
<ipxact:fileSetRef><ipxact:localName>fs-lint</ipxact:localName></ipxact:fileSetRef> |
</ipxact:view> |
|
|
<spirit:view> |
<spirit:name>rtl_check</spirit:name> |
<spirit:vendorExtensions> |
<spirit:componentRef spirit:vendor="opencores.org" |
spirit:library="Testbench" |
spirit:name="toolflow" |
spirit:version="rtl_check"/> |
</spirit:vendorExtensions> |
</spirit:view> |
<ipxact:view> |
<ipxact:name>rtl_check</ipxact:name> |
<ipxact:vendorExtensions> |
<ipxact:componentRef ipxact:vendor="opencores.org" |
ipxact:library="Testbench" |
ipxact:name="toolflow" |
ipxact:version="rtl_check"/> |
</ipxact:vendorExtensions> |
</ipxact:view> |
|
</spirit:views> |
</ipxact:views> |
|
|
|
|
|
</spirit:model> |
</ipxact:model> |
|
|
|
|
|
<spirit:fileSets> |
<ipxact:fileSets> |
|
|
|
|
<spirit:fileSet> |
<spirit:name>fs-lint</spirit:name> |
<ipxact:fileSet> |
<ipxact:name>fs-lint</ipxact:name> |
|
<spirit:file> |
<spirit:logicalName></spirit:logicalName> |
<spirit:name>../verilog/lint/serial_rcvr_fifo_lint</spirit:name> |
<spirit:fileType>verilogSource</spirit:fileType><spirit:userFileType>module</spirit:userFileType> |
</spirit:file> |
<ipxact:file> |
<ipxact:logicalName></ipxact:logicalName> |
<ipxact:name>../verilog/lint/serial_rcvr_fifo_lint</ipxact:name> |
<ipxact:fileType>verilogSource</ipxact:fileType><ipxact:userFileType>module</ipxact:userFileType> |
</ipxact:file> |
|
</spirit:fileSet> |
</ipxact:fileSet> |
|
|
|
</spirit:fileSets> |
</ipxact:fileSets> |
|
|
|
|
|
</spirit:component> |
</ipxact:component> |
/testbenches/xml/serial_rcvr_fifo_tb.xml
27,17 → 27,17
// from http://www.opencores.org/lgpl.shtml // |
// // |
--> |
<spirit:component |
xmlns:spirit="http://www.spiritconsortium.org/XMLSchema/SPIRIT/1685-2009" |
<ipxact:component |
xmlns:ipxact="http://www.accellera.org/XMLSchema/IPXACT/1685-2014" |
xmlns:socgen="http://opencores.org" |
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
xsi:schemaLocation="http://www.spiritconsortium.org/XMLSchema/SPIRIT/1685-2009 |
http://www.spiritconsortium.org/XMLSchema/SPIRIT/1685-2009/index.xsd"> |
xsi:schemaLocation="http://www.accellera.org/XMLSchema/IPXACT/1685-2014 |
http://www.accellera.org/XMLSchema/IPXACT/1685-2014/index.xsd"> |
|
<spirit:vendor>opencores.org</spirit:vendor> |
<spirit:library>logic</spirit:library> |
<spirit:name>serial_rcvr</spirit:name> |
<spirit:version>fifo_tb</spirit:version> |
<ipxact:vendor>opencores.org</ipxact:vendor> |
<ipxact:library>logic</ipxact:library> |
<ipxact:name>serial_rcvr</ipxact:name> |
<ipxact:version>fifo_tb</ipxact:version> |
|
|
|
44,167 → 44,167
|
|
|
<spirit:componentGenerators> |
<ipxact:componentGenerators> |
|
|
|
<spirit:componentGenerator> |
<spirit:name>gen_verilog</spirit:name> |
<spirit:phase>104.0</spirit:phase> |
<spirit:apiType>none</spirit:apiType> |
<spirit:vendorExtensions><socgen:envIdentifier>common</socgen:envIdentifier></spirit:vendorExtensions> |
<spirit:generatorExe>./tools/verilog/gen_verilog</spirit:generatorExe> |
<spirit:parameters> |
<spirit:parameter> |
<spirit:name>destination</spirit:name> |
<spirit:value>serial_rcvr_fifo_tb</spirit:value> |
</spirit:parameter> |
</spirit:parameters> |
</spirit:componentGenerator> |
<ipxact:componentGenerator> |
<ipxact:name>gen_verilog</ipxact:name> |
<ipxact:phase>104.0</ipxact:phase> |
<ipxact:apiType>none</ipxact:apiType> |
<ipxact:vendorExtensions><socgen:envIdentifier>:*common:*</socgen:envIdentifier></ipxact:vendorExtensions> |
<ipxact:generatorExe>tools/verilog/gen_verilog</ipxact:generatorExe> |
<ipxact:parameters> |
<ipxact:parameter> |
<ipxact:name>destination</ipxact:name> |
<ipxact:value>serial_rcvr_fifo_tb</ipxact:value> |
</ipxact:parameter> |
</ipxact:parameters> |
</ipxact:componentGenerator> |
|
|
|
|
|
</spirit:componentGenerators> |
</ipxact:componentGenerators> |
|
|
|
|
<spirit:model> |
<ipxact:model> |
|
|
|
|
<spirit:views> |
<ipxact:views> |
|
<spirit:view> |
<spirit:name>Params</spirit:name> |
<spirit:vendorExtensions> |
<spirit:componentRef spirit:vendor="opencores.org" |
spirit:library="logic" |
spirit:name="serial_rcvr" |
spirit:version="fifo_dut.params"/> |
</spirit:vendorExtensions> |
</spirit:view> |
<ipxact:view> |
<ipxact:name>Params</ipxact:name> |
<ipxact:vendorExtensions> |
<ipxact:componentRef ipxact:vendor="opencores.org" |
ipxact:library="logic" |
ipxact:name="serial_rcvr" |
ipxact:version="fifo_dut.params"/> |
</ipxact:vendorExtensions> |
</ipxact:view> |
|
|
<spirit:view> |
<spirit:name>Bfm</spirit:name> |
<spirit:hierarchyRef spirit:vendor="opencores.org" |
spirit:library="logic" |
spirit:name="serial_rcvr" |
spirit:version="bfm.design"/> |
</spirit:view> |
<ipxact:view> |
<ipxact:name>Bfm</ipxact:name> |
<ipxact:hierarchyRef ipxact:vendor="opencores.org" |
ipxact:library="logic" |
ipxact:name="serial_rcvr" |
ipxact:version="bfm.design"/> |
</ipxact:view> |
|
|
<spirit:view> |
<spirit:name>icarus</spirit:name> |
<spirit:vendorExtensions> |
<spirit:componentRef spirit:vendor="opencores.org" |
spirit:library="Testbench" |
spirit:name="toolflow" |
spirit:version="icarus"/> |
</spirit:vendorExtensions> |
</spirit:view> |
<ipxact:view> |
<ipxact:name>icarus</ipxact:name> |
<ipxact:vendorExtensions> |
<ipxact:componentRef ipxact:vendor="opencores.org" |
ipxact:library="Testbench" |
ipxact:name="toolflow" |
ipxact:version="icarus"/> |
</ipxact:vendorExtensions> |
</ipxact:view> |
|
|
|
|
<spirit:view> |
<spirit:name>common</spirit:name><spirit:envIdentifier>common</spirit:envIdentifier> |
<spirit:language>Verilog</spirit:language> |
<spirit:modelName></spirit:modelName> |
<spirit:fileSetRef> |
<spirit:localName>fs-common</spirit:localName> |
</spirit:fileSetRef> |
</spirit:view> |
<ipxact:view> |
<ipxact:name>common</ipxact:name><ipxact:envIdentifier>:*common:*</ipxact:envIdentifier> |
<ipxact:language>Verilog</ipxact:language> |
<ipxact:modelName></ipxact:modelName> |
<ipxact:fileSetRef> |
<ipxact:localName>fs-common</ipxact:localName> |
</ipxact:fileSetRef> |
</ipxact:view> |
|
|
<spirit:view> |
<spirit:name>sim</spirit:name><spirit:envIdentifier>:*Simulation:*</spirit:envIdentifier> |
<spirit:language>Verilog</spirit:language> |
<spirit:modelName></spirit:modelName> |
<spirit:fileSetRef> |
<spirit:localName>fs-sim</spirit:localName> |
</spirit:fileSetRef> |
</spirit:view> |
<ipxact:view> |
<ipxact:name>sim</ipxact:name><ipxact:envIdentifier>:*Simulation:*</ipxact:envIdentifier> |
<ipxact:language>Verilog</ipxact:language> |
<ipxact:modelName></ipxact:modelName> |
<ipxact:fileSetRef> |
<ipxact:localName>fs-sim</ipxact:localName> |
</ipxact:fileSetRef> |
</ipxact:view> |
|
|
<spirit:view> |
<spirit:name>lint</spirit:name><spirit:envIdentifier>:*Lint:*</spirit:envIdentifier> |
<spirit:language>Verilog</spirit:language> |
<spirit:modelName></spirit:modelName> |
<spirit:fileSetRef> |
<spirit:localName>fs-lint</spirit:localName> |
</spirit:fileSetRef> |
</spirit:view> |
<ipxact:view> |
<ipxact:name>lint</ipxact:name><ipxact:envIdentifier>:*Lint:*</ipxact:envIdentifier> |
<ipxact:language>Verilog</ipxact:language> |
<ipxact:modelName></ipxact:modelName> |
<ipxact:fileSetRef> |
<ipxact:localName>fs-lint</ipxact:localName> |
</ipxact:fileSetRef> |
</ipxact:view> |
|
|
|
|
</spirit:views> |
</ipxact:views> |
|
|
|
|
</spirit:model> |
</ipxact:model> |
|
|
|
|
<spirit:fileSets> |
<ipxact:fileSets> |
|
<spirit:fileSet> |
<spirit:name>fs-common</spirit:name> |
<ipxact:fileSet> |
<ipxact:name>fs-common</ipxact:name> |
|
<spirit:file> |
<spirit:logicalName></spirit:logicalName> |
<spirit:name>../verilog/top.ext</spirit:name> |
<spirit:fileType>verilogSource</spirit:fileType><spirit:userFileType>fragment</spirit:userFileType> |
</spirit:file> |
<ipxact:file> |
<ipxact:logicalName></ipxact:logicalName> |
<ipxact:name>../verilog/top.ext</ipxact:name> |
<ipxact:fileType>verilogSource</ipxact:fileType><ipxact:userFileType>fragment</ipxact:userFileType> |
</ipxact:file> |
|
|
</spirit:fileSet> |
</ipxact:fileSet> |
|
|
<spirit:fileSet> |
<spirit:name>fs-sim</spirit:name> |
<ipxact:fileSet> |
<ipxact:name>fs-sim</ipxact:name> |
|
<spirit:file> |
<spirit:logicalName></spirit:logicalName> |
<spirit:name>../verilog/common/serial_rcvr_fifo_tb</spirit:name> |
<spirit:fileType>verilogSource</spirit:fileType><spirit:userFileType>module</spirit:userFileType> |
</spirit:file> |
<ipxact:file> |
<ipxact:logicalName></ipxact:logicalName> |
<ipxact:name>../verilog/common/serial_rcvr_fifo_tb</ipxact:name> |
<ipxact:fileType>verilogSource</ipxact:fileType><ipxact:userFileType>module</ipxact:userFileType> |
</ipxact:file> |
|
|
|
|
|
</spirit:fileSet> |
</ipxact:fileSet> |
|
|
|
<spirit:fileSet> |
<spirit:name>fs-lint</spirit:name> |
<ipxact:fileSet> |
<ipxact:name>fs-lint</ipxact:name> |
|
<spirit:file> |
<spirit:logicalName></spirit:logicalName> |
<spirit:name>../verilog/common/serial_rcvr_fifo_tb</spirit:name> |
<spirit:fileType>verilogSource</spirit:fileType><spirit:userFileType>module</spirit:userFileType> |
</spirit:file> |
<ipxact:file> |
<ipxact:logicalName></ipxact:logicalName> |
<ipxact:name>../verilog/common/serial_rcvr_fifo_tb</ipxact:name> |
<ipxact:fileType>verilogSource</ipxact:fileType><ipxact:userFileType>module</ipxact:userFileType> |
</ipxact:file> |
|
|
|
|
|
</spirit:fileSet> |
</ipxact:fileSet> |
|
|
|
|
|
</spirit:fileSets> |
</ipxact:fileSets> |
|
|
|
211,4 → 211,4
|
|
|
</spirit:component> |
</ipxact:component> |