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/uart/sim/testbenches
- from Rev 134 to Rev 135
- ↔ Reverse comparison
Rev 134 → Rev 135
/xml/uart_bfm.design.xml
27,122 → 27,122
// 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>uart</spirit:name> |
<spirit:version>bfm.design</spirit:version> |
<ipxact:vendor>opencores.org</ipxact:vendor> |
<ipxact:library>logic</ipxact:library> |
<ipxact:name>uart</ipxact:name> |
<ipxact:version>bfm.design</ipxact:version> |
|
|
|
<spirit:adHocConnections> |
<ipxact:adHocConnections> |
|
|
<spirit:adHocConnection> |
<spirit:name>clk</spirit:name> |
<spirit:internalPortReference spirit:componentRef="uart_model" spirit:portRef="clk"/> |
<spirit:internalPortReference spirit:componentRef="uart_host" spirit:portRef="clk"/> |
</spirit:adHocConnection> |
<ipxact:adHocConnection> |
<ipxact:name>clk</ipxact:name> |
<ipxact:internalPortReference componentRef="uart_model" portRef="clk"/> |
<ipxact:internalPortReference componentRef="uart_host" portRef="clk"/> |
</ipxact:adHocConnection> |
|
<spirit:adHocConnection> |
<spirit:name>reset</spirit:name> |
<spirit:internalPortReference spirit:componentRef="uart_model" spirit:portRef="reset"/> |
<spirit:internalPortReference spirit:componentRef="uart_host" spirit:portRef="reset"/> |
</spirit:adHocConnection> |
<ipxact:adHocConnection> |
<ipxact:name>reset</ipxact:name> |
<ipxact:internalPortReference componentRef="uart_model" portRef="reset"/> |
<ipxact:internalPortReference componentRef="uart_host" portRef="reset"/> |
</ipxact:adHocConnection> |
|
|
<spirit:adHocConnection> |
<spirit:name>txd_pad_out</spirit:name> |
<spirit:internalPortReference spirit:componentRef="uart_model" spirit:portRef="txd_in"/> |
</spirit:adHocConnection> |
<ipxact:adHocConnection> |
<ipxact:name>txd_pad_out</ipxact:name> |
<ipxact:internalPortReference componentRef="uart_model" portRef="txd_in"/> |
</ipxact:adHocConnection> |
|
<spirit:adHocConnection> |
<spirit:name>rxd_pad_in</spirit:name> |
<spirit:internalPortReference spirit:componentRef="uart_model" spirit:portRef="rxd_out"/> |
</spirit:adHocConnection> |
<ipxact:adHocConnection> |
<ipxact:name>rxd_pad_in</ipxact:name> |
<ipxact:internalPortReference componentRef="uart_model" portRef="rxd_out"/> |
</ipxact:adHocConnection> |
|
<spirit:adHocConnection> |
<spirit:name>parity_enable</spirit:name> |
<spirit:internalPortReference spirit:componentRef="uart_host" spirit:portRef="parity_enable"/> |
</spirit:adHocConnection> |
<ipxact:adHocConnection> |
<ipxact:name>parity_enable</ipxact:name> |
<ipxact:internalPortReference componentRef="uart_host" portRef="parity_enable"/> |
</ipxact:adHocConnection> |
|
<spirit:adHocConnection> |
<spirit:name>txd_parity</spirit:name> |
<spirit:internalPortReference spirit:componentRef="uart_host" spirit:portRef="txd_parity"/> |
</spirit:adHocConnection> |
<ipxact:adHocConnection> |
<ipxact:name>txd_parity</ipxact:name> |
<ipxact:internalPortReference componentRef="uart_host" portRef="txd_parity"/> |
</ipxact:adHocConnection> |
|
<spirit:adHocConnection> |
<spirit:name>txd_force_parity</spirit:name> |
<spirit:internalPortReference spirit:componentRef="uart_host" spirit:portRef="txd_force_parity"/> |
</spirit:adHocConnection> |
<ipxact:adHocConnection> |
<ipxact:name>txd_force_parity</ipxact:name> |
<ipxact:internalPortReference componentRef="uart_host" portRef="txd_force_parity"/> |
</ipxact:adHocConnection> |
|
<spirit:adHocConnection> |
<spirit:name>txd_data_in</spirit:name> |
<spirit:internalPortReference spirit:componentRef="uart_host" spirit:portRef="txd_data_in"/> |
</spirit:adHocConnection> |
<ipxact:adHocConnection> |
<ipxact:name>txd_data_in</ipxact:name> |
<ipxact:internalPortReference componentRef="uart_host" portRef="txd_data_in"/> |
</ipxact:adHocConnection> |
|
<spirit:adHocConnection> |
<spirit:name>txd_buffer_empty</spirit:name> |
<spirit:internalPortReference spirit:componentRef="uart_host" spirit:portRef="txd_buffer_empty"/> |
</spirit:adHocConnection> |
<ipxact:adHocConnection> |
<ipxact:name>txd_buffer_empty</ipxact:name> |
<ipxact:internalPortReference componentRef="uart_host" portRef="txd_buffer_empty"/> |
</ipxact:adHocConnection> |
|
<spirit:adHocConnection> |
<spirit:name>txd_load</spirit:name> |
<spirit:internalPortReference spirit:componentRef="uart_host" spirit:portRef="txd_load"/> |
</spirit:adHocConnection> |
<ipxact:adHocConnection> |
<ipxact:name>txd_load</ipxact:name> |
<ipxact:internalPortReference componentRef="uart_host" portRef="txd_load"/> |
</ipxact:adHocConnection> |
|
<spirit:adHocConnection> |
<spirit:name>txd_break</spirit:name> |
<spirit:internalPortReference spirit:componentRef="uart_host" spirit:portRef="txd_break"/> |
</spirit:adHocConnection> |
<ipxact:adHocConnection> |
<ipxact:name>txd_break</ipxact:name> |
<ipxact:internalPortReference componentRef="uart_host" portRef="txd_break"/> |
</ipxact:adHocConnection> |
|
<spirit:adHocConnection> |
<spirit:name>rxd_parity</spirit:name> |
<spirit:internalPortReference spirit:componentRef="uart_host" spirit:portRef="rxd_parity"/> |
</spirit:adHocConnection> |
<ipxact:adHocConnection> |
<ipxact:name>rxd_parity</ipxact:name> |
<ipxact:internalPortReference componentRef="uart_host" portRef="rxd_parity"/> |
</ipxact:adHocConnection> |
|
<spirit:adHocConnection> |
<spirit:name>rxd_force_parity</spirit:name> |
<spirit:internalPortReference spirit:componentRef="uart_host" spirit:portRef="rxd_force_parity"/> |
</spirit:adHocConnection> |
<ipxact:adHocConnection> |
<ipxact:name>rxd_force_parity</ipxact:name> |
<ipxact:internalPortReference componentRef="uart_host" portRef="rxd_force_parity"/> |
</ipxact:adHocConnection> |
|
|
<spirit:adHocConnection> |
<spirit:name>rxd_data_out</spirit:name> |
<spirit:internalPortReference spirit:componentRef="uart_host" spirit:portRef="rxd_data_out"/> |
</spirit:adHocConnection> |
<ipxact:adHocConnection> |
<ipxact:name>rxd_data_out</ipxact:name> |
<ipxact:internalPortReference componentRef="uart_host" portRef="rxd_data_out"/> |
</ipxact:adHocConnection> |
|
|
<spirit:adHocConnection> |
<spirit:name>rxd_data_avail</spirit:name> |
<spirit:internalPortReference spirit:componentRef="uart_host" spirit:portRef="rxd_data_avail"/> |
</spirit:adHocConnection> |
<ipxact:adHocConnection> |
<ipxact:name>rxd_data_avail</ipxact:name> |
<ipxact:internalPortReference componentRef="uart_host" portRef="rxd_data_avail"/> |
</ipxact:adHocConnection> |
|
|
<spirit:adHocConnection> |
<spirit:name>rxd_data_avail_stb</spirit:name> |
<spirit:internalPortReference spirit:componentRef="uart_host" spirit:portRef="rxd_data_avail_stb"/> |
</spirit:adHocConnection> |
<ipxact:adHocConnection> |
<ipxact:name>rxd_data_avail_stb</ipxact:name> |
<ipxact:internalPortReference componentRef="uart_host" portRef="rxd_data_avail_stb"/> |
</ipxact:adHocConnection> |
|
<spirit:adHocConnection> |
<spirit:name>rxd_stop_error</spirit:name> |
<spirit:internalPortReference spirit:componentRef="uart_host" spirit:portRef="rxd_stop_error"/> |
</spirit:adHocConnection> |
<ipxact:adHocConnection> |
<ipxact:name>rxd_stop_error</ipxact:name> |
<ipxact:internalPortReference componentRef="uart_host" portRef="rxd_stop_error"/> |
</ipxact:adHocConnection> |
|
|
<spirit:adHocConnection> |
<spirit:name>rxd_parity_error</spirit:name> |
<spirit:internalPortReference spirit:componentRef="uart_host" spirit:portRef="rxd_parity_error"/> |
</spirit:adHocConnection> |
<ipxact:adHocConnection> |
<ipxact:name>rxd_parity_error</ipxact:name> |
<ipxact:internalPortReference componentRef="uart_host" portRef="rxd_parity_error"/> |
</ipxact:adHocConnection> |
|
|
</spirit:adHocConnections> |
</ipxact:adHocConnections> |
|
|
|
151,28 → 151,28
|
|
|
<spirit:componentInstances> |
<ipxact:componentInstances> |
|
|
|
<spirit:componentInstance> |
<spirit:instanceName>uart_host</spirit:instanceName> <spirit:componentRef spirit:vendor="opencores.org" spirit:library="Testbench" spirit:name="uart_host" spirit:version="def" /> |
</spirit:componentInstance> |
<ipxact:componentInstance> |
<ipxact:instanceName>uart_host</ipxact:instanceName> <ipxact:componentRef vendor="opencores.org" library="Testbench" name="uart_host" version="def" /> |
</ipxact:componentInstance> |
|
|
|
<spirit:componentInstance> |
<spirit:instanceName>uart_model</spirit:instanceName> <spirit:componentRef spirit:vendor="opencores.org" spirit:library="Testbench" spirit:name="uart_model" spirit:version="def" /> |
<spirit:configurableElementValues> |
<spirit:configurableElementValue spirit:referenceId="CLKCNT">UART_MODEL_CLKCNT</spirit:configurableElementValue> |
<spirit:configurableElementValue spirit:referenceId="SIZE">UART_MODEL_SIZE</spirit:configurableElementValue> |
</spirit:configurableElementValues> |
</spirit:componentInstance> |
<ipxact:componentInstance> |
<ipxact:instanceName>uart_model</ipxact:instanceName> <ipxact:componentRef vendor="opencores.org" library="Testbench" name="uart_model" version="def" /> |
<ipxact:configurableElementValues> |
<ipxact:configurableElementValue referenceId="CLKCNT">UART_MODEL_CLKCNT</ipxact:configurableElementValue> |
<ipxact:configurableElementValue referenceId="SIZE">UART_MODEL_SIZE</ipxact:configurableElementValue> |
</ipxact:configurableElementValues> |
</ipxact:componentInstance> |
|
|
|
|
</spirit:componentInstances> |
</ipxact:componentInstances> |
|
|
|
181,4 → 181,4
|
|
|
</spirit:design> |
</ipxact:design> |
/xml/uart_def_dut.params.xml
6,35 → 6,35
// // |
// // |
--> |
<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>uart</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>uart</ipxact:name> |
<ipxact:version>def_dut.params</ipxact:version> |
<ipxact:model> |
|
<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="uart" |
spirit:version="def_duth.design"/> |
</spirit:view> |
</spirit:views> |
<spirit:modelParameters> |
<spirit:modelParameter><spirit:name>PRESCALE</spirit:name><spirit:value>5'b01100</spirit:value></spirit:modelParameter> |
<spirit:modelParameter><spirit:name>PRE_SIZE</spirit:name><spirit:value>5</spirit:value></spirit:modelParameter> |
<spirit:modelParameter><spirit:name>SIZE</spirit:name><spirit:value>8</spirit:value></spirit:modelParameter> |
<spirit:modelParameter><spirit:name>DIV</spirit:name><spirit:value>0</spirit:value></spirit:modelParameter> |
<spirit:modelParameter><spirit:name>DIV_SIZE</spirit:name><spirit:value>4</spirit:value></spirit:modelParameter> |
</spirit:modelParameters> |
</spirit:model> |
</spirit:component> |
<ipxact:view> |
<ipxact:name>Dut</ipxact:name> |
<ipxact:envIdentifier></ipxact:envIdentifier> |
<ipxact:hierarchyRef ipxact:vendor="opencores.org" |
ipxact:library="logic" |
ipxact:name="uart" |
ipxact:version="def_duth.design"/> |
</ipxact:view> |
</ipxact:views> |
<ipxact:modelParameters> |
<ipxact:modelParameter><ipxact:name>PRESCALE</ipxact:name><ipxact:value>5'b01100</ipxact:value></ipxact:modelParameter> |
<ipxact:modelParameter><ipxact:name>PRE_SIZE</ipxact:name><ipxact:value>5</ipxact:value></ipxact:modelParameter> |
<ipxact:modelParameter><ipxact:name>SIZE</ipxact:name><ipxact:value>8</ipxact:value></ipxact:modelParameter> |
<ipxact:modelParameter><ipxact:name>DIV</ipxact:name><ipxact:value>0</ipxact:value></ipxact:modelParameter> |
<ipxact:modelParameter><ipxact:name>DIV_SIZE</ipxact:name><ipxact:value>4</ipxact:value></ipxact:modelParameter> |
</ipxact:modelParameters> |
</ipxact:model> |
</ipxact:component> |
/xml/uart_def_duth.design.xml
6,182 → 6,172
// ./tools/verilog/gen_tb -vendor opencores.org -library logic -component uart -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>uart</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>uart</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>cts_out</spirit:name> |
<spirit:externalPortReference spirit:portRef="cts_out" /> |
<spirit:internalPortReference spirit:componentRef="dut" spirit:portRef="cts_out" /> |
</spirit:adHocConnection> |
<ipxact:adHocConnection> |
<ipxact:name>cts_out</ipxact:name> |
<ipxact:externalPortReference portRef="cts_out" /> |
<ipxact:internalPortReference componentRef="dut" portRef="cts_out" /> |
</ipxact:adHocConnection> |
|
<spirit:adHocConnection> |
<spirit:name>cts_pad_in</spirit:name> |
<spirit:externalPortReference spirit:portRef="cts_pad_in" /> |
<spirit:internalPortReference spirit:componentRef="dut" spirit:portRef="cts_pad_in" /> |
</spirit:adHocConnection> |
<ipxact:adHocConnection> |
<ipxact:name>cts_pad_in</ipxact:name> |
<ipxact:externalPortReference portRef="cts_pad_in" /> |
<ipxact:internalPortReference componentRef="dut" portRef="cts_pad_in" /> |
</ipxact:adHocConnection> |
|
<spirit:adHocConnection> |
<spirit:name>divider_in</spirit:name> |
<spirit:externalPortReference spirit:portRef="divider_in" spirit:left="DIV_SIZE-1" spirit:right="0" /> |
<spirit:internalPortReference spirit:componentRef="dut" spirit:portRef="divider_in" /> |
</spirit:adHocConnection> |
<ipxact:adHocConnection> |
<ipxact:name>divider_in</ipxact:name> |
<ipxact:externalPortReference portRef="divider_in" left="DIV_SIZE-1" right="0" /> |
<ipxact:internalPortReference componentRef="dut" portRef="divider_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>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>rts_in</spirit:name> |
<spirit:externalPortReference spirit:portRef="rts_in" /> |
<spirit:internalPortReference spirit:componentRef="dut" spirit:portRef="rts_in" /> |
</spirit:adHocConnection> |
<ipxact:adHocConnection> |
<ipxact:name>rts_in</ipxact:name> |
<ipxact:externalPortReference portRef="rts_in" /> |
<ipxact:internalPortReference componentRef="dut" portRef="rts_in" /> |
</ipxact:adHocConnection> |
|
<spirit:adHocConnection> |
<spirit:name>rts_pad_out</spirit:name> |
<spirit:externalPortReference spirit:portRef="rts_pad_out" /> |
<spirit:internalPortReference spirit:componentRef="dut" spirit:portRef="rts_pad_out" /> |
</spirit:adHocConnection> |
<ipxact:adHocConnection> |
<ipxact:name>rts_pad_out</ipxact:name> |
<ipxact:externalPortReference portRef="rts_pad_out" /> |
<ipxact:internalPortReference componentRef="dut" portRef="rts_pad_out" /> |
</ipxact:adHocConnection> |
|
<spirit:adHocConnection> |
<spirit:name>rxd_data_avail</spirit:name> |
<spirit:externalPortReference spirit:portRef="rxd_data_avail" /> |
<spirit:internalPortReference spirit:componentRef="dut" spirit:portRef="rxd_data_avail" /> |
</spirit:adHocConnection> |
<ipxact:adHocConnection> |
<ipxact:name>rxd_data_avail</ipxact:name> |
<ipxact:externalPortReference portRef="rxd_data_avail" /> |
<ipxact:internalPortReference componentRef="dut" portRef="rxd_data_avail" /> |
</ipxact:adHocConnection> |
|
<spirit:adHocConnection> |
<spirit:name>rxd_data_avail_IRQ</spirit:name> |
<spirit:externalPortReference spirit:portRef="rxd_data_avail_IRQ" /> |
<spirit:internalPortReference spirit:componentRef="dut" spirit:portRef="rxd_data_avail_IRQ" /> |
</spirit:adHocConnection> |
|
<spirit:adHocConnection> |
<spirit:name>rxd_data_avail_stb</spirit:name> |
<spirit:externalPortReference spirit:portRef="rxd_data_avail_stb" /> |
<spirit:internalPortReference spirit:componentRef="dut" spirit:portRef="rxd_data_avail_stb" /> |
</spirit:adHocConnection> |
<ipxact:adHocConnection> |
<ipxact:name>rxd_data_avail_stb</ipxact:name> |
<ipxact:externalPortReference portRef="rxd_data_avail_stb" /> |
<ipxact:internalPortReference componentRef="dut" portRef="rxd_data_avail_stb" /> |
</ipxact:adHocConnection> |
|
<spirit:adHocConnection> |
<spirit:name>rxd_data_out</spirit:name> |
<spirit:externalPortReference spirit:portRef="rxd_data_out" spirit:left="SIZE-1" spirit:right="0" /> |
<spirit:internalPortReference spirit:componentRef="dut" spirit:portRef="rxd_data_out" /> |
</spirit:adHocConnection> |
<ipxact:adHocConnection> |
<ipxact:name>rxd_data_out</ipxact:name> |
<ipxact:externalPortReference portRef="rxd_data_out" left="SIZE-1" right="0" /> |
<ipxact:internalPortReference componentRef="dut" portRef="rxd_data_out" /> |
</ipxact:adHocConnection> |
|
<spirit:adHocConnection> |
<spirit:name>rxd_force_parity</spirit:name> |
<spirit:externalPortReference spirit:portRef="rxd_force_parity" /> |
<spirit:internalPortReference spirit:componentRef="dut" spirit:portRef="rxd_force_parity" /> |
</spirit:adHocConnection> |
<ipxact:adHocConnection> |
<ipxact:name>rxd_force_parity</ipxact:name> |
<ipxact:externalPortReference portRef="rxd_force_parity" /> |
<ipxact:internalPortReference componentRef="dut" portRef="rxd_force_parity" /> |
</ipxact:adHocConnection> |
|
<spirit:adHocConnection> |
<spirit:name>rxd_pad_in</spirit:name> |
<spirit:externalPortReference spirit:portRef="rxd_pad_in" /> |
<spirit:internalPortReference spirit:componentRef="dut" spirit:portRef="rxd_pad_in" /> |
</spirit:adHocConnection> |
<ipxact:adHocConnection> |
<ipxact:name>rxd_pad_in</ipxact:name> |
<ipxact:externalPortReference portRef="rxd_pad_in" /> |
<ipxact:internalPortReference componentRef="dut" portRef="rxd_pad_in" /> |
</ipxact:adHocConnection> |
|
<spirit:adHocConnection> |
<spirit:name>rxd_parity</spirit:name> |
<spirit:externalPortReference spirit:portRef="rxd_parity" /> |
<spirit:internalPortReference spirit:componentRef="dut" spirit:portRef="rxd_parity" /> |
</spirit:adHocConnection> |
<ipxact:adHocConnection> |
<ipxact:name>rxd_parity</ipxact:name> |
<ipxact:externalPortReference portRef="rxd_parity" /> |
<ipxact:internalPortReference componentRef="dut" portRef="rxd_parity" /> |
</ipxact:adHocConnection> |
|
<spirit:adHocConnection> |
<spirit:name>rxd_parity_error</spirit:name> |
<spirit:externalPortReference spirit:portRef="rxd_parity_error" /> |
<spirit:internalPortReference spirit:componentRef="dut" spirit:portRef="rxd_parity_error" /> |
</spirit:adHocConnection> |
<ipxact:adHocConnection> |
<ipxact:name>rxd_parity_error</ipxact:name> |
<ipxact:externalPortReference portRef="rxd_parity_error" /> |
<ipxact:internalPortReference componentRef="dut" portRef="rxd_parity_error" /> |
</ipxact:adHocConnection> |
|
<spirit:adHocConnection> |
<spirit:name>rxd_stop_error</spirit:name> |
<spirit:externalPortReference spirit:portRef="rxd_stop_error" /> |
<spirit:internalPortReference spirit:componentRef="dut" spirit:portRef="rxd_stop_error" /> |
</spirit:adHocConnection> |
<ipxact:adHocConnection> |
<ipxact:name>rxd_stop_error</ipxact:name> |
<ipxact:externalPortReference portRef="rxd_stop_error" /> |
<ipxact:internalPortReference componentRef="dut" portRef="rxd_stop_error" /> |
</ipxact:adHocConnection> |
|
<spirit:adHocConnection> |
<spirit:name>txd_break</spirit:name> |
<spirit:externalPortReference spirit:portRef="txd_break" /> |
<spirit:internalPortReference spirit:componentRef="dut" spirit:portRef="txd_break" /> |
</spirit:adHocConnection> |
<ipxact:adHocConnection> |
<ipxact:name>txd_break</ipxact:name> |
<ipxact:externalPortReference portRef="txd_break" /> |
<ipxact:internalPortReference componentRef="dut" portRef="txd_break" /> |
</ipxact:adHocConnection> |
|
<spirit:adHocConnection> |
<spirit:name>txd_buffer_empty</spirit:name> |
<spirit:externalPortReference spirit:portRef="txd_buffer_empty" /> |
<spirit:internalPortReference spirit:componentRef="dut" spirit:portRef="txd_buffer_empty" /> |
</spirit:adHocConnection> |
<ipxact:adHocConnection> |
<ipxact:name>txd_buffer_empty</ipxact:name> |
<ipxact:externalPortReference portRef="txd_buffer_empty" /> |
<ipxact:internalPortReference componentRef="dut" portRef="txd_buffer_empty" /> |
</ipxact:adHocConnection> |
|
<spirit:adHocConnection> |
<spirit:name>txd_buffer_empty_NIRQ</spirit:name> |
<spirit:externalPortReference spirit:portRef="txd_buffer_empty_NIRQ" /> |
<spirit:internalPortReference spirit:componentRef="dut" spirit:portRef="txd_buffer_empty_NIRQ" /> |
</spirit:adHocConnection> |
|
<spirit:adHocConnection> |
<spirit:name>txd_data_in</spirit:name> |
<spirit:externalPortReference spirit:portRef="txd_data_in" spirit:left="SIZE-1" spirit:right="0" /> |
<spirit:internalPortReference spirit:componentRef="dut" spirit:portRef="txd_data_in" /> |
</spirit:adHocConnection> |
<ipxact:adHocConnection> |
<ipxact:name>txd_data_in</ipxact:name> |
<ipxact:externalPortReference portRef="txd_data_in" left="SIZE-1" right="0" /> |
<ipxact:internalPortReference componentRef="dut" portRef="txd_data_in" /> |
</ipxact:adHocConnection> |
|
<spirit:adHocConnection> |
<spirit:name>txd_force_parity</spirit:name> |
<spirit:externalPortReference spirit:portRef="txd_force_parity" /> |
<spirit:internalPortReference spirit:componentRef="dut" spirit:portRef="txd_force_parity" /> |
</spirit:adHocConnection> |
<ipxact:adHocConnection> |
<ipxact:name>txd_force_parity</ipxact:name> |
<ipxact:externalPortReference portRef="txd_force_parity" /> |
<ipxact:internalPortReference componentRef="dut" portRef="txd_force_parity" /> |
</ipxact:adHocConnection> |
|
<spirit:adHocConnection> |
<spirit:name>txd_load</spirit:name> |
<spirit:externalPortReference spirit:portRef="txd_load" /> |
<spirit:internalPortReference spirit:componentRef="dut" spirit:portRef="txd_load" /> |
</spirit:adHocConnection> |
<ipxact:adHocConnection> |
<ipxact:name>txd_load</ipxact:name> |
<ipxact:externalPortReference portRef="txd_load" /> |
<ipxact:internalPortReference componentRef="dut" portRef="txd_load" /> |
</ipxact:adHocConnection> |
|
<spirit:adHocConnection> |
<spirit:name>txd_pad_out</spirit:name> |
<spirit:externalPortReference spirit:portRef="txd_pad_out" /> |
<spirit:internalPortReference spirit:componentRef="dut" spirit:portRef="txd_pad_out" /> |
</spirit:adHocConnection> |
<ipxact:adHocConnection> |
<ipxact:name>txd_pad_out</ipxact:name> |
<ipxact:externalPortReference portRef="txd_pad_out" /> |
<ipxact:internalPortReference componentRef="dut" portRef="txd_pad_out" /> |
</ipxact:adHocConnection> |
|
<spirit:adHocConnection> |
<spirit:name>txd_parity</spirit:name> |
<spirit:externalPortReference spirit:portRef="txd_parity" /> |
<spirit:internalPortReference spirit:componentRef="dut" spirit:portRef="txd_parity" /> |
</spirit:adHocConnection> |
<ipxact:adHocConnection> |
<ipxact:name>txd_parity</ipxact:name> |
<ipxact:externalPortReference portRef="txd_parity" /> |
<ipxact:internalPortReference componentRef="dut" portRef="txd_parity" /> |
</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="uart" spirit:version="def" /> |
<spirit:configurableElementValues> |
<spirit:configurableElementValue spirit:referenceId="DIV">DIV</spirit:configurableElementValue> |
<spirit:configurableElementValue spirit:referenceId="DIV_SIZE">DIV_SIZE</spirit:configurableElementValue> |
<spirit:configurableElementValue spirit:referenceId="PRESCALE">PRESCALE</spirit:configurableElementValue> |
<spirit:configurableElementValue spirit:referenceId="PRE_SIZE">PRE_SIZE</spirit:configurableElementValue> |
<spirit:configurableElementValue spirit:referenceId="SIZE">SIZE</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="uart" version="def" /> |
<ipxact:configurableElementValues> |
<ipxact:configurableElementValue referenceId="DIV">DIV</ipxact:configurableElementValue> |
<ipxact:configurableElementValue referenceId="DIV_SIZE">DIV_SIZE</ipxact:configurableElementValue> |
<ipxact:configurableElementValue referenceId="PRESCALE">PRESCALE</ipxact:configurableElementValue> |
<ipxact:configurableElementValue referenceId="PRE_SIZE">PRE_SIZE</ipxact:configurableElementValue> |
<ipxact:configurableElementValue referenceId="SIZE">SIZE</ipxact:configurableElementValue> |
</ipxact:configurableElementValues> |
</ipxact:componentInstance> |
</ipxact:componentInstances> |
</ipxact:design> |
/xml/uart_def_lint.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>uart</spirit:name> |
<spirit:version>def_lint</spirit:version> |
<ipxact:vendor>opencores.org</ipxact:vendor> |
<ipxact:library>logic</ipxact:library> |
<ipxact:name>uart</ipxact:name> |
<ipxact:version>def_lint</ipxact:version> |
|
|
|
44,44 → 44,44
|
|
|
<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="uart" |
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="uart" |
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> |
|
|
|
90,34 → 90,34
|
|
|
</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/uart_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/uart_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> |
/xml/uart_def_tb.xml
27,129 → 27,129
// 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>uart</spirit:name> |
<spirit:version>def_tb</spirit:version> |
<ipxact:vendor>opencores.org</ipxact:vendor> |
<ipxact:library>logic</ipxact:library> |
<ipxact:name>uart</ipxact:name> |
<ipxact:version>def_tb</ipxact:version> |
|
|
|
|
<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>uart_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>uart_def_tb</ipxact:value> |
</ipxact:parameter> |
</ipxact:parameters> |
</ipxact:componentGenerator> |
|
|
|
</spirit:componentGenerators> |
</ipxact:componentGenerators> |
|
|
|
|
<spirit:model> |
<ipxact:model> |
|
<spirit:modelParameters> |
<spirit:modelParameter><spirit:name>UART_MODEL_CLKCNT</spirit:name><spirit:value>4'hc</spirit:value></spirit:modelParameter> |
<spirit:modelParameter><spirit:name>UART_MODEL_SIZE</spirit:name><spirit:value>4</spirit:value></spirit:modelParameter> |
<spirit:modelParameter><spirit:name>DIVIDER</spirit:name><spirit:value>4'b0000</spirit:value></spirit:modelParameter> |
</spirit:modelParameters> |
<ipxact:modelParameters> |
<ipxact:modelParameter><ipxact:name>UART_MODEL_CLKCNT</ipxact:name><ipxact:value>4'hc</ipxact:value></ipxact:modelParameter> |
<ipxact:modelParameter><ipxact:name>UART_MODEL_SIZE</ipxact:name><ipxact:value>4</ipxact:value></ipxact:modelParameter> |
<ipxact:modelParameter><ipxact:name>DIVIDER</ipxact:name><ipxact:value>4'b0000</ipxact:value></ipxact:modelParameter> |
</ipxact:modelParameters> |
|
|
|
<spirit:views> |
<ipxact:views> |
|
|
|
|
<spirit:view> |
<spirit:name>Params</spirit:name> |
<spirit:vendorExtensions> |
<spirit:componentRef spirit:vendor="opencores.org" |
spirit:library="logic" |
spirit:name="uart" |
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="uart" |
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="uart" |
spirit:version="bfm.design"/> |
</spirit:view> |
<ipxact:view> |
<ipxact:name>Bfm</ipxact:name> |
<ipxact:hierarchyRef ipxact:vendor="opencores.org" |
ipxact:library="logic" |
ipxact:name="uart" |
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> |
|
|
|
158,56 → 158,56
|
|
|
</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/tb.ext</spirit:name> |
<spirit:fileType>verilogSource</spirit:fileType><spirit:userFileType>fragment</spirit:userFileType> |
</spirit:file> |
<ipxact:file> |
<ipxact:logicalName></ipxact:logicalName> |
<ipxact:name>../verilog/tb.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/uart_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/uart_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/uart_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/uart_def_tb</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> |
/xml/uart_rx_dut.params.xml
6,37 → 6,37
// // |
// // |
--> |
<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>uart</spirit:name> |
<spirit:version>rx_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>uart</ipxact:name> |
<ipxact:version>rx_dut.params</ipxact:version> |
<ipxact:model> |
|
<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="uart" |
spirit:version="rx_duth.design"/> |
</spirit:view> |
</spirit:views> |
<spirit:modelParameters> |
<spirit:modelParameter><spirit:name>PRESCALE</spirit:name><spirit:value>5'b01100</spirit:value></spirit:modelParameter> |
<spirit:modelParameter><spirit:name>PRE_SIZE</spirit:name><spirit:value>5</spirit:value></spirit:modelParameter> |
<spirit:modelParameter><spirit:name>SIZE</spirit:name><spirit:value>8</spirit:value></spirit:modelParameter> |
<spirit:modelParameter><spirit:name>DIV</spirit:name><spirit:value>0</spirit:value></spirit:modelParameter> |
<spirit:modelParameter><spirit:name>DIV_SIZE</spirit:name><spirit:value>4</spirit:value></spirit:modelParameter> |
<spirit:modelParameter><spirit:name>RX_FIFO_SIZE</spirit:name><spirit:value>3</spirit:value></spirit:modelParameter> |
<spirit:modelParameter><spirit:name>RX_FIFO_WORDS</spirit:name><spirit:value>8</spirit:value></spirit:modelParameter> |
</spirit:modelParameters> |
</spirit:model> |
</spirit:component> |
<ipxact:view> |
<ipxact:name>Dut</ipxact:name> |
<ipxact:envIdentifier></ipxact:envIdentifier> |
<ipxact:hierarchyRef ipxact:vendor="opencores.org" |
ipxact:library="logic" |
ipxact:name="uart" |
ipxact:version="rx_duth.design"/> |
</ipxact:view> |
</ipxact:views> |
<ipxact:modelParameters> |
<ipxact:modelParameter><ipxact:name>PRESCALE</ipxact:name><ipxact:value>5'b01100</ipxact:value></ipxact:modelParameter> |
<ipxact:modelParameter><ipxact:name>PRE_SIZE</ipxact:name><ipxact:value>5</ipxact:value></ipxact:modelParameter> |
<ipxact:modelParameter><ipxact:name>SIZE</ipxact:name><ipxact:value>8</ipxact:value></ipxact:modelParameter> |
<ipxact:modelParameter><ipxact:name>DIV</ipxact:name><ipxact:value>0</ipxact:value></ipxact:modelParameter> |
<ipxact:modelParameter><ipxact:name>DIV_SIZE</ipxact:name><ipxact:value>4</ipxact:value></ipxact:modelParameter> |
<ipxact:modelParameter><ipxact:name>RX_FIFO_SIZE</ipxact:name><ipxact:value>3</ipxact:value></ipxact:modelParameter> |
<ipxact:modelParameter><ipxact:name>RX_FIFO_WORDS</ipxact:name><ipxact:value>8</ipxact:value></ipxact:modelParameter> |
</ipxact:modelParameters> |
</ipxact:model> |
</ipxact:component> |
/xml/uart_rx_duth.design.xml
6,178 → 6,174
// ./tools/verilog/gen_tb -vendor opencores.org -library logic -component uart -version rx // |
// // |
--> |
<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>uart</spirit:name> |
<spirit:version>rx_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>uart</ipxact:name> |
<ipxact:version>rx_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>cts_out</spirit:name> |
<spirit:externalPortReference spirit:portRef="cts_out" /> |
<spirit:internalPortReference spirit:componentRef="dut" spirit:portRef="cts_out" /> |
</spirit:adHocConnection> |
<ipxact:adHocConnection> |
<ipxact:name>cts_out</ipxact:name> |
<ipxact:externalPortReference portRef="cts_out" /> |
<ipxact:internalPortReference componentRef="dut" portRef="cts_out" /> |
</ipxact:adHocConnection> |
|
<spirit:adHocConnection> |
<spirit:name>cts_pad_in</spirit:name> |
<spirit:externalPortReference spirit:portRef="cts_pad_in" /> |
<spirit:internalPortReference spirit:componentRef="dut" spirit:portRef="cts_pad_in" /> |
</spirit:adHocConnection> |
<ipxact:adHocConnection> |
<ipxact:name>cts_pad_in</ipxact:name> |
<ipxact:externalPortReference portRef="cts_pad_in" /> |
<ipxact:internalPortReference componentRef="dut" portRef="cts_pad_in" /> |
</ipxact:adHocConnection> |
|
<spirit:adHocConnection> |
<spirit:name>divider_in</spirit:name> |
<spirit:externalPortReference spirit:portRef="divider_in" spirit:left="DIV_SIZE-1" spirit:right="0" /> |
<spirit:internalPortReference spirit:componentRef="dut" spirit:portRef="divider_in" /> |
</spirit:adHocConnection> |
<ipxact:adHocConnection> |
<ipxact:name>divider_in</ipxact:name> |
<ipxact:externalPortReference portRef="divider_in" left="DIV_SIZE-1" right="0" /> |
<ipxact:internalPortReference componentRef="dut" portRef="divider_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>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>rts_in</spirit:name> |
<spirit:externalPortReference spirit:portRef="rts_in" /> |
<spirit:internalPortReference spirit:componentRef="dut" spirit:portRef="rts_in" /> |
</spirit:adHocConnection> |
<ipxact:adHocConnection> |
<ipxact:name>rts_in</ipxact:name> |
<ipxact:externalPortReference portRef="rts_in" /> |
<ipxact:internalPortReference componentRef="dut" portRef="rts_in" /> |
</ipxact:adHocConnection> |
|
<spirit:adHocConnection> |
<spirit:name>rts_pad_out</spirit:name> |
<spirit:externalPortReference spirit:portRef="rts_pad_out" /> |
<spirit:internalPortReference spirit:componentRef="dut" spirit:portRef="rts_pad_out" /> |
</spirit:adHocConnection> |
<ipxact:adHocConnection> |
<ipxact:name>rts_pad_out</ipxact:name> |
<ipxact:externalPortReference portRef="rts_pad_out" /> |
<ipxact:internalPortReference componentRef="dut" portRef="rts_pad_out" /> |
</ipxact:adHocConnection> |
|
<spirit:adHocConnection> |
<spirit:name>rxd_data_avail</spirit:name> |
<spirit:externalPortReference spirit:portRef="rxd_data_avail" /> |
<spirit:internalPortReference spirit:componentRef="dut" spirit:portRef="rxd_data_avail" /> |
</spirit:adHocConnection> |
<ipxact:adHocConnection> |
<ipxact:name>rxd_data_avail</ipxact:name> |
<ipxact:externalPortReference portRef="rxd_data_avail" /> |
<ipxact:internalPortReference componentRef="dut" portRef="rxd_data_avail" /> |
</ipxact:adHocConnection> |
|
<spirit:adHocConnection> |
<spirit:name>rxd_data_avail_IRQ</spirit:name> |
<spirit:externalPortReference spirit:portRef="rxd_data_avail_IRQ" /> |
<spirit:internalPortReference spirit:componentRef="dut" spirit:portRef="rxd_data_avail_IRQ" /> |
</spirit:adHocConnection> |
|
<spirit:adHocConnection> |
<spirit:name>rxd_data_avail_stb</spirit:name> |
<spirit:externalPortReference spirit:portRef="rxd_data_avail_stb" /> |
<spirit:internalPortReference spirit:componentRef="dut" spirit:portRef="rxd_data_avail_stb" /> |
</spirit:adHocConnection> |
|
<spirit:adHocConnection> |
<spirit:name>rxd_data_out</spirit:name> |
<spirit:externalPortReference spirit:portRef="rxd_data_out" spirit:left="SIZE-1" spirit:right="0" /> |
<spirit:internalPortReference spirit:componentRef="dut" spirit:portRef="rxd_data_out" /> |
</spirit:adHocConnection> |
<ipxact:adHocConnection> |
<ipxact:name>rxd_data_avail_stb</ipxact:name> |
<ipxact:externalPortReference portRef="rxd_data_avail_stb" /> |
<ipxact:internalPortReference componentRef="dut" portRef="rxd_data_avail_stb" /> |
</ipxact:adHocConnection> |
|
<spirit:adHocConnection> |
<spirit:name>rxd_force_parity</spirit:name> |
<spirit:externalPortReference spirit:portRef="rxd_force_parity" /> |
<spirit:internalPortReference spirit:componentRef="dut" spirit:portRef="rxd_force_parity" /> |
</spirit:adHocConnection> |
<ipxact:adHocConnection> |
<ipxact:name>rxd_data_out</ipxact:name> |
<ipxact:externalPortReference portRef="rxd_data_out" left="SIZE-1" right="0" /> |
<ipxact:internalPortReference componentRef="dut" portRef="rxd_data_out" /> |
</ipxact:adHocConnection> |
|
<spirit:adHocConnection> |
<spirit:name>rxd_pad_in</spirit:name> |
<spirit:externalPortReference spirit:portRef="rxd_pad_in" /> |
<spirit:internalPortReference spirit:componentRef="dut" spirit:portRef="rxd_pad_in" /> |
</spirit:adHocConnection> |
<ipxact:adHocConnection> |
<ipxact:name>rxd_force_parity</ipxact:name> |
<ipxact:externalPortReference portRef="rxd_force_parity" /> |
<ipxact:internalPortReference componentRef="dut" portRef="rxd_force_parity" /> |
</ipxact:adHocConnection> |
|
<spirit:adHocConnection> |
<spirit:name>rxd_parity</spirit:name> |
<spirit:externalPortReference spirit:portRef="rxd_parity" /> |
<spirit:internalPortReference spirit:componentRef="dut" spirit:portRef="rxd_parity" /> |
</spirit:adHocConnection> |
<ipxact:adHocConnection> |
<ipxact:name>rxd_pad_in</ipxact:name> |
<ipxact:externalPortReference portRef="rxd_pad_in" /> |
<ipxact:internalPortReference componentRef="dut" portRef="rxd_pad_in" /> |
</ipxact:adHocConnection> |
|
<spirit:adHocConnection> |
<spirit:name>rxd_parity_error</spirit:name> |
<spirit:externalPortReference spirit:portRef="rxd_parity_error" /> |
<spirit:internalPortReference spirit:componentRef="dut" spirit:portRef="rxd_parity_error" /> |
</spirit:adHocConnection> |
<ipxact:adHocConnection> |
<ipxact:name>rxd_parity</ipxact:name> |
<ipxact:externalPortReference portRef="rxd_parity" /> |
<ipxact:internalPortReference componentRef="dut" portRef="rxd_parity" /> |
</ipxact:adHocConnection> |
|
<spirit:adHocConnection> |
<spirit:name>rxd_stop_error</spirit:name> |
<spirit:externalPortReference spirit:portRef="rxd_stop_error" /> |
<spirit:internalPortReference spirit:componentRef="dut" spirit:portRef="rxd_stop_error" /> |
</spirit:adHocConnection> |
<ipxact:adHocConnection> |
<ipxact:name>rxd_parity_error</ipxact:name> |
<ipxact:externalPortReference portRef="rxd_parity_error" /> |
<ipxact:internalPortReference componentRef="dut" portRef="rxd_parity_error" /> |
</ipxact:adHocConnection> |
|
<spirit:adHocConnection> |
<spirit:name>txd_break</spirit:name> |
<spirit:externalPortReference spirit:portRef="txd_break" /> |
<spirit:internalPortReference spirit:componentRef="dut" spirit:portRef="txd_break" /> |
</spirit:adHocConnection> |
<ipxact:adHocConnection> |
<ipxact:name>rxd_stop_error</ipxact:name> |
<ipxact:externalPortReference portRef="rxd_stop_error" /> |
<ipxact:internalPortReference componentRef="dut" portRef="rxd_stop_error" /> |
</ipxact:adHocConnection> |
|
<spirit:adHocConnection> |
<spirit:name>txd_buffer_empty</spirit:name> |
<spirit:externalPortReference spirit:portRef="txd_buffer_empty" /> |
<spirit:internalPortReference spirit:componentRef="dut" spirit:portRef="txd_buffer_empty" /> |
</spirit:adHocConnection> |
<ipxact:adHocConnection> |
<ipxact:name>txd_break</ipxact:name> |
<ipxact:externalPortReference portRef="txd_break" /> |
<ipxact:internalPortReference componentRef="dut" portRef="txd_break" /> |
</ipxact:adHocConnection> |
|
<spirit:adHocConnection> |
<spirit:name>txd_data_in</spirit:name> |
<spirit:externalPortReference spirit:portRef="txd_data_in" spirit:left="SIZE-1" spirit:right="0" /> |
<spirit:internalPortReference spirit:componentRef="dut" spirit:portRef="txd_data_in" /> |
</spirit:adHocConnection> |
<ipxact:adHocConnection> |
<ipxact:name>txd_buffer_empty</ipxact:name> |
<ipxact:externalPortReference portRef="txd_buffer_empty" /> |
<ipxact:internalPortReference componentRef="dut" portRef="txd_buffer_empty" /> |
</ipxact:adHocConnection> |
|
<spirit:adHocConnection> |
<spirit:name>txd_force_parity</spirit:name> |
<spirit:externalPortReference spirit:portRef="txd_force_parity" /> |
<spirit:internalPortReference spirit:componentRef="dut" spirit:portRef="txd_force_parity" /> |
</spirit:adHocConnection> |
<ipxact:adHocConnection> |
<ipxact:name>txd_data_in</ipxact:name> |
<ipxact:externalPortReference portRef="txd_data_in" left="SIZE-1" right="0" /> |
<ipxact:internalPortReference componentRef="dut" portRef="txd_data_in" /> |
</ipxact:adHocConnection> |
|
<spirit:adHocConnection> |
<spirit:name>txd_load</spirit:name> |
<spirit:externalPortReference spirit:portRef="txd_load" /> |
<spirit:internalPortReference spirit:componentRef="dut" spirit:portRef="txd_load" /> |
</spirit:adHocConnection> |
<ipxact:adHocConnection> |
<ipxact:name>txd_force_parity</ipxact:name> |
<ipxact:externalPortReference portRef="txd_force_parity" /> |
<ipxact:internalPortReference componentRef="dut" portRef="txd_force_parity" /> |
</ipxact:adHocConnection> |
|
<spirit:adHocConnection> |
<spirit:name>txd_pad_out</spirit:name> |
<spirit:externalPortReference spirit:portRef="txd_pad_out" /> |
<spirit:internalPortReference spirit:componentRef="dut" spirit:portRef="txd_pad_out" /> |
</spirit:adHocConnection> |
<ipxact:adHocConnection> |
<ipxact:name>txd_load</ipxact:name> |
<ipxact:externalPortReference portRef="txd_load" /> |
<ipxact:internalPortReference componentRef="dut" portRef="txd_load" /> |
</ipxact:adHocConnection> |
|
<spirit:adHocConnection> |
<spirit:name>txd_parity</spirit:name> |
<spirit:externalPortReference spirit:portRef="txd_parity" /> |
<spirit:internalPortReference spirit:componentRef="dut" spirit:portRef="txd_parity" /> |
</spirit:adHocConnection> |
<ipxact:adHocConnection> |
<ipxact:name>txd_pad_out</ipxact:name> |
<ipxact:externalPortReference portRef="txd_pad_out" /> |
<ipxact:internalPortReference componentRef="dut" portRef="txd_pad_out" /> |
</ipxact:adHocConnection> |
|
<ipxact:adHocConnection> |
<ipxact:name>txd_parity</ipxact:name> |
<ipxact:externalPortReference portRef="txd_parity" /> |
<ipxact:internalPortReference componentRef="dut" portRef="txd_parity" /> |
</ipxact:adHocConnection> |
|
</spirit:adHocConnections> |
<spirit:componentInstances> |
|
<spirit:componentInstance> |
<spirit:instanceName>dut</spirit:instanceName> |
<spirit:componentRef spirit:vendor="opencores.org" spirit:library="logic" spirit:name="uart" spirit:version="rx" /> |
<spirit:configurableElementValues> |
<spirit:configurableElementValue spirit:referenceId="DIV">DIV</spirit:configurableElementValue> |
<spirit:configurableElementValue spirit:referenceId="DIV_SIZE">DIV_SIZE</spirit:configurableElementValue> |
<spirit:configurableElementValue spirit:referenceId="PRESCALE">PRESCALE</spirit:configurableElementValue> |
<spirit:configurableElementValue spirit:referenceId="PRE_SIZE">PRE_SIZE</spirit:configurableElementValue> |
<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="SIZE">SIZE</spirit:configurableElementValue> |
</spirit:configurableElementValues> |
</spirit:componentInstance> |
</spirit:componentInstances> |
</spirit:design> |
</ipxact:adHocConnections> |
<ipxact:componentInstances> |
|
<ipxact:componentInstance> |
<ipxact:instanceName>dut</ipxact:instanceName> |
<ipxact:componentRef vendor="opencores.org" library="logic" name="uart" version="rx" /> |
<ipxact:configurableElementValues> |
<ipxact:configurableElementValue referenceId="DIV">DIV</ipxact:configurableElementValue> |
<ipxact:configurableElementValue referenceId="DIV_SIZE">DIV_SIZE</ipxact:configurableElementValue> |
<ipxact:configurableElementValue referenceId="PRESCALE">PRESCALE</ipxact:configurableElementValue> |
<ipxact:configurableElementValue referenceId="PRE_SIZE">PRE_SIZE</ipxact:configurableElementValue> |
<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="SIZE">SIZE</ipxact:configurableElementValue> |
</ipxact:configurableElementValues> |
</ipxact:componentInstance> |
</ipxact:componentInstances> |
</ipxact:design> |
/xml/uart_rx_lint.xml
27,88 → 27,88
// 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>uart</spirit:name> |
<spirit:version>rx_lint</spirit:version> |
<ipxact:vendor>opencores.org</ipxact:vendor> |
<ipxact:library>logic</ipxact:library> |
<ipxact:name>uart</ipxact:name> |
<ipxact:version>rx_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="uart" |
spirit:version="rx_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="uart" |
ipxact:version="rx_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/uart_rx_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/uart_rx_lint</ipxact:name> |
<ipxact:fileType>verilogSource</ipxact:fileType><ipxact:userFileType>module</ipxact:userFileType> |
</ipxact:file> |
|
|
|
</spirit:fileSet> |
</ipxact:fileSet> |
|
|
|
</spirit:fileSets> |
</ipxact:fileSets> |
|
|
|
115,4 → 115,4
|
|
|
</spirit:component> |
</ipxact:component> |
/xml/uart_rx_tb.xml
27,128 → 27,128
// 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>uart</spirit:name> |
<spirit:version>rx_tb</spirit:version> |
<ipxact:vendor>opencores.org</ipxact:vendor> |
<ipxact:library>logic</ipxact:library> |
<ipxact:name>uart</ipxact:name> |
<ipxact:version>rx_tb</ipxact:version> |
|
|
|
|
<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>uart_rx_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>uart_rx_tb</ipxact:value> |
</ipxact:parameter> |
</ipxact:parameters> |
</ipxact:componentGenerator> |
|
|
|
|
|
</spirit:componentGenerators> |
</ipxact:componentGenerators> |
|
|
|
|
<spirit:model> |
<spirit:modelParameters> |
<spirit:modelParameter><spirit:name>UART_MODEL_CLKCNT</spirit:name><spirit:value>4'hc</spirit:value></spirit:modelParameter> |
<spirit:modelParameter><spirit:name>UART_MODEL_SIZE</spirit:name><spirit:value>4</spirit:value></spirit:modelParameter> |
<spirit:modelParameter><spirit:name>DIVIDER</spirit:name><spirit:value>4'b0000</spirit:value></spirit:modelParameter> |
</spirit:modelParameters> |
<ipxact:model> |
<ipxact:modelParameters> |
<ipxact:modelParameter><ipxact:name>UART_MODEL_CLKCNT</ipxact:name><ipxact:value>4'hc</ipxact:value></ipxact:modelParameter> |
<ipxact:modelParameter><ipxact:name>UART_MODEL_SIZE</ipxact:name><ipxact:value>4</ipxact:value></ipxact:modelParameter> |
<ipxact:modelParameter><ipxact:name>DIVIDER</ipxact:name><ipxact:value>4'b0000</ipxact:value></ipxact:modelParameter> |
</ipxact:modelParameters> |
|
<spirit:views> |
<ipxact:views> |
|
|
<spirit:view> |
<spirit:name>Params</spirit:name> |
<spirit:vendorExtensions> |
<spirit:componentRef spirit:vendor="opencores.org" |
spirit:library="logic" |
spirit:name="uart" |
spirit:version="rx_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="uart" |
ipxact:version="rx_dut.params"/> |
</ipxact:vendorExtensions> |
</ipxact:view> |
|
|
<spirit:view> |
<spirit:name>Bfm</spirit:name> |
<spirit:hierarchyRef spirit:vendor="opencores.org" |
spirit:library="logic" |
spirit:name="uart" |
spirit:version="bfm.design"/> |
</spirit:view> |
<ipxact:view> |
<ipxact:name>Bfm</ipxact:name> |
<ipxact:hierarchyRef ipxact:vendor="opencores.org" |
ipxact:library="logic" |
ipxact:name="uart" |
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> |
|
|
|
156,51 → 156,51
|
|
|
</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/tb.ext</spirit:name> |
<spirit:fileType>verilogSource</spirit:fileType><spirit:userFileType>fragment</spirit:userFileType> |
</spirit:file> |
<ipxact:file> |
<ipxact:logicalName></ipxact:logicalName> |
<ipxact:name>../verilog/tb.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/uart_rx_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/uart_rx_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/uart_rx_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/uart_rx_tb</ipxact:name> |
<ipxact:fileType>verilogSource</ipxact:fileType><ipxact:userFileType>module</ipxact:userFileType> |
</ipxact:file> |
|
|
</spirit:fileSet> |
</ipxact:fileSet> |
|
|
|
208,9 → 208,9
|
|
|
</spirit:fileSets> |
</ipxact:fileSets> |
|
|
|
|
</spirit:component> |
</ipxact:component> |
/xml/uart_rxtx_dut.params.xml
6,39 → 6,39
// // |
// // |
--> |
<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>uart</spirit:name> |
<spirit:version>rxtx_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>uart</ipxact:name> |
<ipxact:version>rxtx_dut.params</ipxact:version> |
<ipxact:model> |
|
<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="uart" |
spirit:version="rxtx_duth.design"/> |
</spirit:view> |
</spirit:views> |
<spirit:modelParameters> |
<spirit:modelParameter><spirit:name>PRESCALE</spirit:name><spirit:value>5'b01100</spirit:value></spirit:modelParameter> |
<spirit:modelParameter><spirit:name>PRE_SIZE</spirit:name><spirit:value>5</spirit:value></spirit:modelParameter> |
<spirit:modelParameter><spirit:name>SIZE</spirit:name><spirit:value>8</spirit:value></spirit:modelParameter> |
<spirit:modelParameter><spirit:name>DIV</spirit:name><spirit:value>0</spirit:value></spirit:modelParameter> |
<spirit:modelParameter><spirit:name>DIV_SIZE</spirit:name><spirit:value>4</spirit:value></spirit:modelParameter> |
<spirit:modelParameter><spirit:name>TX_FIFO_SIZE</spirit:name><spirit:value>3</spirit:value></spirit:modelParameter> |
<spirit:modelParameter><spirit:name>TX_FIFO_WORDS</spirit:name><spirit:value>8</spirit:value></spirit:modelParameter> |
<spirit:modelParameter><spirit:name>RX_FIFO_SIZE</spirit:name><spirit:value>3</spirit:value></spirit:modelParameter> |
<spirit:modelParameter><spirit:name>RX_FIFO_WORDS</spirit:name><spirit:value>8</spirit:value></spirit:modelParameter> |
</spirit:modelParameters> |
</spirit:model> |
</spirit:component> |
<ipxact:view> |
<ipxact:name>Dut</ipxact:name> |
<ipxact:envIdentifier></ipxact:envIdentifier> |
<ipxact:hierarchyRef ipxact:vendor="opencores.org" |
ipxact:library="logic" |
ipxact:name="uart" |
ipxact:version="rxtx_duth.design"/> |
</ipxact:view> |
</ipxact:views> |
<ipxact:modelParameters> |
<ipxact:modelParameter><ipxact:name>PRESCALE</ipxact:name><ipxact:value>5'b01100</ipxact:value></ipxact:modelParameter> |
<ipxact:modelParameter><ipxact:name>PRE_SIZE</ipxact:name><ipxact:value>5</ipxact:value></ipxact:modelParameter> |
<ipxact:modelParameter><ipxact:name>SIZE</ipxact:name><ipxact:value>8</ipxact:value></ipxact:modelParameter> |
<ipxact:modelParameter><ipxact:name>DIV</ipxact:name><ipxact:value>0</ipxact:value></ipxact:modelParameter> |
<ipxact:modelParameter><ipxact:name>DIV_SIZE</ipxact:name><ipxact:value>4</ipxact:value></ipxact:modelParameter> |
<ipxact:modelParameter><ipxact:name>TX_FIFO_SIZE</ipxact:name><ipxact:value>3</ipxact:value></ipxact:modelParameter> |
<ipxact:modelParameter><ipxact:name>TX_FIFO_WORDS</ipxact:name><ipxact:value>8</ipxact:value></ipxact:modelParameter> |
<ipxact:modelParameter><ipxact:name>RX_FIFO_SIZE</ipxact:name><ipxact:value>3</ipxact:value></ipxact:modelParameter> |
<ipxact:modelParameter><ipxact:name>RX_FIFO_WORDS</ipxact:name><ipxact:value>8</ipxact:value></ipxact:modelParameter> |
</ipxact:modelParameters> |
</ipxact:model> |
</ipxact:component> |
/xml/uart_rxtx_duth.design.xml
6,186 → 6,178
// ./tools/verilog/gen_tb -vendor opencores.org -library logic -component uart -version rxtx // |
// // |
--> |
<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>uart</spirit:name> |
<spirit:version>rxtx_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>uart</ipxact:name> |
<ipxact:version>rxtx_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>cts_out</spirit:name> |
<spirit:externalPortReference spirit:portRef="cts_out" /> |
<spirit:internalPortReference spirit:componentRef="dut" spirit:portRef="cts_out" /> |
</spirit:adHocConnection> |
<ipxact:adHocConnection> |
<ipxact:name>cts_out</ipxact:name> |
<ipxact:externalPortReference portRef="cts_out" /> |
<ipxact:internalPortReference componentRef="dut" portRef="cts_out" /> |
</ipxact:adHocConnection> |
|
<spirit:adHocConnection> |
<spirit:name>cts_pad_in</spirit:name> |
<spirit:externalPortReference spirit:portRef="cts_pad_in" /> |
<spirit:internalPortReference spirit:componentRef="dut" spirit:portRef="cts_pad_in" /> |
</spirit:adHocConnection> |
<ipxact:adHocConnection> |
<ipxact:name>cts_pad_in</ipxact:name> |
<ipxact:externalPortReference portRef="cts_pad_in" /> |
<ipxact:internalPortReference componentRef="dut" portRef="cts_pad_in" /> |
</ipxact:adHocConnection> |
|
<spirit:adHocConnection> |
<spirit:name>divider_in</spirit:name> |
<spirit:externalPortReference spirit:portRef="divider_in" spirit:left="DIV_SIZE-1" spirit:right="0" /> |
<spirit:internalPortReference spirit:componentRef="dut" spirit:portRef="divider_in" /> |
</spirit:adHocConnection> |
<ipxact:adHocConnection> |
<ipxact:name>divider_in</ipxact:name> |
<ipxact:externalPortReference portRef="divider_in" left="DIV_SIZE-1" right="0" /> |
<ipxact:internalPortReference componentRef="dut" portRef="divider_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>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>rts_in</spirit:name> |
<spirit:externalPortReference spirit:portRef="rts_in" /> |
<spirit:internalPortReference spirit:componentRef="dut" spirit:portRef="rts_in" /> |
</spirit:adHocConnection> |
<ipxact:adHocConnection> |
<ipxact:name>rts_in</ipxact:name> |
<ipxact:externalPortReference portRef="rts_in" /> |
<ipxact:internalPortReference componentRef="dut" portRef="rts_in" /> |
</ipxact:adHocConnection> |
|
<spirit:adHocConnection> |
<spirit:name>rts_pad_out</spirit:name> |
<spirit:externalPortReference spirit:portRef="rts_pad_out" /> |
<spirit:internalPortReference spirit:componentRef="dut" spirit:portRef="rts_pad_out" /> |
</spirit:adHocConnection> |
<ipxact:adHocConnection> |
<ipxact:name>rts_pad_out</ipxact:name> |
<ipxact:externalPortReference portRef="rts_pad_out" /> |
<ipxact:internalPortReference componentRef="dut" portRef="rts_pad_out" /> |
</ipxact:adHocConnection> |
|
<spirit:adHocConnection> |
<spirit:name>rxd_data_avail</spirit:name> |
<spirit:externalPortReference spirit:portRef="rxd_data_avail" /> |
<spirit:internalPortReference spirit:componentRef="dut" spirit:portRef="rxd_data_avail" /> |
</spirit:adHocConnection> |
<ipxact:adHocConnection> |
<ipxact:name>rxd_data_avail</ipxact:name> |
<ipxact:externalPortReference portRef="rxd_data_avail" /> |
<ipxact:internalPortReference componentRef="dut" portRef="rxd_data_avail" /> |
</ipxact:adHocConnection> |
|
<spirit:adHocConnection> |
<spirit:name>rxd_data_avail_IRQ</spirit:name> |
<spirit:externalPortReference spirit:portRef="rxd_data_avail_IRQ" /> |
<spirit:internalPortReference spirit:componentRef="dut" spirit:portRef="rxd_data_avail_IRQ" /> |
</spirit:adHocConnection> |
|
<spirit:adHocConnection> |
<spirit:name>rxd_data_avail_stb</spirit:name> |
<spirit:externalPortReference spirit:portRef="rxd_data_avail_stb" /> |
<spirit:internalPortReference spirit:componentRef="dut" spirit:portRef="rxd_data_avail_stb" /> |
</spirit:adHocConnection> |
|
<spirit:adHocConnection> |
<spirit:name>rxd_data_out</spirit:name> |
<spirit:externalPortReference spirit:portRef="rxd_data_out" spirit:left="SIZE-1" spirit:right="0" /> |
<spirit:internalPortReference spirit:componentRef="dut" spirit:portRef="rxd_data_out" /> |
</spirit:adHocConnection> |
<ipxact:adHocConnection> |
<ipxact:name>rxd_data_avail_stb</ipxact:name> |
<ipxact:externalPortReference portRef="rxd_data_avail_stb" /> |
<ipxact:internalPortReference componentRef="dut" portRef="rxd_data_avail_stb" /> |
</ipxact:adHocConnection> |
|
<spirit:adHocConnection> |
<spirit:name>rxd_force_parity</spirit:name> |
<spirit:externalPortReference spirit:portRef="rxd_force_parity" /> |
<spirit:internalPortReference spirit:componentRef="dut" spirit:portRef="rxd_force_parity" /> |
</spirit:adHocConnection> |
<ipxact:adHocConnection> |
<ipxact:name>rxd_data_out</ipxact:name> |
<ipxact:externalPortReference portRef="rxd_data_out" left="SIZE-1" right="0" /> |
<ipxact:internalPortReference componentRef="dut" portRef="rxd_data_out" /> |
</ipxact:adHocConnection> |
|
<spirit:adHocConnection> |
<spirit:name>rxd_pad_in</spirit:name> |
<spirit:externalPortReference spirit:portRef="rxd_pad_in" /> |
<spirit:internalPortReference spirit:componentRef="dut" spirit:portRef="rxd_pad_in" /> |
</spirit:adHocConnection> |
<ipxact:adHocConnection> |
<ipxact:name>rxd_force_parity</ipxact:name> |
<ipxact:externalPortReference portRef="rxd_force_parity" /> |
<ipxact:internalPortReference componentRef="dut" portRef="rxd_force_parity" /> |
</ipxact:adHocConnection> |
|
<spirit:adHocConnection> |
<spirit:name>rxd_parity</spirit:name> |
<spirit:externalPortReference spirit:portRef="rxd_parity" /> |
<spirit:internalPortReference spirit:componentRef="dut" spirit:portRef="rxd_parity" /> |
</spirit:adHocConnection> |
<ipxact:adHocConnection> |
<ipxact:name>rxd_pad_in</ipxact:name> |
<ipxact:externalPortReference portRef="rxd_pad_in" /> |
<ipxact:internalPortReference componentRef="dut" portRef="rxd_pad_in" /> |
</ipxact:adHocConnection> |
|
<spirit:adHocConnection> |
<spirit:name>rxd_parity_error</spirit:name> |
<spirit:externalPortReference spirit:portRef="rxd_parity_error" /> |
<spirit:internalPortReference spirit:componentRef="dut" spirit:portRef="rxd_parity_error" /> |
</spirit:adHocConnection> |
<ipxact:adHocConnection> |
<ipxact:name>rxd_parity</ipxact:name> |
<ipxact:externalPortReference portRef="rxd_parity" /> |
<ipxact:internalPortReference componentRef="dut" portRef="rxd_parity" /> |
</ipxact:adHocConnection> |
|
<spirit:adHocConnection> |
<spirit:name>rxd_stop_error</spirit:name> |
<spirit:externalPortReference spirit:portRef="rxd_stop_error" /> |
<spirit:internalPortReference spirit:componentRef="dut" spirit:portRef="rxd_stop_error" /> |
</spirit:adHocConnection> |
<ipxact:adHocConnection> |
<ipxact:name>rxd_parity_error</ipxact:name> |
<ipxact:externalPortReference portRef="rxd_parity_error" /> |
<ipxact:internalPortReference componentRef="dut" portRef="rxd_parity_error" /> |
</ipxact:adHocConnection> |
|
<spirit:adHocConnection> |
<spirit:name>txd_break</spirit:name> |
<spirit:externalPortReference spirit:portRef="txd_break" /> |
<spirit:internalPortReference spirit:componentRef="dut" spirit:portRef="txd_break" /> |
</spirit:adHocConnection> |
<ipxact:adHocConnection> |
<ipxact:name>rxd_stop_error</ipxact:name> |
<ipxact:externalPortReference portRef="rxd_stop_error" /> |
<ipxact:internalPortReference componentRef="dut" portRef="rxd_stop_error" /> |
</ipxact:adHocConnection> |
|
<spirit:adHocConnection> |
<spirit:name>txd_buffer_empty</spirit:name> |
<spirit:externalPortReference spirit:portRef="txd_buffer_empty" /> |
<spirit:internalPortReference spirit:componentRef="dut" spirit:portRef="txd_buffer_empty" /> |
</spirit:adHocConnection> |
<ipxact:adHocConnection> |
<ipxact:name>txd_break</ipxact:name> |
<ipxact:externalPortReference portRef="txd_break" /> |
<ipxact:internalPortReference componentRef="dut" portRef="txd_break" /> |
</ipxact:adHocConnection> |
|
<spirit:adHocConnection> |
<spirit:name>txd_buffer_empty_NIRQ</spirit:name> |
<spirit:externalPortReference spirit:portRef="txd_buffer_empty_NIRQ" /> |
<spirit:internalPortReference spirit:componentRef="dut" spirit:portRef="txd_buffer_empty_NIRQ" /> |
</spirit:adHocConnection> |
<ipxact:adHocConnection> |
<ipxact:name>txd_buffer_empty</ipxact:name> |
<ipxact:externalPortReference portRef="txd_buffer_empty" /> |
<ipxact:internalPortReference componentRef="dut" portRef="txd_buffer_empty" /> |
</ipxact:adHocConnection> |
|
<spirit:adHocConnection> |
<spirit:name>txd_data_in</spirit:name> |
<spirit:externalPortReference spirit:portRef="txd_data_in" spirit:left="SIZE-1" spirit:right="0" /> |
<spirit:internalPortReference spirit:componentRef="dut" spirit:portRef="txd_data_in" /> |
</spirit:adHocConnection> |
|
<spirit:adHocConnection> |
<spirit:name>txd_force_parity</spirit:name> |
<spirit:externalPortReference spirit:portRef="txd_force_parity" /> |
<spirit:internalPortReference spirit:componentRef="dut" spirit:portRef="txd_force_parity" /> |
</spirit:adHocConnection> |
|
<spirit:adHocConnection> |
<spirit:name>txd_load</spirit:name> |
<spirit:externalPortReference spirit:portRef="txd_load" /> |
<spirit:internalPortReference spirit:componentRef="dut" spirit:portRef="txd_load" /> |
</spirit:adHocConnection> |
<ipxact:adHocConnection> |
<ipxact:name>txd_data_in</ipxact:name> |
<ipxact:externalPortReference portRef="txd_data_in" left="SIZE-1" right="0" /> |
<ipxact:internalPortReference componentRef="dut" portRef="txd_data_in" /> |
</ipxact:adHocConnection> |
|
<spirit:adHocConnection> |
<spirit:name>txd_pad_out</spirit:name> |
<spirit:externalPortReference spirit:portRef="txd_pad_out" /> |
<spirit:internalPortReference spirit:componentRef="dut" spirit:portRef="txd_pad_out" /> |
</spirit:adHocConnection> |
<ipxact:adHocConnection> |
<ipxact:name>txd_force_parity</ipxact:name> |
<ipxact:externalPortReference portRef="txd_force_parity" /> |
<ipxact:internalPortReference componentRef="dut" portRef="txd_force_parity" /> |
</ipxact:adHocConnection> |
|
<spirit:adHocConnection> |
<spirit:name>txd_parity</spirit:name> |
<spirit:externalPortReference spirit:portRef="txd_parity" /> |
<spirit:internalPortReference spirit:componentRef="dut" spirit:portRef="txd_parity" /> |
</spirit:adHocConnection> |
<ipxact:adHocConnection> |
<ipxact:name>txd_load</ipxact:name> |
<ipxact:externalPortReference portRef="txd_load" /> |
<ipxact:internalPortReference componentRef="dut" portRef="txd_load" /> |
</ipxact:adHocConnection> |
|
<ipxact:adHocConnection> |
<ipxact:name>txd_pad_out</ipxact:name> |
<ipxact:externalPortReference portRef="txd_pad_out" /> |
<ipxact:internalPortReference componentRef="dut" portRef="txd_pad_out" /> |
</ipxact:adHocConnection> |
|
</spirit:adHocConnections> |
<spirit:componentInstances> |
<ipxact:adHocConnection> |
<ipxact:name>txd_parity</ipxact:name> |
<ipxact:externalPortReference portRef="txd_parity" /> |
<ipxact:internalPortReference componentRef="dut" portRef="txd_parity" /> |
</ipxact:adHocConnection> |
|
<spirit:componentInstance> |
<spirit:instanceName>dut</spirit:instanceName> |
<spirit:componentRef spirit:vendor="opencores.org" spirit:library="logic" spirit:name="uart" spirit:version="rxtx" /> |
<spirit:configurableElementValues> |
<spirit:configurableElementValue spirit:referenceId="DIV">DIV</spirit:configurableElementValue> |
<spirit:configurableElementValue spirit:referenceId="DIV_SIZE">DIV_SIZE</spirit:configurableElementValue> |
<spirit:configurableElementValue spirit:referenceId="PRESCALE">PRESCALE</spirit:configurableElementValue> |
<spirit:configurableElementValue spirit:referenceId="PRE_SIZE">PRE_SIZE</spirit:configurableElementValue> |
<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="SIZE">SIZE</spirit:configurableElementValue> |
<spirit:configurableElementValue spirit:referenceId="TX_FIFO_SIZE">TX_FIFO_SIZE</spirit:configurableElementValue> |
<spirit:configurableElementValue spirit:referenceId="TX_FIFO_WORDS">TX_FIFO_WORDS</spirit:configurableElementValue> |
</spirit:configurableElementValues> |
</spirit:componentInstance> |
</spirit:componentInstances> |
</spirit:design> |
|
</ipxact:adHocConnections> |
<ipxact:componentInstances> |
|
<ipxact:componentInstance> |
<ipxact:instanceName>dut</ipxact:instanceName> |
<ipxact:componentRef vendor="opencores.org" library="logic" name="uart" version="rxtx" /> |
<ipxact:configurableElementValues> |
<ipxact:configurableElementValue referenceId="DIV">DIV</ipxact:configurableElementValue> |
<ipxact:configurableElementValue referenceId="DIV_SIZE">DIV_SIZE</ipxact:configurableElementValue> |
<ipxact:configurableElementValue referenceId="PRESCALE">PRESCALE</ipxact:configurableElementValue> |
<ipxact:configurableElementValue referenceId="PRE_SIZE">PRE_SIZE</ipxact:configurableElementValue> |
<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="SIZE">SIZE</ipxact:configurableElementValue> |
<ipxact:configurableElementValue referenceId="TX_FIFO_SIZE">TX_FIFO_SIZE</ipxact:configurableElementValue> |
<ipxact:configurableElementValue referenceId="TX_FIFO_WORDS">TX_FIFO_WORDS</ipxact:configurableElementValue> |
</ipxact:configurableElementValues> |
</ipxact:componentInstance> |
</ipxact:componentInstances> |
</ipxact:design> |
/xml/uart_rxtx_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>uart</spirit:name> |
<spirit:version>rxtx_lint</spirit:version> |
<ipxact:vendor>opencores.org</ipxact:vendor> |
<ipxact:library>logic</ipxact:library> |
<ipxact:name>uart</ipxact:name> |
<ipxact:version>rxtx_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="uart" |
spirit:version="rxtx_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="uart" |
ipxact:version="rxtx_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/uart_rxtx_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/uart_rxtx_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> |
/xml/uart_rxtx_tb.xml
27,172 → 27,172
// 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>uart</spirit:name> |
<spirit:version>rxtx_tb</spirit:version> |
<ipxact:vendor>opencores.org</ipxact:vendor> |
<ipxact:library>logic</ipxact:library> |
<ipxact:name>uart</ipxact:name> |
<ipxact:version>rxtx_tb</ipxact:version> |
|
|
|
|
<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>uart_rxtx_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>uart_rxtx_tb</ipxact:value> |
</ipxact:parameter> |
</ipxact:parameters> |
</ipxact:componentGenerator> |
|
|
|
</spirit:componentGenerators> |
</ipxact:componentGenerators> |
|
|
|
<spirit:model> |
<spirit:modelParameters> |
<spirit:modelParameter><spirit:name>UART_MODEL_CLKCNT</spirit:name><spirit:value>4'hc</spirit:value></spirit:modelParameter> |
<spirit:modelParameter><spirit:name>UART_MODEL_SIZE</spirit:name><spirit:value>4</spirit:value></spirit:modelParameter> |
<spirit:modelParameter><spirit:name>DIVIDER</spirit:name><spirit:value>4'b0000</spirit:value></spirit:modelParameter> |
</spirit:modelParameters> |
<ipxact:model> |
<ipxact:modelParameters> |
<ipxact:modelParameter><ipxact:name>UART_MODEL_CLKCNT</ipxact:name><ipxact:value>4'hc</ipxact:value></ipxact:modelParameter> |
<ipxact:modelParameter><ipxact:name>UART_MODEL_SIZE</ipxact:name><ipxact:value>4</ipxact:value></ipxact:modelParameter> |
<ipxact:modelParameter><ipxact:name>DIVIDER</ipxact:name><ipxact:value>4'b0000</ipxact:value></ipxact:modelParameter> |
</ipxact:modelParameters> |
|
|
<spirit:views> |
<ipxact:views> |
|
|
|
<spirit:view> |
<spirit:name>Params</spirit:name> |
<spirit:vendorExtensions> |
<spirit:componentRef spirit:vendor="opencores.org" |
spirit:library="logic" |
spirit:name="uart" |
spirit:version="rxtx_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="uart" |
ipxact:version="rxtx_dut.params"/> |
</ipxact:vendorExtensions> |
</ipxact:view> |
|
|
<spirit:view> |
<spirit:name>Bfm</spirit:name> |
<spirit:hierarchyRef spirit:vendor="opencores.org" |
spirit:library="logic" |
spirit:name="uart" |
spirit:version="bfm.design"/> |
</spirit:view> |
<ipxact:view> |
<ipxact:name>Bfm</ipxact:name> |
<ipxact:hierarchyRef ipxact:vendor="opencores.org" |
ipxact:library="logic" |
ipxact:name="uart" |
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/tb.ext</spirit:name> |
<spirit:fileType>verilogSource</spirit:fileType><spirit:userFileType>fragment</spirit:userFileType> |
</spirit:file> |
<ipxact:file> |
<ipxact:logicalName></ipxact:logicalName> |
<ipxact:name>../verilog/tb.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/uart_rxtx_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/uart_rxtx_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/uart_rxtx_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/uart_rxtx_tb</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> |
/xml/uart_tx_dut.params.xml
6,37 → 6,37
// // |
// // |
--> |
<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>uart</spirit:name> |
<spirit:version>tx_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>uart</ipxact:name> |
<ipxact:version>tx_dut.params</ipxact:version> |
<ipxact:model> |
|
<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="uart" |
spirit:version="tx_duth.design"/> |
</spirit:view> |
</spirit:views> |
<spirit:modelParameters> |
<spirit:modelParameter><spirit:name>PRESCALE</spirit:name><spirit:value>5'b01100</spirit:value></spirit:modelParameter> |
<spirit:modelParameter><spirit:name>PRE_SIZE</spirit:name><spirit:value>5</spirit:value></spirit:modelParameter> |
<spirit:modelParameter><spirit:name>SIZE</spirit:name><spirit:value>8</spirit:value></spirit:modelParameter> |
<spirit:modelParameter><spirit:name>DIV</spirit:name><spirit:value>0</spirit:value></spirit:modelParameter> |
<spirit:modelParameter><spirit:name>DIV_SIZE</spirit:name><spirit:value>4</spirit:value></spirit:modelParameter> |
<spirit:modelParameter><spirit:name>TX_FIFO_SIZE</spirit:name><spirit:value>3</spirit:value></spirit:modelParameter> |
<spirit:modelParameter><spirit:name>TX_FIFO_WORDS</spirit:name><spirit:value>8</spirit:value></spirit:modelParameter> |
</spirit:modelParameters> |
</spirit:model> |
</spirit:component> |
<ipxact:view> |
<ipxact:name>Dut</ipxact:name> |
<ipxact:envIdentifier></ipxact:envIdentifier> |
<ipxact:hierarchyRef ipxact:vendor="opencores.org" |
ipxact:library="logic" |
ipxact:name="uart" |
ipxact:version="tx_duth.design"/> |
</ipxact:view> |
</ipxact:views> |
<ipxact:modelParameters> |
<ipxact:modelParameter><ipxact:name>PRESCALE</ipxact:name><ipxact:value>5'b01100</ipxact:value></ipxact:modelParameter> |
<ipxact:modelParameter><ipxact:name>PRE_SIZE</ipxact:name><ipxact:value>5</ipxact:value></ipxact:modelParameter> |
<ipxact:modelParameter><ipxact:name>SIZE</ipxact:name><ipxact:value>8</ipxact:value></ipxact:modelParameter> |
<ipxact:modelParameter><ipxact:name>DIV</ipxact:name><ipxact:value>0</ipxact:value></ipxact:modelParameter> |
<ipxact:modelParameter><ipxact:name>DIV_SIZE</ipxact:name><ipxact:value>4</ipxact:value></ipxact:modelParameter> |
<ipxact:modelParameter><ipxact:name>TX_FIFO_SIZE</ipxact:name><ipxact:value>3</ipxact:value></ipxact:modelParameter> |
<ipxact:modelParameter><ipxact:name>TX_FIFO_WORDS</ipxact:name><ipxact:value>8</ipxact:value></ipxact:modelParameter> |
</ipxact:modelParameters> |
</ipxact:model> |
</ipxact:component> |
/xml/uart_tx_duth.design.xml
6,178 → 6,174
// ./tools/verilog/gen_tb -vendor opencores.org -library logic -component uart -version tx // |
// // |
--> |
<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>uart</spirit:name> |
<spirit:version>tx_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>uart</ipxact:name> |
<ipxact:version>tx_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>cts_out</spirit:name> |
<spirit:externalPortReference spirit:portRef="cts_out" /> |
<spirit:internalPortReference spirit:componentRef="dut" spirit:portRef="cts_out" /> |
</spirit:adHocConnection> |
<ipxact:adHocConnection> |
<ipxact:name>cts_out</ipxact:name> |
<ipxact:externalPortReference portRef="cts_out" /> |
<ipxact:internalPortReference componentRef="dut" portRef="cts_out" /> |
</ipxact:adHocConnection> |
|
<spirit:adHocConnection> |
<spirit:name>cts_pad_in</spirit:name> |
<spirit:externalPortReference spirit:portRef="cts_pad_in" /> |
<spirit:internalPortReference spirit:componentRef="dut" spirit:portRef="cts_pad_in" /> |
</spirit:adHocConnection> |
<ipxact:adHocConnection> |
<ipxact:name>cts_pad_in</ipxact:name> |
<ipxact:externalPortReference portRef="cts_pad_in" /> |
<ipxact:internalPortReference componentRef="dut" portRef="cts_pad_in" /> |
</ipxact:adHocConnection> |
|
<spirit:adHocConnection> |
<spirit:name>divider_in</spirit:name> |
<spirit:externalPortReference spirit:portRef="divider_in" spirit:left="DIV_SIZE-1" spirit:right="0" /> |
<spirit:internalPortReference spirit:componentRef="dut" spirit:portRef="divider_in" /> |
</spirit:adHocConnection> |
<ipxact:adHocConnection> |
<ipxact:name>divider_in</ipxact:name> |
<ipxact:externalPortReference portRef="divider_in" left="DIV_SIZE-1" right="0" /> |
<ipxact:internalPortReference componentRef="dut" portRef="divider_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>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>rts_in</spirit:name> |
<spirit:externalPortReference spirit:portRef="rts_in" /> |
<spirit:internalPortReference spirit:componentRef="dut" spirit:portRef="rts_in" /> |
</spirit:adHocConnection> |
<ipxact:adHocConnection> |
<ipxact:name>rts_in</ipxact:name> |
<ipxact:externalPortReference portRef="rts_in" /> |
<ipxact:internalPortReference componentRef="dut" portRef="rts_in" /> |
</ipxact:adHocConnection> |
|
<spirit:adHocConnection> |
<spirit:name>rts_pad_out</spirit:name> |
<spirit:externalPortReference spirit:portRef="rts_pad_out" /> |
<spirit:internalPortReference spirit:componentRef="dut" spirit:portRef="rts_pad_out" /> |
</spirit:adHocConnection> |
<ipxact:adHocConnection> |
<ipxact:name>rts_pad_out</ipxact:name> |
<ipxact:externalPortReference portRef="rts_pad_out" /> |
<ipxact:internalPortReference componentRef="dut" portRef="rts_pad_out" /> |
</ipxact:adHocConnection> |
|
<spirit:adHocConnection> |
<spirit:name>rxd_data_avail</spirit:name> |
<spirit:externalPortReference spirit:portRef="rxd_data_avail" /> |
<spirit:internalPortReference spirit:componentRef="dut" spirit:portRef="rxd_data_avail" /> |
</spirit:adHocConnection> |
<ipxact:adHocConnection> |
<ipxact:name>rxd_data_avail</ipxact:name> |
<ipxact:externalPortReference portRef="rxd_data_avail" /> |
<ipxact:internalPortReference componentRef="dut" portRef="rxd_data_avail" /> |
</ipxact:adHocConnection> |
|
<spirit:adHocConnection> |
<spirit:name>rxd_data_avail_stb</spirit:name> |
<spirit:externalPortReference spirit:portRef="rxd_data_avail_stb" /> |
<spirit:internalPortReference spirit:componentRef="dut" spirit:portRef="rxd_data_avail_stb" /> |
</spirit:adHocConnection> |
<ipxact:adHocConnection> |
<ipxact:name>rxd_data_avail_stb</ipxact:name> |
<ipxact:externalPortReference portRef="rxd_data_avail_stb" /> |
<ipxact:internalPortReference componentRef="dut" portRef="rxd_data_avail_stb" /> |
</ipxact:adHocConnection> |
|
<spirit:adHocConnection> |
<spirit:name>rxd_data_out</spirit:name> |
<spirit:externalPortReference spirit:portRef="rxd_data_out" spirit:left="SIZE-1" spirit:right="0" /> |
<spirit:internalPortReference spirit:componentRef="dut" spirit:portRef="rxd_data_out" /> |
</spirit:adHocConnection> |
<ipxact:adHocConnection> |
<ipxact:name>rxd_data_out</ipxact:name> |
<ipxact:externalPortReference portRef="rxd_data_out" left="SIZE-1" right="0" /> |
<ipxact:internalPortReference componentRef="dut" portRef="rxd_data_out" /> |
</ipxact:adHocConnection> |
|
<spirit:adHocConnection> |
<spirit:name>rxd_force_parity</spirit:name> |
<spirit:externalPortReference spirit:portRef="rxd_force_parity" /> |
<spirit:internalPortReference spirit:componentRef="dut" spirit:portRef="rxd_force_parity" /> |
</spirit:adHocConnection> |
<ipxact:adHocConnection> |
<ipxact:name>rxd_force_parity</ipxact:name> |
<ipxact:externalPortReference portRef="rxd_force_parity" /> |
<ipxact:internalPortReference componentRef="dut" portRef="rxd_force_parity" /> |
</ipxact:adHocConnection> |
|
<spirit:adHocConnection> |
<spirit:name>rxd_pad_in</spirit:name> |
<spirit:externalPortReference spirit:portRef="rxd_pad_in" /> |
<spirit:internalPortReference spirit:componentRef="dut" spirit:portRef="rxd_pad_in" /> |
</spirit:adHocConnection> |
<ipxact:adHocConnection> |
<ipxact:name>rxd_pad_in</ipxact:name> |
<ipxact:externalPortReference portRef="rxd_pad_in" /> |
<ipxact:internalPortReference componentRef="dut" portRef="rxd_pad_in" /> |
</ipxact:adHocConnection> |
|
<spirit:adHocConnection> |
<spirit:name>rxd_parity</spirit:name> |
<spirit:externalPortReference spirit:portRef="rxd_parity" /> |
<spirit:internalPortReference spirit:componentRef="dut" spirit:portRef="rxd_parity" /> |
</spirit:adHocConnection> |
<ipxact:adHocConnection> |
<ipxact:name>rxd_parity</ipxact:name> |
<ipxact:externalPortReference portRef="rxd_parity" /> |
<ipxact:internalPortReference componentRef="dut" portRef="rxd_parity" /> |
</ipxact:adHocConnection> |
|
<spirit:adHocConnection> |
<spirit:name>rxd_parity_error</spirit:name> |
<spirit:externalPortReference spirit:portRef="rxd_parity_error" /> |
<spirit:internalPortReference spirit:componentRef="dut" spirit:portRef="rxd_parity_error" /> |
</spirit:adHocConnection> |
<ipxact:adHocConnection> |
<ipxact:name>rxd_parity_error</ipxact:name> |
<ipxact:externalPortReference portRef="rxd_parity_error" /> |
<ipxact:internalPortReference componentRef="dut" portRef="rxd_parity_error" /> |
</ipxact:adHocConnection> |
|
<spirit:adHocConnection> |
<spirit:name>rxd_stop_error</spirit:name> |
<spirit:externalPortReference spirit:portRef="rxd_stop_error" /> |
<spirit:internalPortReference spirit:componentRef="dut" spirit:portRef="rxd_stop_error" /> |
</spirit:adHocConnection> |
<ipxact:adHocConnection> |
<ipxact:name>rxd_stop_error</ipxact:name> |
<ipxact:externalPortReference portRef="rxd_stop_error" /> |
<ipxact:internalPortReference componentRef="dut" portRef="rxd_stop_error" /> |
</ipxact:adHocConnection> |
|
<spirit:adHocConnection> |
<spirit:name>txd_break</spirit:name> |
<spirit:externalPortReference spirit:portRef="txd_break" /> |
<spirit:internalPortReference spirit:componentRef="dut" spirit:portRef="txd_break" /> |
</spirit:adHocConnection> |
<ipxact:adHocConnection> |
<ipxact:name>txd_break</ipxact:name> |
<ipxact:externalPortReference portRef="txd_break" /> |
<ipxact:internalPortReference componentRef="dut" portRef="txd_break" /> |
</ipxact:adHocConnection> |
|
<spirit:adHocConnection> |
<spirit:name>txd_buffer_empty</spirit:name> |
<spirit:externalPortReference spirit:portRef="txd_buffer_empty" /> |
<spirit:internalPortReference spirit:componentRef="dut" spirit:portRef="txd_buffer_empty" /> |
</spirit:adHocConnection> |
<ipxact:adHocConnection> |
<ipxact:name>txd_buffer_empty</ipxact:name> |
<ipxact:externalPortReference portRef="txd_buffer_empty" /> |
<ipxact:internalPortReference componentRef="dut" portRef="txd_buffer_empty" /> |
</ipxact:adHocConnection> |
|
<spirit:adHocConnection> |
<spirit:name>txd_buffer_empty_NIRQ</spirit:name> |
<spirit:externalPortReference spirit:portRef="txd_buffer_empty_NIRQ" /> |
<spirit:internalPortReference spirit:componentRef="dut" spirit:portRef="txd_buffer_empty_NIRQ" /> |
</spirit:adHocConnection> |
|
<spirit:adHocConnection> |
<spirit:name>txd_data_in</spirit:name> |
<spirit:externalPortReference spirit:portRef="txd_data_in" spirit:left="SIZE-1" spirit:right="0" /> |
<spirit:internalPortReference spirit:componentRef="dut" spirit:portRef="txd_data_in" /> |
</spirit:adHocConnection> |
|
<spirit:adHocConnection> |
<spirit:name>txd_force_parity</spirit:name> |
<spirit:externalPortReference spirit:portRef="txd_force_parity" /> |
<spirit:internalPortReference spirit:componentRef="dut" spirit:portRef="txd_force_parity" /> |
</spirit:adHocConnection> |
<ipxact:adHocConnection> |
<ipxact:name>txd_data_in</ipxact:name> |
<ipxact:externalPortReference portRef="txd_data_in" left="SIZE-1" right="0" /> |
<ipxact:internalPortReference componentRef="dut" portRef="txd_data_in" /> |
</ipxact:adHocConnection> |
|
<spirit:adHocConnection> |
<spirit:name>txd_load</spirit:name> |
<spirit:externalPortReference spirit:portRef="txd_load" /> |
<spirit:internalPortReference spirit:componentRef="dut" spirit:portRef="txd_load" /> |
</spirit:adHocConnection> |
<ipxact:adHocConnection> |
<ipxact:name>txd_force_parity</ipxact:name> |
<ipxact:externalPortReference portRef="txd_force_parity" /> |
<ipxact:internalPortReference componentRef="dut" portRef="txd_force_parity" /> |
</ipxact:adHocConnection> |
|
<spirit:adHocConnection> |
<spirit:name>txd_pad_out</spirit:name> |
<spirit:externalPortReference spirit:portRef="txd_pad_out" /> |
<spirit:internalPortReference spirit:componentRef="dut" spirit:portRef="txd_pad_out" /> |
</spirit:adHocConnection> |
<ipxact:adHocConnection> |
<ipxact:name>txd_load</ipxact:name> |
<ipxact:externalPortReference portRef="txd_load" /> |
<ipxact:internalPortReference componentRef="dut" portRef="txd_load" /> |
</ipxact:adHocConnection> |
|
<spirit:adHocConnection> |
<spirit:name>txd_parity</spirit:name> |
<spirit:externalPortReference spirit:portRef="txd_parity" /> |
<spirit:internalPortReference spirit:componentRef="dut" spirit:portRef="txd_parity" /> |
</spirit:adHocConnection> |
<ipxact:adHocConnection> |
<ipxact:name>txd_pad_out</ipxact:name> |
<ipxact:externalPortReference portRef="txd_pad_out" /> |
<ipxact:internalPortReference componentRef="dut" portRef="txd_pad_out" /> |
</ipxact:adHocConnection> |
|
<ipxact:adHocConnection> |
<ipxact:name>txd_parity</ipxact:name> |
<ipxact:externalPortReference portRef="txd_parity" /> |
<ipxact:internalPortReference componentRef="dut" portRef="txd_parity" /> |
</ipxact:adHocConnection> |
|
</spirit:adHocConnections> |
<spirit:componentInstances> |
|
<spirit:componentInstance> |
<spirit:instanceName>dut</spirit:instanceName> |
<spirit:componentRef spirit:vendor="opencores.org" spirit:library="logic" spirit:name="uart" spirit:version="tx" /> |
<spirit:configurableElementValues> |
<spirit:configurableElementValue spirit:referenceId="DIV">DIV</spirit:configurableElementValue> |
<spirit:configurableElementValue spirit:referenceId="DIV_SIZE">DIV_SIZE</spirit:configurableElementValue> |
<spirit:configurableElementValue spirit:referenceId="PRESCALE">PRESCALE</spirit:configurableElementValue> |
<spirit:configurableElementValue spirit:referenceId="PRE_SIZE">PRE_SIZE</spirit:configurableElementValue> |
<spirit:configurableElementValue spirit:referenceId="SIZE">SIZE</spirit:configurableElementValue> |
<spirit:configurableElementValue spirit:referenceId="TX_FIFO_SIZE">TX_FIFO_SIZE</spirit:configurableElementValue> |
<spirit:configurableElementValue spirit:referenceId="TX_FIFO_WORDS">TX_FIFO_WORDS</spirit:configurableElementValue> |
</spirit:configurableElementValues> |
</spirit:componentInstance> |
</spirit:componentInstances> |
</spirit:design> |
</ipxact:adHocConnections> |
<ipxact:componentInstances> |
|
<ipxact:componentInstance> |
<ipxact:instanceName>dut</ipxact:instanceName> |
<ipxact:componentRef vendor="opencores.org" library="logic" name="uart" version="tx" /> |
<ipxact:configurableElementValues> |
<ipxact:configurableElementValue referenceId="DIV">DIV</ipxact:configurableElementValue> |
<ipxact:configurableElementValue referenceId="DIV_SIZE">DIV_SIZE</ipxact:configurableElementValue> |
<ipxact:configurableElementValue referenceId="PRESCALE">PRESCALE</ipxact:configurableElementValue> |
<ipxact:configurableElementValue referenceId="PRE_SIZE">PRE_SIZE</ipxact:configurableElementValue> |
<ipxact:configurableElementValue referenceId="SIZE">SIZE</ipxact:configurableElementValue> |
<ipxact:configurableElementValue referenceId="TX_FIFO_SIZE">TX_FIFO_SIZE</ipxact:configurableElementValue> |
<ipxact:configurableElementValue referenceId="TX_FIFO_WORDS">TX_FIFO_WORDS</ipxact:configurableElementValue> |
</ipxact:configurableElementValues> |
</ipxact:componentInstance> |
</ipxact:componentInstances> |
</ipxact:design> |
/xml/uart_tx_lint.xml
27,60 → 27,60
// 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>uart</spirit:name> |
<spirit:version>tx_lint</spirit:version> |
<ipxact:vendor>opencores.org</ipxact:vendor> |
<ipxact:library>logic</ipxact:library> |
<ipxact:name>uart</ipxact:name> |
<ipxact:version>tx_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="uart" |
spirit:version="tx_dut.params"/> |
</spirit:vendorExtensions> |
<ipxact:view> |
<ipxact:name>Dut</ipxact:name> |
<ipxact:vendorExtensions> |
<ipxact:componentRef ipxact:vendor="opencores.org" |
ipxact:library="logic" |
ipxact:name="uart" |
ipxact:version="tx_dut.params"/> |
</ipxact:vendorExtensions> |
|
</spirit:view> |
</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> |
|
|
|
88,31 → 88,31
|
|
|
</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/uart_tx_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/uart_tx_lint</ipxact:name> |
<ipxact:fileType>verilogSource</ipxact:fileType><ipxact:userFileType>module</ipxact:userFileType> |
</ipxact:file> |
|
</spirit:fileSet> |
</ipxact:fileSet> |
|
|
|
|
</spirit:fileSets> |
</ipxact:fileSets> |
|
|
|
119,4 → 119,4
|
|
|
</spirit:component> |
</ipxact:component> |
/xml/uart_tx_tb.xml
27,125 → 27,125
// 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>uart</spirit:name> |
<spirit:version>tx_tb</spirit:version> |
<ipxact:vendor>opencores.org</ipxact:vendor> |
<ipxact:library>logic</ipxact:library> |
<ipxact:name>uart</ipxact:name> |
<ipxact:version>tx_tb</ipxact:version> |
|
|
|
|
<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>uart_tx_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>uart_tx_tb</ipxact:value> |
</ipxact:parameter> |
</ipxact:parameters> |
</ipxact:componentGenerator> |
|
|
|
|
|
</spirit:componentGenerators> |
</ipxact:componentGenerators> |
|
|
|
|
<spirit:model> |
<spirit:modelParameters> |
<spirit:modelParameter><spirit:name>UART_MODEL_CLKCNT</spirit:name><spirit:value>4'hc</spirit:value></spirit:modelParameter> |
<spirit:modelParameter><spirit:name>UART_MODEL_SIZE</spirit:name><spirit:value>4</spirit:value></spirit:modelParameter> |
<spirit:modelParameter><spirit:name>DIVIDER</spirit:name><spirit:value>4'b0000</spirit:value></spirit:modelParameter> |
</spirit:modelParameters> |
<ipxact:model> |
<ipxact:modelParameters> |
<ipxact:modelParameter><ipxact:name>UART_MODEL_CLKCNT</ipxact:name><ipxact:value>4'hc</ipxact:value></ipxact:modelParameter> |
<ipxact:modelParameter><ipxact:name>UART_MODEL_SIZE</ipxact:name><ipxact:value>4</ipxact:value></ipxact:modelParameter> |
<ipxact:modelParameter><ipxact:name>DIVIDER</ipxact:name><ipxact:value>4'b0000</ipxact:value></ipxact:modelParameter> |
</ipxact:modelParameters> |
|
|
<spirit:views> |
<ipxact:views> |
|
<spirit:view> |
<spirit:name>Params</spirit:name> |
<spirit:vendorExtensions> |
<spirit:componentRef spirit:vendor="opencores.org" |
spirit:library="logic" |
spirit:name="uart" |
spirit:version="tx_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="uart" |
ipxact:version="tx_dut.params"/> |
</ipxact:vendorExtensions> |
</ipxact:view> |
|
|
<spirit:view> |
<spirit:name>Bfm</spirit:name> |
<spirit:hierarchyRef spirit:vendor="opencores.org" |
spirit:library="logic" |
spirit:name="uart" |
spirit:version="bfm.design"/> |
</spirit:view> |
<ipxact:view> |
<ipxact:name>Bfm</ipxact:name> |
<ipxact:hierarchyRef ipxact:vendor="opencores.org" |
ipxact:library="logic" |
ipxact:name="uart" |
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> |
|
|
|
154,55 → 154,55
|
|
|
</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/tb.ext</spirit:name> |
<spirit:fileType>verilogSource</spirit:fileType><spirit:userFileType>fragment</spirit:userFileType> |
</spirit:file> |
<ipxact:file> |
<ipxact:logicalName></ipxact:logicalName> |
<ipxact:name>../verilog/tb.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/uart_tx_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/uart_tx_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/uart_tx_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/uart_tx_tb</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> |