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/io/ip/io_module/sim/testbenches
- from Rev 131 to Rev 133
- ↔ Reverse comparison
Rev 131 → Rev 133
/xml/io_module_mouse_duth.design.xml
0,0 → 1,267
<?xml version="1.0" encoding="UTF-8"?> |
<!-- |
// // |
// Generated File Do Not EDIT // |
// // |
// ./tools/verilog/gen_tb -vendor opencores.org -library io -component io_module -version mouse // |
// // |
--> |
<spirit:design |
xmlns:spirit="http://www.spiritconsortium.org/XMLSchema/SPIRIT/1685-2009" |
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>io</spirit:library> |
<spirit:name>io_module</spirit:name> |
<spirit:version>mouse_duth.design</spirit:version> |
<spirit:adHocConnections> |
|
<spirit:adHocConnection> |
<spirit:name>clk</spirit:name> |
<spirit:externalPortReference spirit:portRef="clk" /> |
<spirit:internalPortReference spirit:componentRef="dut" spirit:portRef="clk" /> |
</spirit: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> |
|
<spirit:adHocConnection> |
<spirit:name>enable</spirit:name> |
<spirit:externalPortReference spirit:portRef="enable" /> |
<spirit:internalPortReference spirit:componentRef="dut" spirit:portRef="enable" /> |
</spirit:adHocConnection> |
|
<spirit:adHocConnection> |
<spirit:name>gpio_0_in</spirit:name> |
<spirit:externalPortReference spirit:portRef="gpio_0_in" spirit:left="7" spirit:right="0" /> |
<spirit:internalPortReference spirit:componentRef="dut" spirit:portRef="gpio_0_in" /> |
</spirit:adHocConnection> |
|
<spirit:adHocConnection> |
<spirit:name>gpio_0_oe</spirit:name> |
<spirit:externalPortReference spirit:portRef="gpio_0_oe" spirit:left="7" spirit:right="0" /> |
<spirit:internalPortReference spirit:componentRef="dut" spirit:portRef="gpio_0_oe" /> |
</spirit:adHocConnection> |
|
<spirit:adHocConnection> |
<spirit:name>gpio_0_out</spirit:name> |
<spirit:externalPortReference spirit:portRef="gpio_0_out" spirit:left="7" spirit:right="0" /> |
<spirit:internalPortReference spirit:componentRef="dut" spirit:portRef="gpio_0_out" /> |
</spirit:adHocConnection> |
|
<spirit:adHocConnection> |
<spirit:name>gpio_1_in</spirit:name> |
<spirit:externalPortReference spirit:portRef="gpio_1_in" spirit:left="7" spirit:right="0" /> |
<spirit:internalPortReference spirit:componentRef="dut" spirit:portRef="gpio_1_in" /> |
</spirit:adHocConnection> |
|
<spirit:adHocConnection> |
<spirit:name>gpio_1_oe</spirit:name> |
<spirit:externalPortReference spirit:portRef="gpio_1_oe" spirit:left="7" spirit:right="0" /> |
<spirit:internalPortReference spirit:componentRef="dut" spirit:portRef="gpio_1_oe" /> |
</spirit:adHocConnection> |
|
<spirit:adHocConnection> |
<spirit:name>gpio_1_out</spirit:name> |
<spirit:externalPortReference spirit:portRef="gpio_1_out" spirit:left="7" spirit:right="0" /> |
<spirit:internalPortReference spirit:componentRef="dut" spirit:portRef="gpio_1_out" /> |
</spirit:adHocConnection> |
|
<spirit:adHocConnection> |
<spirit:name>ms_left</spirit:name> |
<spirit:externalPortReference spirit:portRef="ms_left" /> |
<spirit:internalPortReference spirit:componentRef="dut" spirit:portRef="ms_left" /> |
</spirit:adHocConnection> |
|
<spirit:adHocConnection> |
<spirit:name>ms_mid</spirit:name> |
<spirit:externalPortReference spirit:portRef="ms_mid" /> |
<spirit:internalPortReference spirit:componentRef="dut" spirit:portRef="ms_mid" /> |
</spirit:adHocConnection> |
|
<spirit:adHocConnection> |
<spirit:name>ms_right</spirit:name> |
<spirit:externalPortReference spirit:portRef="ms_right" /> |
<spirit:internalPortReference spirit:componentRef="dut" spirit:portRef="ms_right" /> |
</spirit:adHocConnection> |
|
<spirit:adHocConnection> |
<spirit:name>new_packet</spirit:name> |
<spirit:externalPortReference spirit:portRef="new_packet" /> |
<spirit:internalPortReference spirit:componentRef="dut" spirit:portRef="new_packet" /> |
</spirit:adHocConnection> |
|
<spirit:adHocConnection> |
<spirit:name>pic_irq</spirit:name> |
<spirit:externalPortReference spirit:portRef="pic_irq" /> |
<spirit:internalPortReference spirit:componentRef="dut" spirit:portRef="pic_irq" /> |
</spirit:adHocConnection> |
|
<spirit:adHocConnection> |
<spirit:name>pic_irq_in</spirit:name> |
<spirit:externalPortReference spirit:portRef="pic_irq_in" spirit:left="7" spirit:right="0" /> |
<spirit:internalPortReference spirit:componentRef="dut" spirit:portRef="pic_irq_in" /> |
</spirit:adHocConnection> |
|
<spirit:adHocConnection> |
<spirit:name>pic_nmi</spirit:name> |
<spirit:externalPortReference spirit:portRef="pic_nmi" /> |
<spirit:internalPortReference spirit:componentRef="dut" spirit:portRef="pic_nmi" /> |
</spirit:adHocConnection> |
|
<spirit:adHocConnection> |
<spirit:name>ps2_clk_pad_in</spirit:name> |
<spirit:externalPortReference spirit:portRef="ps2_clk_pad_in" /> |
<spirit:internalPortReference spirit:componentRef="dut" spirit:portRef="ps2_clk_pad_in" /> |
</spirit:adHocConnection> |
|
<spirit:adHocConnection> |
<spirit:name>ps2_clk_pad_oe</spirit:name> |
<spirit:externalPortReference spirit:portRef="ps2_clk_pad_oe" /> |
<spirit:internalPortReference spirit:componentRef="dut" spirit:portRef="ps2_clk_pad_oe" /> |
</spirit:adHocConnection> |
|
<spirit:adHocConnection> |
<spirit:name>ps2_data_avail</spirit:name> |
<spirit:externalPortReference spirit:portRef="ps2_data_avail" /> |
<spirit:internalPortReference spirit:componentRef="dut" spirit:portRef="ps2_data_avail" /> |
</spirit:adHocConnection> |
|
<spirit:adHocConnection> |
<spirit:name>ps2_data_pad_in</spirit:name> |
<spirit:externalPortReference spirit:portRef="ps2_data_pad_in" /> |
<spirit:internalPortReference spirit:componentRef="dut" spirit:portRef="ps2_data_pad_in" /> |
</spirit:adHocConnection> |
|
<spirit:adHocConnection> |
<spirit:name>ps2_data_pad_oe</spirit:name> |
<spirit:externalPortReference spirit:portRef="ps2_data_pad_oe" /> |
<spirit:internalPortReference spirit:componentRef="dut" spirit:portRef="ps2_data_pad_oe" /> |
</spirit:adHocConnection> |
|
<spirit:adHocConnection> |
<spirit:name>reg_mb_addr</spirit:name> |
<spirit:externalPortReference spirit:portRef="reg_mb_addr" spirit:left="7" spirit:right="0" /> |
<spirit:internalPortReference spirit:componentRef="dut" spirit:portRef="reg_mb_addr" /> |
</spirit:adHocConnection> |
|
<spirit:adHocConnection> |
<spirit:name>reg_mb_cs</spirit:name> |
<spirit:externalPortReference spirit:portRef="reg_mb_cs" /> |
<spirit:internalPortReference spirit:componentRef="dut" spirit:portRef="reg_mb_cs" /> |
</spirit:adHocConnection> |
|
<spirit:adHocConnection> |
<spirit:name>reg_mb_rd</spirit:name> |
<spirit:externalPortReference spirit:portRef="reg_mb_rd" /> |
<spirit:internalPortReference spirit:componentRef="dut" spirit:portRef="reg_mb_rd" /> |
</spirit:adHocConnection> |
|
<spirit:adHocConnection> |
<spirit:name>reg_mb_rdata</spirit:name> |
<spirit:externalPortReference spirit:portRef="reg_mb_rdata" spirit:left="15" spirit:right="0" /> |
<spirit:internalPortReference spirit:componentRef="dut" spirit:portRef="reg_mb_rdata" /> |
</spirit:adHocConnection> |
|
<spirit:adHocConnection> |
<spirit:name>reg_mb_wait</spirit:name> |
<spirit:externalPortReference spirit:portRef="reg_mb_wait" /> |
<spirit:internalPortReference spirit:componentRef="dut" spirit:portRef="reg_mb_wait" /> |
</spirit:adHocConnection> |
|
<spirit:adHocConnection> |
<spirit:name>reg_mb_wdata</spirit:name> |
<spirit:externalPortReference spirit:portRef="reg_mb_wdata" spirit:left="7" spirit:right="0" /> |
<spirit:internalPortReference spirit:componentRef="dut" spirit:portRef="reg_mb_wdata" /> |
</spirit:adHocConnection> |
|
<spirit:adHocConnection> |
<spirit:name>reg_mb_wr</spirit:name> |
<spirit:externalPortReference spirit:portRef="reg_mb_wr" /> |
<spirit:internalPortReference spirit:componentRef="dut" spirit:portRef="reg_mb_wr" /> |
</spirit:adHocConnection> |
|
<spirit:adHocConnection> |
<spirit:name>reset</spirit:name> |
<spirit:externalPortReference spirit:portRef="reset" /> |
<spirit:internalPortReference spirit:componentRef="dut" spirit:portRef="reset" /> |
</spirit: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> |
|
<spirit:adHocConnection> |
<spirit:name>rx_irq</spirit:name> |
<spirit:externalPortReference spirit:portRef="rx_irq" /> |
<spirit:internalPortReference spirit:componentRef="dut" spirit:portRef="rx_irq" /> |
</spirit:adHocConnection> |
|
<spirit:adHocConnection> |
<spirit:name>timer_irq</spirit:name> |
<spirit:externalPortReference spirit:portRef="timer_irq" spirit:left="1" spirit:right="0" /> |
<spirit:internalPortReference spirit:componentRef="dut" spirit:portRef="timer_irq" /> |
</spirit:adHocConnection> |
|
<spirit:adHocConnection> |
<spirit:name>tx_irq</spirit:name> |
<spirit:externalPortReference spirit:portRef="tx_irq" /> |
<spirit:internalPortReference spirit:componentRef="dut" spirit:portRef="tx_irq" /> |
</spirit:adHocConnection> |
|
<spirit:adHocConnection> |
<spirit:name>uart_rxd_pad_in</spirit:name> |
<spirit:externalPortReference spirit:portRef="uart_rxd_pad_in" /> |
<spirit:internalPortReference spirit:componentRef="dut" spirit:portRef="uart_rxd_pad_in" /> |
</spirit:adHocConnection> |
|
<spirit:adHocConnection> |
<spirit:name>uart_txd_pad_out</spirit:name> |
<spirit:externalPortReference spirit:portRef="uart_txd_pad_out" /> |
<spirit:internalPortReference spirit:componentRef="dut" spirit:portRef="uart_txd_pad_out" /> |
</spirit:adHocConnection> |
|
<spirit:adHocConnection> |
<spirit:name>wait_n</spirit:name> |
<spirit:externalPortReference spirit:portRef="wait_n" /> |
<spirit:internalPortReference spirit:componentRef="dut" spirit:portRef="wait_n" /> |
</spirit:adHocConnection> |
|
<spirit:adHocConnection> |
<spirit:name>x_pos</spirit:name> |
<spirit:externalPortReference spirit:portRef="x_pos" spirit:left="9" spirit:right="0" /> |
<spirit:internalPortReference spirit:componentRef="dut" spirit:portRef="x_pos" /> |
</spirit:adHocConnection> |
|
<spirit:adHocConnection> |
<spirit:name>y_pos</spirit:name> |
<spirit:externalPortReference spirit:portRef="y_pos" spirit:left="9" spirit:right="0" /> |
<spirit:internalPortReference spirit:componentRef="dut" spirit:portRef="y_pos" /> |
</spirit:adHocConnection> |
|
|
</spirit:adHocConnections> |
<spirit:componentInstances> |
|
<spirit:componentInstance> |
<spirit:instanceName>dut</spirit:instanceName> |
<spirit:componentRef spirit:vendor="opencores.org" spirit:library="io" spirit:name="io_module" spirit:version="mouse" /> |
<spirit:configurableElementValues> |
<spirit:configurableElementValue spirit:referenceId="ADDR_WIDTH">ADDR_WIDTH</spirit:configurableElementValue> |
<spirit:configurableElementValue spirit:referenceId="BASE_WIDTH">BASE_WIDTH</spirit:configurableElementValue> |
<spirit:configurableElementValue spirit:referenceId="IRQ_MODE">IRQ_MODE</spirit:configurableElementValue> |
<spirit:configurableElementValue spirit:referenceId="NMI_MODE">NMI_MODE</spirit:configurableElementValue> |
<spirit:configurableElementValue spirit:referenceId="UART_DIV">UART_DIV</spirit:configurableElementValue> |
<spirit:configurableElementValue spirit:referenceId="UART_PRESCALE">UART_PRESCALE</spirit:configurableElementValue> |
<spirit:configurableElementValue spirit:referenceId="UART_PRE_SIZE">UART_PRE_SIZE</spirit:configurableElementValue> |
</spirit:configurableElementValues> |
</spirit:componentInstance> |
</spirit:componentInstances> |
</spirit:design> |
/xml/io_module_def_lint.xml
39,8 → 39,45
<spirit:name>io_module</spirit:name> |
<spirit:version>def_lint</spirit:version> |
|
<spirit:componentGenerators> |
|
<spirit:componentGenerator> |
<spirit:name>elab_verilog</spirit:name> |
<spirit:phase>102.1</spirit:phase> |
<spirit:apiType>none</spirit:apiType> |
<spirit:vendorExtensions><socgen:envIdentifier>:*Simulation:*</socgen:envIdentifier></spirit:vendorExtensions |
> |
<spirit:generatorExe>./tools/verilog/elab_verilog</spirit:generatorExe> |
<spirit:parameters> |
<spirit:parameter> |
<spirit:name>configuration</spirit:name> |
<spirit:value>default</spirit:value> |
</spirit:parameter> |
<spirit:parameter> |
<spirit:name>dest_dir</spirit:name> |
<spirit:value>io_ports</spirit:value> |
</spirit:parameter> |
</spirit:parameters> |
</spirit:componentGenerator> |
|
<spirit:componentGenerator> |
<spirit:name>gen_design</spirit:name> |
<spirit:phase>102.1</spirit:phase> |
<spirit:apiType>none</spirit:apiType> |
<spirit:vendorExtensions><socgen:envIdentifier>:*Simulation:*</socgen:envIdentifier></spirit:vendorExtensions |
> |
<spirit:generatorExe>./tools/verilog/gen_design</spirit:generatorExe> |
<spirit:parameters> |
<spirit:parameter> |
<spirit:name>dest_dir</spirit:name> |
<spirit:value>io_ports</spirit:value> |
</spirit:parameter> |
</spirit:parameters> |
</spirit:componentGenerator> |
|
</spirit:componentGenerators> |
|
|
<spirit:model> |
|
|
/xml/io_module_gpio_lint.xml
40,11 → 40,48
<spirit:version>gpio_lint</spirit:version> |
|
|
<spirit:componentGenerators> |
|
<spirit:componentGenerator> |
<spirit:name>elab_verilog</spirit:name> |
<spirit:phase>102.1</spirit:phase> |
<spirit:apiType>none</spirit:apiType> |
<spirit:vendorExtensions><socgen:envIdentifier>:*Simulation:*</socgen:envIdentifier></spirit:vendorExtensions |
> |
<spirit:generatorExe>./tools/verilog/elab_verilog</spirit:generatorExe> |
<spirit:parameters> |
<spirit:parameter> |
<spirit:name>configuration</spirit:name> |
<spirit:value>default</spirit:value> |
</spirit:parameter> |
<spirit:parameter> |
<spirit:name>dest_dir</spirit:name> |
<spirit:value>io_ports</spirit:value> |
</spirit:parameter> |
</spirit:parameters> |
</spirit:componentGenerator> |
|
<spirit:componentGenerator> |
<spirit:name>gen_design</spirit:name> |
<spirit:phase>102.1</spirit:phase> |
<spirit:apiType>none</spirit:apiType> |
<spirit:vendorExtensions><socgen:envIdentifier>:*Simulation:*</socgen:envIdentifier></spirit:vendorExtensions |
> |
<spirit:generatorExe>./tools/verilog/gen_design</spirit:generatorExe> |
<spirit:parameters> |
<spirit:parameter> |
<spirit:name>dest_dir</spirit:name> |
<spirit:value>io_ports</spirit:value> |
</spirit:parameter> |
</spirit:parameters> |
</spirit:componentGenerator> |
|
</spirit:componentGenerators> |
|
|
|
|
|
<spirit:model> |
|
|
/xml/io_module_mouse_dut.params.xml
1,9 → 1,9
<?xml version="1.0" encoding="UTF-8"?> |
<!-- |
// // |
// Generated File Do Not EDIT // |
// // |
// // |
// regen by adding -tb to gen_verilog script // |
// // |
// // |
--> |
<spirit:component |
26,17 → 26,8
<spirit:hierarchyRef spirit:vendor="opencores.org" |
spirit:library="io" |
spirit:name="io_module" |
spirit:version="mouse_dutg.design"/> |
spirit:version="mouse_duth.design"/> |
</spirit:view> |
</spirit:views> |
<spirit:modelParameters> |
<spirit:modelParameter><spirit:name>UART_PRESCALE</spirit:name><spirit:value>5'b01100</spirit:value></spirit:modelParameter> |
<spirit:modelParameter><spirit:name>UART_PRE_SIZE</spirit:name><spirit:value>5</spirit:value></spirit:modelParameter> |
<spirit:modelParameter><spirit:name>UART_DIV</spirit:name><spirit:value>0</spirit:value></spirit:modelParameter> |
<spirit:modelParameter><spirit:name>BASE_WIDTH</spirit:name><spirit:value>8</spirit:value></spirit:modelParameter> |
<spirit:modelParameter><spirit:name>ADDR_WIDTH</spirit:name><spirit:value>16</spirit:value></spirit:modelParameter> |
<spirit:modelParameter><spirit:name>NMI_MODE</spirit:name><spirit:value>8'h00</spirit:value></spirit:modelParameter> |
<spirit:modelParameter><spirit:name>IRQ_MODE</spirit:name><spirit:value>8'h00</spirit:value></spirit:modelParameter> |
</spirit:modelParameters> |
</spirit:model> |
</spirit:component> |
/xml/io_module_def_duth.design.xml
0,0 → 1,404
<?xml version="1.0" encoding="UTF-8"?> |
<!-- |
// // |
// Generated File Do Not EDIT // |
// // |
// ./tools/verilog/gen_tb -vendor opencores.org -library io -component io_module -version def // |
// // |
--> |
<spirit:design |
xmlns:spirit="http://www.spiritconsortium.org/XMLSchema/SPIRIT/1685-2009" |
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>io</spirit:library> |
<spirit:name>io_module</spirit:name> |
<spirit:version>def_duth.design</spirit:version> |
<spirit:adHocConnections> |
|
<spirit:adHocConnection> |
<spirit:name>clk</spirit:name> |
<spirit:externalPortReference spirit:portRef="clk" /> |
<spirit:internalPortReference spirit:componentRef="dut" spirit:portRef="clk" /> |
</spirit: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> |
|
<spirit:adHocConnection> |
<spirit:name>enable</spirit:name> |
<spirit:externalPortReference spirit:portRef="enable" /> |
<spirit:internalPortReference spirit:componentRef="dut" spirit:portRef="enable" /> |
</spirit:adHocConnection> |
|
<spirit:adHocConnection> |
<spirit:name>ext_addr</spirit:name> |
<spirit:externalPortReference spirit:portRef="ext_addr" spirit:left="23" spirit:right="1" /> |
<spirit:internalPortReference spirit:componentRef="dut" spirit:portRef="ext_addr" /> |
</spirit:adHocConnection> |
|
<spirit:adHocConnection> |
<spirit:name>ext_cs</spirit:name> |
<spirit:externalPortReference spirit:portRef="ext_cs" spirit:left="1" spirit:right="0" /> |
<spirit:internalPortReference spirit:componentRef="dut" spirit:portRef="ext_cs" /> |
</spirit:adHocConnection> |
|
<spirit:adHocConnection> |
<spirit:name>ext_lb</spirit:name> |
<spirit:externalPortReference spirit:portRef="ext_lb" /> |
<spirit:internalPortReference spirit:componentRef="dut" spirit:portRef="ext_lb" /> |
</spirit:adHocConnection> |
|
<spirit:adHocConnection> |
<spirit:name>ext_rd</spirit:name> |
<spirit:externalPortReference spirit:portRef="ext_rd" /> |
<spirit:internalPortReference spirit:componentRef="dut" spirit:portRef="ext_rd" /> |
</spirit:adHocConnection> |
|
<spirit:adHocConnection> |
<spirit:name>ext_rdata</spirit:name> |
<spirit:externalPortReference spirit:portRef="ext_rdata" spirit:left="15" spirit:right="0" /> |
<spirit:internalPortReference spirit:componentRef="dut" spirit:portRef="ext_rdata" /> |
</spirit:adHocConnection> |
|
<spirit:adHocConnection> |
<spirit:name>ext_stb</spirit:name> |
<spirit:externalPortReference spirit:portRef="ext_stb" /> |
<spirit:internalPortReference spirit:componentRef="dut" spirit:portRef="ext_stb" /> |
</spirit:adHocConnection> |
|
<spirit:adHocConnection> |
<spirit:name>ext_ub</spirit:name> |
<spirit:externalPortReference spirit:portRef="ext_ub" /> |
<spirit:internalPortReference spirit:componentRef="dut" spirit:portRef="ext_ub" /> |
</spirit:adHocConnection> |
|
<spirit:adHocConnection> |
<spirit:name>ext_wait</spirit:name> |
<spirit:externalPortReference spirit:portRef="ext_wait" /> |
<spirit:internalPortReference spirit:componentRef="dut" spirit:portRef="ext_wait" /> |
</spirit:adHocConnection> |
|
<spirit:adHocConnection> |
<spirit:name>ext_wdata</spirit:name> |
<spirit:externalPortReference spirit:portRef="ext_wdata" spirit:left="15" spirit:right="0" /> |
<spirit:internalPortReference spirit:componentRef="dut" spirit:portRef="ext_wdata" /> |
</spirit:adHocConnection> |
|
<spirit:adHocConnection> |
<spirit:name>ext_wr</spirit:name> |
<spirit:externalPortReference spirit:portRef="ext_wr" /> |
<spirit:internalPortReference spirit:componentRef="dut" spirit:portRef="ext_wr" /> |
</spirit:adHocConnection> |
|
<spirit:adHocConnection> |
<spirit:name>gpio_0_in</spirit:name> |
<spirit:externalPortReference spirit:portRef="gpio_0_in" spirit:left="7" spirit:right="0" /> |
<spirit:internalPortReference spirit:componentRef="dut" spirit:portRef="gpio_0_in" /> |
</spirit:adHocConnection> |
|
<spirit:adHocConnection> |
<spirit:name>gpio_0_oe</spirit:name> |
<spirit:externalPortReference spirit:portRef="gpio_0_oe" spirit:left="7" spirit:right="0" /> |
<spirit:internalPortReference spirit:componentRef="dut" spirit:portRef="gpio_0_oe" /> |
</spirit:adHocConnection> |
|
<spirit:adHocConnection> |
<spirit:name>gpio_0_out</spirit:name> |
<spirit:externalPortReference spirit:portRef="gpio_0_out" spirit:left="7" spirit:right="0" /> |
<spirit:internalPortReference spirit:componentRef="dut" spirit:portRef="gpio_0_out" /> |
</spirit:adHocConnection> |
|
<spirit:adHocConnection> |
<spirit:name>gpio_1_in</spirit:name> |
<spirit:externalPortReference spirit:portRef="gpio_1_in" spirit:left="7" spirit:right="0" /> |
<spirit:internalPortReference spirit:componentRef="dut" spirit:portRef="gpio_1_in" /> |
</spirit:adHocConnection> |
|
<spirit:adHocConnection> |
<spirit:name>gpio_1_oe</spirit:name> |
<spirit:externalPortReference spirit:portRef="gpio_1_oe" spirit:left="7" spirit:right="0" /> |
<spirit:internalPortReference spirit:componentRef="dut" spirit:portRef="gpio_1_oe" /> |
</spirit:adHocConnection> |
|
<spirit:adHocConnection> |
<spirit:name>gpio_1_out</spirit:name> |
<spirit:externalPortReference spirit:portRef="gpio_1_out" spirit:left="7" spirit:right="0" /> |
<spirit:internalPortReference spirit:componentRef="dut" spirit:portRef="gpio_1_out" /> |
</spirit:adHocConnection> |
|
<spirit:adHocConnection> |
<spirit:name>int_out</spirit:name> |
<spirit:externalPortReference spirit:portRef="int_out" /> |
<spirit:internalPortReference spirit:componentRef="dut" spirit:portRef="int_out" /> |
</spirit:adHocConnection> |
|
<spirit:adHocConnection> |
<spirit:name>mem_addr</spirit:name> |
<spirit:externalPortReference spirit:portRef="mem_addr" spirit:left="13" spirit:right="0" /> |
<spirit:internalPortReference spirit:componentRef="dut" spirit:portRef="mem_addr" /> |
</spirit:adHocConnection> |
|
<spirit:adHocConnection> |
<spirit:name>mem_cs</spirit:name> |
<spirit:externalPortReference spirit:portRef="mem_cs" /> |
<spirit:internalPortReference spirit:componentRef="dut" spirit:portRef="mem_cs" /> |
</spirit:adHocConnection> |
|
<spirit:adHocConnection> |
<spirit:name>mem_rd</spirit:name> |
<spirit:externalPortReference spirit:portRef="mem_rd" /> |
<spirit:internalPortReference spirit:componentRef="dut" spirit:portRef="mem_rd" /> |
</spirit:adHocConnection> |
|
<spirit:adHocConnection> |
<spirit:name>mem_rdata</spirit:name> |
<spirit:externalPortReference spirit:portRef="mem_rdata" spirit:left="15" spirit:right="0" /> |
<spirit:internalPortReference spirit:componentRef="dut" spirit:portRef="mem_rdata" /> |
</spirit:adHocConnection> |
|
<spirit:adHocConnection> |
<spirit:name>mem_wait</spirit:name> |
<spirit:externalPortReference spirit:portRef="mem_wait" /> |
<spirit:internalPortReference spirit:componentRef="dut" spirit:portRef="mem_wait" /> |
</spirit:adHocConnection> |
|
<spirit:adHocConnection> |
<spirit:name>mem_wdata</spirit:name> |
<spirit:externalPortReference spirit:portRef="mem_wdata" spirit:left="15" spirit:right="0" /> |
<spirit:internalPortReference spirit:componentRef="dut" spirit:portRef="mem_wdata" /> |
</spirit:adHocConnection> |
|
<spirit:adHocConnection> |
<spirit:name>mem_wr</spirit:name> |
<spirit:externalPortReference spirit:portRef="mem_wr" /> |
<spirit:internalPortReference spirit:componentRef="dut" spirit:portRef="mem_wr" /> |
</spirit:adHocConnection> |
|
<spirit:adHocConnection> |
<spirit:name>ms_left</spirit:name> |
<spirit:externalPortReference spirit:portRef="ms_left" /> |
<spirit:internalPortReference spirit:componentRef="dut" spirit:portRef="ms_left" /> |
</spirit:adHocConnection> |
|
<spirit:adHocConnection> |
<spirit:name>ms_mid</spirit:name> |
<spirit:externalPortReference spirit:portRef="ms_mid" /> |
<spirit:internalPortReference spirit:componentRef="dut" spirit:portRef="ms_mid" /> |
</spirit:adHocConnection> |
|
<spirit:adHocConnection> |
<spirit:name>ms_right</spirit:name> |
<spirit:externalPortReference spirit:portRef="ms_right" /> |
<spirit:internalPortReference spirit:componentRef="dut" spirit:portRef="ms_right" /> |
</spirit:adHocConnection> |
|
<spirit:adHocConnection> |
<spirit:name>new_packet</spirit:name> |
<spirit:externalPortReference spirit:portRef="new_packet" /> |
<spirit:internalPortReference spirit:componentRef="dut" spirit:portRef="new_packet" /> |
</spirit:adHocConnection> |
|
<spirit:adHocConnection> |
<spirit:name>pic_irq</spirit:name> |
<spirit:externalPortReference spirit:portRef="pic_irq" /> |
<spirit:internalPortReference spirit:componentRef="dut" spirit:portRef="pic_irq" /> |
</spirit:adHocConnection> |
|
<spirit:adHocConnection> |
<spirit:name>pic_irq_in</spirit:name> |
<spirit:externalPortReference spirit:portRef="pic_irq_in" spirit:left="7" spirit:right="0" /> |
<spirit:internalPortReference spirit:componentRef="dut" spirit:portRef="pic_irq_in" /> |
</spirit:adHocConnection> |
|
<spirit:adHocConnection> |
<spirit:name>pic_nmi</spirit:name> |
<spirit:externalPortReference spirit:portRef="pic_nmi" /> |
<spirit:internalPortReference spirit:componentRef="dut" spirit:portRef="pic_nmi" /> |
</spirit:adHocConnection> |
|
<spirit:adHocConnection> |
<spirit:name>ps2_clk_pad_in</spirit:name> |
<spirit:externalPortReference spirit:portRef="ps2_clk_pad_in" /> |
<spirit:internalPortReference spirit:componentRef="dut" spirit:portRef="ps2_clk_pad_in" /> |
</spirit:adHocConnection> |
|
<spirit:adHocConnection> |
<spirit:name>ps2_clk_pad_oe</spirit:name> |
<spirit:externalPortReference spirit:portRef="ps2_clk_pad_oe" /> |
<spirit:internalPortReference spirit:componentRef="dut" spirit:portRef="ps2_clk_pad_oe" /> |
</spirit:adHocConnection> |
|
<spirit:adHocConnection> |
<spirit:name>ps2_data_avail</spirit:name> |
<spirit:externalPortReference spirit:portRef="ps2_data_avail" /> |
<spirit:internalPortReference spirit:componentRef="dut" spirit:portRef="ps2_data_avail" /> |
</spirit:adHocConnection> |
|
<spirit:adHocConnection> |
<spirit:name>ps2_data_pad_in</spirit:name> |
<spirit:externalPortReference spirit:portRef="ps2_data_pad_in" /> |
<spirit:internalPortReference spirit:componentRef="dut" spirit:portRef="ps2_data_pad_in" /> |
</spirit:adHocConnection> |
|
<spirit:adHocConnection> |
<spirit:name>ps2_data_pad_oe</spirit:name> |
<spirit:externalPortReference spirit:portRef="ps2_data_pad_oe" /> |
<spirit:internalPortReference spirit:componentRef="dut" spirit:portRef="ps2_data_pad_oe" /> |
</spirit:adHocConnection> |
|
<spirit:adHocConnection> |
<spirit:name>reg_mb_addr</spirit:name> |
<spirit:externalPortReference spirit:portRef="reg_mb_addr" spirit:left="7" spirit:right="0" /> |
<spirit:internalPortReference spirit:componentRef="dut" spirit:portRef="reg_mb_addr" /> |
</spirit:adHocConnection> |
|
<spirit:adHocConnection> |
<spirit:name>reg_mb_cs</spirit:name> |
<spirit:externalPortReference spirit:portRef="reg_mb_cs" /> |
<spirit:internalPortReference spirit:componentRef="dut" spirit:portRef="reg_mb_cs" /> |
</spirit:adHocConnection> |
|
<spirit:adHocConnection> |
<spirit:name>reg_mb_rd</spirit:name> |
<spirit:externalPortReference spirit:portRef="reg_mb_rd" /> |
<spirit:internalPortReference spirit:componentRef="dut" spirit:portRef="reg_mb_rd" /> |
</spirit:adHocConnection> |
|
<spirit:adHocConnection> |
<spirit:name>reg_mb_rdata</spirit:name> |
<spirit:externalPortReference spirit:portRef="reg_mb_rdata" spirit:left="15" spirit:right="0" /> |
<spirit:internalPortReference spirit:componentRef="dut" spirit:portRef="reg_mb_rdata" /> |
</spirit:adHocConnection> |
|
<spirit:adHocConnection> |
<spirit:name>reg_mb_wait</spirit:name> |
<spirit:externalPortReference spirit:portRef="reg_mb_wait" /> |
<spirit:internalPortReference spirit:componentRef="dut" spirit:portRef="reg_mb_wait" /> |
</spirit:adHocConnection> |
|
<spirit:adHocConnection> |
<spirit:name>reg_mb_wdata</spirit:name> |
<spirit:externalPortReference spirit:portRef="reg_mb_wdata" spirit:left="7" spirit:right="0" /> |
<spirit:internalPortReference spirit:componentRef="dut" spirit:portRef="reg_mb_wdata" /> |
</spirit:adHocConnection> |
|
<spirit:adHocConnection> |
<spirit:name>reg_mb_wr</spirit:name> |
<spirit:externalPortReference spirit:portRef="reg_mb_wr" /> |
<spirit:internalPortReference spirit:componentRef="dut" spirit:portRef="reg_mb_wr" /> |
</spirit:adHocConnection> |
|
<spirit:adHocConnection> |
<spirit:name>reset</spirit:name> |
<spirit:externalPortReference spirit:portRef="reset" /> |
<spirit:internalPortReference spirit:componentRef="dut" spirit:portRef="reset" /> |
</spirit: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> |
|
<spirit:adHocConnection> |
<spirit:name>rx_irq</spirit:name> |
<spirit:externalPortReference spirit:portRef="rx_irq" /> |
<spirit:internalPortReference spirit:componentRef="dut" spirit:portRef="rx_irq" /> |
</spirit:adHocConnection> |
|
<spirit:adHocConnection> |
<spirit:name>timer_irq</spirit:name> |
<spirit:externalPortReference spirit:portRef="timer_irq" spirit:left="1" spirit:right="0" /> |
<spirit:internalPortReference spirit:componentRef="dut" spirit:portRef="timer_irq" /> |
</spirit:adHocConnection> |
|
<spirit:adHocConnection> |
<spirit:name>tx_irq</spirit:name> |
<spirit:externalPortReference spirit:portRef="tx_irq" /> |
<spirit:internalPortReference spirit:componentRef="dut" spirit:portRef="tx_irq" /> |
</spirit:adHocConnection> |
|
<spirit:adHocConnection> |
<spirit:name>uart_rxd_pad_in</spirit:name> |
<spirit:externalPortReference spirit:portRef="uart_rxd_pad_in" /> |
<spirit:internalPortReference spirit:componentRef="dut" spirit:portRef="uart_rxd_pad_in" /> |
</spirit:adHocConnection> |
|
<spirit:adHocConnection> |
<spirit:name>uart_txd_pad_out</spirit:name> |
<spirit:externalPortReference spirit:portRef="uart_txd_pad_out" /> |
<spirit:internalPortReference spirit:componentRef="dut" spirit:portRef="uart_txd_pad_out" /> |
</spirit:adHocConnection> |
|
<spirit:adHocConnection> |
<spirit:name>vector</spirit:name> |
<spirit:externalPortReference spirit:portRef="vector" spirit:left="7" spirit:right="0" /> |
<spirit:internalPortReference spirit:componentRef="dut" spirit:portRef="vector" /> |
</spirit:adHocConnection> |
|
<spirit:adHocConnection> |
<spirit:name>vga_blue_pad_out</spirit:name> |
<spirit:externalPortReference spirit:portRef="vga_blue_pad_out" spirit:left="1" spirit:right="0" /> |
<spirit:internalPortReference spirit:componentRef="dut" spirit:portRef="vga_blue_pad_out" /> |
</spirit:adHocConnection> |
|
<spirit:adHocConnection> |
<spirit:name>vga_green_pad_out</spirit:name> |
<spirit:externalPortReference spirit:portRef="vga_green_pad_out" spirit:left="2" spirit:right="0" /> |
<spirit:internalPortReference spirit:componentRef="dut" spirit:portRef="vga_green_pad_out" /> |
</spirit:adHocConnection> |
|
<spirit:adHocConnection> |
<spirit:name>vga_hsync_n_pad_out</spirit:name> |
<spirit:externalPortReference spirit:portRef="vga_hsync_n_pad_out" /> |
<spirit:internalPortReference spirit:componentRef="dut" spirit:portRef="vga_hsync_n_pad_out" /> |
</spirit:adHocConnection> |
|
<spirit:adHocConnection> |
<spirit:name>vga_red_pad_out</spirit:name> |
<spirit:externalPortReference spirit:portRef="vga_red_pad_out" spirit:left="2" spirit:right="0" /> |
<spirit:internalPortReference spirit:componentRef="dut" spirit:portRef="vga_red_pad_out" /> |
</spirit:adHocConnection> |
|
<spirit:adHocConnection> |
<spirit:name>vga_vsync_n_pad_out</spirit:name> |
<spirit:externalPortReference spirit:portRef="vga_vsync_n_pad_out" /> |
<spirit:internalPortReference spirit:componentRef="dut" spirit:portRef="vga_vsync_n_pad_out" /> |
</spirit:adHocConnection> |
|
<spirit:adHocConnection> |
<spirit:name>vic_irq_in</spirit:name> |
<spirit:externalPortReference spirit:portRef="vic_irq_in" spirit:left="7" spirit:right="0" /> |
<spirit:internalPortReference spirit:componentRef="dut" spirit:portRef="vic_irq_in" /> |
</spirit:adHocConnection> |
|
<spirit:adHocConnection> |
<spirit:name>x_pos</spirit:name> |
<spirit:externalPortReference spirit:portRef="x_pos" spirit:left="9" spirit:right="0" /> |
<spirit:internalPortReference spirit:componentRef="dut" spirit:portRef="x_pos" /> |
</spirit:adHocConnection> |
|
<spirit:adHocConnection> |
<spirit:name>y_pos</spirit:name> |
<spirit:externalPortReference spirit:portRef="y_pos" spirit:left="9" spirit:right="0" /> |
<spirit:internalPortReference spirit:componentRef="dut" spirit:portRef="y_pos" /> |
</spirit:adHocConnection> |
|
|
</spirit:adHocConnections> |
<spirit:componentInstances> |
|
<spirit:componentInstance> |
<spirit:instanceName>dut</spirit:instanceName> |
<spirit:componentRef spirit:vendor="opencores.org" spirit:library="io" spirit:name="io_module" spirit:version="def" /> |
<spirit:configurableElementValues> |
</spirit:configurableElementValues> |
</spirit:componentInstance> |
</spirit:componentInstances> |
</spirit:design> |
/xml/io_module_gpio_duth.design.xml
0,0 → 1,201
<?xml version="1.0" encoding="UTF-8"?> |
<!-- |
// // |
// Generated File Do Not EDIT // |
// // |
// ./tools/verilog/gen_tb -vendor opencores.org -library io -component io_module -version gpio // |
// // |
--> |
<spirit:design |
xmlns:spirit="http://www.spiritconsortium.org/XMLSchema/SPIRIT/1685-2009" |
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>io</spirit:library> |
<spirit:name>io_module</spirit:name> |
<spirit:version>gpio_duth.design</spirit:version> |
<spirit:adHocConnections> |
|
<spirit:adHocConnection> |
<spirit:name>clk</spirit:name> |
<spirit:externalPortReference spirit:portRef="clk" /> |
<spirit:internalPortReference spirit:componentRef="dut" spirit:portRef="clk" /> |
</spirit: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> |
|
<spirit:adHocConnection> |
<spirit:name>enable</spirit:name> |
<spirit:externalPortReference spirit:portRef="enable" /> |
<spirit:internalPortReference spirit:componentRef="dut" spirit:portRef="enable" /> |
</spirit:adHocConnection> |
|
<spirit:adHocConnection> |
<spirit:name>gpio_0_in</spirit:name> |
<spirit:externalPortReference spirit:portRef="gpio_0_in" spirit:left="7" spirit:right="0" /> |
<spirit:internalPortReference spirit:componentRef="dut" spirit:portRef="gpio_0_in" /> |
</spirit:adHocConnection> |
|
<spirit:adHocConnection> |
<spirit:name>gpio_0_oe</spirit:name> |
<spirit:externalPortReference spirit:portRef="gpio_0_oe" spirit:left="7" spirit:right="0" /> |
<spirit:internalPortReference spirit:componentRef="dut" spirit:portRef="gpio_0_oe" /> |
</spirit:adHocConnection> |
|
<spirit:adHocConnection> |
<spirit:name>gpio_0_out</spirit:name> |
<spirit:externalPortReference spirit:portRef="gpio_0_out" spirit:left="7" spirit:right="0" /> |
<spirit:internalPortReference spirit:componentRef="dut" spirit:portRef="gpio_0_out" /> |
</spirit:adHocConnection> |
|
<spirit:adHocConnection> |
<spirit:name>gpio_1_in</spirit:name> |
<spirit:externalPortReference spirit:portRef="gpio_1_in" spirit:left="7" spirit:right="0" /> |
<spirit:internalPortReference spirit:componentRef="dut" spirit:portRef="gpio_1_in" /> |
</spirit:adHocConnection> |
|
<spirit:adHocConnection> |
<spirit:name>gpio_1_oe</spirit:name> |
<spirit:externalPortReference spirit:portRef="gpio_1_oe" spirit:left="7" spirit:right="0" /> |
<spirit:internalPortReference spirit:componentRef="dut" spirit:portRef="gpio_1_oe" /> |
</spirit:adHocConnection> |
|
<spirit:adHocConnection> |
<spirit:name>gpio_1_out</spirit:name> |
<spirit:externalPortReference spirit:portRef="gpio_1_out" spirit:left="7" spirit:right="0" /> |
<spirit:internalPortReference spirit:componentRef="dut" spirit:portRef="gpio_1_out" /> |
</spirit:adHocConnection> |
|
<spirit:adHocConnection> |
<spirit:name>pic_irq</spirit:name> |
<spirit:externalPortReference spirit:portRef="pic_irq" /> |
<spirit:internalPortReference spirit:componentRef="dut" spirit:portRef="pic_irq" /> |
</spirit:adHocConnection> |
|
<spirit:adHocConnection> |
<spirit:name>pic_irq_in</spirit:name> |
<spirit:externalPortReference spirit:portRef="pic_irq_in" spirit:left="7" spirit:right="0" /> |
<spirit:internalPortReference spirit:componentRef="dut" spirit:portRef="pic_irq_in" /> |
</spirit:adHocConnection> |
|
<spirit:adHocConnection> |
<spirit:name>pic_nmi</spirit:name> |
<spirit:externalPortReference spirit:portRef="pic_nmi" /> |
<spirit:internalPortReference spirit:componentRef="dut" spirit:portRef="pic_nmi" /> |
</spirit:adHocConnection> |
|
<spirit:adHocConnection> |
<spirit:name>reg_mb_addr</spirit:name> |
<spirit:externalPortReference spirit:portRef="reg_mb_addr" spirit:left="7" spirit:right="0" /> |
<spirit:internalPortReference spirit:componentRef="dut" spirit:portRef="reg_mb_addr" /> |
</spirit:adHocConnection> |
|
<spirit:adHocConnection> |
<spirit:name>reg_mb_cs</spirit:name> |
<spirit:externalPortReference spirit:portRef="reg_mb_cs" /> |
<spirit:internalPortReference spirit:componentRef="dut" spirit:portRef="reg_mb_cs" /> |
</spirit:adHocConnection> |
|
<spirit:adHocConnection> |
<spirit:name>reg_mb_rd</spirit:name> |
<spirit:externalPortReference spirit:portRef="reg_mb_rd" /> |
<spirit:internalPortReference spirit:componentRef="dut" spirit:portRef="reg_mb_rd" /> |
</spirit:adHocConnection> |
|
<spirit:adHocConnection> |
<spirit:name>reg_mb_rdata</spirit:name> |
<spirit:externalPortReference spirit:portRef="reg_mb_rdata" spirit:left="15" spirit:right="0" /> |
<spirit:internalPortReference spirit:componentRef="dut" spirit:portRef="reg_mb_rdata" /> |
</spirit:adHocConnection> |
|
<spirit:adHocConnection> |
<spirit:name>reg_mb_wait</spirit:name> |
<spirit:externalPortReference spirit:portRef="reg_mb_wait" /> |
<spirit:internalPortReference spirit:componentRef="dut" spirit:portRef="reg_mb_wait" /> |
</spirit:adHocConnection> |
|
<spirit:adHocConnection> |
<spirit:name>reg_mb_wdata</spirit:name> |
<spirit:externalPortReference spirit:portRef="reg_mb_wdata" spirit:left="7" spirit:right="0" /> |
<spirit:internalPortReference spirit:componentRef="dut" spirit:portRef="reg_mb_wdata" /> |
</spirit:adHocConnection> |
|
<spirit:adHocConnection> |
<spirit:name>reg_mb_wr</spirit:name> |
<spirit:externalPortReference spirit:portRef="reg_mb_wr" /> |
<spirit:internalPortReference spirit:componentRef="dut" spirit:portRef="reg_mb_wr" /> |
</spirit:adHocConnection> |
|
<spirit:adHocConnection> |
<spirit:name>reset</spirit:name> |
<spirit:externalPortReference spirit:portRef="reset" /> |
<spirit:internalPortReference spirit:componentRef="dut" spirit:portRef="reset" /> |
</spirit: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> |
|
<spirit:adHocConnection> |
<spirit:name>rx_irq</spirit:name> |
<spirit:externalPortReference spirit:portRef="rx_irq" /> |
<spirit:internalPortReference spirit:componentRef="dut" spirit:portRef="rx_irq" /> |
</spirit:adHocConnection> |
|
<spirit:adHocConnection> |
<spirit:name>timer_irq</spirit:name> |
<spirit:externalPortReference spirit:portRef="timer_irq" spirit:left="1" spirit:right="0" /> |
<spirit:internalPortReference spirit:componentRef="dut" spirit:portRef="timer_irq" /> |
</spirit:adHocConnection> |
|
<spirit:adHocConnection> |
<spirit:name>tx_irq</spirit:name> |
<spirit:externalPortReference spirit:portRef="tx_irq" /> |
<spirit:internalPortReference spirit:componentRef="dut" spirit:portRef="tx_irq" /> |
</spirit:adHocConnection> |
|
<spirit:adHocConnection> |
<spirit:name>uart_rxd_pad_in</spirit:name> |
<spirit:externalPortReference spirit:portRef="uart_rxd_pad_in" /> |
<spirit:internalPortReference spirit:componentRef="dut" spirit:portRef="uart_rxd_pad_in" /> |
</spirit:adHocConnection> |
|
<spirit:adHocConnection> |
<spirit:name>uart_txd_pad_out</spirit:name> |
<spirit:externalPortReference spirit:portRef="uart_txd_pad_out" /> |
<spirit:internalPortReference spirit:componentRef="dut" spirit:portRef="uart_txd_pad_out" /> |
</spirit:adHocConnection> |
|
<spirit:adHocConnection> |
<spirit:name>wait_n</spirit:name> |
<spirit:externalPortReference spirit:portRef="wait_n" /> |
<spirit:internalPortReference spirit:componentRef="dut" spirit:portRef="wait_n" /> |
</spirit:adHocConnection> |
|
|
</spirit:adHocConnections> |
<spirit:componentInstances> |
|
<spirit:componentInstance> |
<spirit:instanceName>dut</spirit:instanceName> |
<spirit:componentRef spirit:vendor="opencores.org" spirit:library="io" spirit:name="io_module" spirit:version="gpio" /> |
<spirit:configurableElementValues> |
<spirit:configurableElementValue spirit:referenceId="ADDR_WIDTH">ADDR_WIDTH</spirit:configurableElementValue> |
<spirit:configurableElementValue spirit:referenceId="BASE_WIDTH">BASE_WIDTH</spirit:configurableElementValue> |
<spirit:configurableElementValue spirit:referenceId="IRQ_MODE">IRQ_MODE</spirit:configurableElementValue> |
<spirit:configurableElementValue spirit:referenceId="NMI_MODE">NMI_MODE</spirit:configurableElementValue> |
<spirit:configurableElementValue spirit:referenceId="UART_DIV">UART_DIV</spirit:configurableElementValue> |
<spirit:configurableElementValue spirit:referenceId="UART_PRESCALE">UART_PRESCALE</spirit:configurableElementValue> |
<spirit:configurableElementValue spirit:referenceId="UART_PRE_SIZE">UART_PRE_SIZE</spirit:configurableElementValue> |
</spirit:configurableElementValues> |
</spirit:componentInstance> |
</spirit:componentInstances> |
</spirit:design> |
/xml/io_module_def_dut.params.xml
1,9 → 1,9
<?xml version="1.0" encoding="UTF-8"?> |
<!-- |
// // |
// Generated File Do Not EDIT // |
// // |
// // |
// regen by adding -tb to gen_verilog script // |
// // |
// // |
--> |
<spirit:component |
26,17 → 26,10
<spirit:hierarchyRef spirit:vendor="opencores.org" |
spirit:library="io" |
spirit:name="io_module" |
spirit:version="def_dutg.design"/> |
spirit:version="def_duth.design"/> |
</spirit:view> |
</spirit:views> |
<spirit:modelParameters> |
<spirit:modelParameter><spirit:name>UART_PRESCALE</spirit:name><spirit:value>5'b01100</spirit:value></spirit:modelParameter> |
<spirit:modelParameter><spirit:name>UART_PRE_SIZE</spirit:name><spirit:value>5</spirit:value></spirit:modelParameter> |
<spirit:modelParameter><spirit:name>UART_DIV</spirit:name><spirit:value>0</spirit:value></spirit:modelParameter> |
<spirit:modelParameter><spirit:name>BASE_WIDTH</spirit:name><spirit:value>8</spirit:value></spirit:modelParameter> |
<spirit:modelParameter><spirit:name>ADDR_WIDTH</spirit:name><spirit:value>16</spirit:value></spirit:modelParameter> |
<spirit:modelParameter><spirit:name>NMI_MODE</spirit:name><spirit:value>8'h00</spirit:value></spirit:modelParameter> |
<spirit:modelParameter><spirit:name>IRQ_MODE</spirit:name><spirit:value>8'h00</spirit:value></spirit:modelParameter> |
<spirit:modelParameter><spirit:name>FONT</spirit:name><spirit:value>"NONE"</spirit:value></spirit:modelParameter> |
<spirit:modelParameter><spirit:name>STARTUP</spirit:name><spirit:value>"NONE"</spirit:value></spirit:modelParameter> |
|
/xml/io_module_gpio_dut.params.xml
1,9 → 1,9
<?xml version="1.0" encoding="UTF-8"?> |
<!-- |
// // |
// Generated File Do Not EDIT // |
// // |
// // |
// regen by adding -tb to gen_verilog script // |
// // |
// // |
--> |
<spirit:component |
26,17 → 26,8
<spirit:hierarchyRef spirit:vendor="opencores.org" |
spirit:library="io" |
spirit:name="io_module" |
spirit:version="gpio_dutg.design"/> |
spirit:version="gpio_duth.design"/> |
</spirit:view> |
</spirit:views> |
<spirit:modelParameters> |
<spirit:modelParameter><spirit:name>UART_PRESCALE</spirit:name><spirit:value>5'b01100</spirit:value></spirit:modelParameter> |
<spirit:modelParameter><spirit:name>UART_PRE_SIZE</spirit:name><spirit:value>5</spirit:value></spirit:modelParameter> |
<spirit:modelParameter><spirit:name>UART_DIV</spirit:name><spirit:value>0</spirit:value></spirit:modelParameter> |
<spirit:modelParameter><spirit:name>BASE_WIDTH</spirit:name><spirit:value>8</spirit:value></spirit:modelParameter> |
<spirit:modelParameter><spirit:name>ADDR_WIDTH</spirit:name><spirit:value>16</spirit:value></spirit:modelParameter> |
<spirit:modelParameter><spirit:name>NMI_MODE</spirit:name><spirit:value>8'h00</spirit:value></spirit:modelParameter> |
<spirit:modelParameter><spirit:name>IRQ_MODE</spirit:name><spirit:value>8'h00</spirit:value></spirit:modelParameter> |
</spirit:modelParameters> |
</spirit:model> |
</spirit:component> |
/xml/io_module_mouse_tb.xml
43,29 → 43,22
|
<spirit:componentGenerators> |
|
|
|
<spirit:componentGenerator> |
<spirit:name>elab_verilog</spirit:name> |
<spirit:phase>103.0</spirit:phase> |
<spirit:phase>102.1</spirit:phase> |
<spirit:apiType>none</spirit:apiType> |
<spirit:vendorExtensions><socgen:envIdentifier>:*Simulation:*</socgen:envIdentifier></spirit:vendorExtensions> |
<spirit:generatorExe>./tools/verilog/elab_verilog</spirit:generatorExe> |
</spirit:componentGenerator> |
|
|
<spirit:componentGenerator> |
<spirit:name>trace_bus</spirit:name> |
<spirit:phase>103.0</spirit:phase> |
<spirit:apiType>none</spirit:apiType> |
<spirit:vendorExtensions><socgen:envIdentifier>:*Simulation:*</socgen:envIdentifier></spirit:vendorExtensions> |
<spirit:generatorExe>./tools/verilog/trace_bus</spirit:generatorExe> |
<spirit:parameters> |
<spirit:parameter> |
<spirit:name>path</spirit:name> |
<spirit:value>root.dut</spirit:value> |
<spirit:name>configuration</spirit:name> |
<spirit:value>default</spirit:value> |
</spirit:parameter> |
<spirit:parameter> |
<spirit:name>bus_name</spirit:name> |
<spirit:value>reg_mb</spirit:value> |
<spirit:name>dest_dir</spirit:name> |
<spirit:value>io_ports</spirit:value> |
</spirit:parameter> |
</spirit:parameters> |
</spirit:componentGenerator> |
73,6 → 66,7
|
|
|
|
<spirit:componentGenerator> |
<spirit:name>gen_verilog</spirit:name> |
<spirit:phase>104.0</spirit:phase> |
81,6 → 75,10
<spirit:generatorExe>./tools/verilog/gen_verilog</spirit:generatorExe> |
<spirit:parameters> |
<spirit:parameter> |
<spirit:name>configuration</spirit:name> |
<spirit:value>default</spirit:value> |
</spirit:parameter> |
<spirit:parameter> |
<spirit:name>destination</spirit:name> |
<spirit:value>top.mouse_tb</spirit:value> |
</spirit:parameter> |
/xml/io_module_mouse_lint.xml
39,10 → 39,47
<spirit:name>io_module</spirit:name> |
<spirit:version>mouse_lint</spirit:version> |
|
<spirit:componentGenerators> |
|
<spirit:componentGenerator> |
<spirit:name>elab_verilog</spirit:name> |
<spirit:phase>102.1</spirit:phase> |
<spirit:apiType>none</spirit:apiType> |
<spirit:vendorExtensions><socgen:envIdentifier>:*Simulation:*</socgen:envIdentifier></spirit:vendorExtensions |
> |
<spirit:generatorExe>./tools/verilog/elab_verilog</spirit:generatorExe> |
<spirit:parameters> |
<spirit:parameter> |
<spirit:name>configuration</spirit:name> |
<spirit:value>default</spirit:value> |
</spirit:parameter> |
<spirit:parameter> |
<spirit:name>dest_dir</spirit:name> |
<spirit:value>io_ports</spirit:value> |
</spirit:parameter> |
</spirit:parameters> |
</spirit:componentGenerator> |
|
<spirit:componentGenerator> |
<spirit:name>gen_design</spirit:name> |
<spirit:phase>102.1</spirit:phase> |
<spirit:apiType>none</spirit:apiType> |
<spirit:vendorExtensions><socgen:envIdentifier>:*Simulation:*</socgen:envIdentifier></spirit:vendorExtensions |
> |
<spirit:generatorExe>./tools/verilog/gen_design</spirit:generatorExe> |
<spirit:parameters> |
<spirit:parameter> |
<spirit:name>dest_dir</spirit:name> |
<spirit:value>io_ports</spirit:value> |
</spirit:parameter> |
</spirit:parameters> |
</spirit:componentGenerator> |
|
</spirit:componentGenerators> |
|
|
|
|
<spirit:model> |
|
<spirit:views> |
/xml/io_module_gpio_tb.xml
43,36 → 43,28
|
<spirit:componentGenerators> |
|
|
<spirit:componentGenerator> |
<spirit:name>elab_verilog</spirit:name> |
<spirit:phase>103.0</spirit:phase> |
<spirit:phase>102.1</spirit:phase> |
<spirit:apiType>none</spirit:apiType> |
<spirit:vendorExtensions><socgen:envIdentifier>:*Simulation:*</socgen:envIdentifier></spirit:vendorExtensions> |
<spirit:generatorExe>./tools/verilog/elab_verilog</spirit:generatorExe> |
</spirit:componentGenerator> |
|
|
<spirit:componentGenerator> |
<spirit:name>trace_bus</spirit:name> |
<spirit:phase>103.0</spirit:phase> |
<spirit:apiType>none</spirit:apiType> |
<spirit:vendorExtensions><socgen:envIdentifier>:*Simulation:*</socgen:envIdentifier></spirit:vendorExtensions> |
<spirit:generatorExe>./tools/verilog/trace_bus</spirit:generatorExe> |
<spirit:parameters> |
<spirit:parameter> |
<spirit:name>path</spirit:name> |
<spirit:value>root.dut</spirit:value> |
<spirit:name>configuration</spirit:name> |
<spirit:value>default</spirit:value> |
</spirit:parameter> |
<spirit:parameter> |
<spirit:name>bus_name</spirit:name> |
<spirit:value>reg_mb</spirit:value> |
<spirit:name>dest_dir</spirit:name> |
<spirit:value>io_ports</spirit:value> |
</spirit:parameter> |
</spirit:parameters> |
|
</spirit:componentGenerator> |
|
|
|
|
<spirit:componentGenerator> |
<spirit:name>gen_verilog</spirit:name> |
<spirit:phase>104.0</spirit:phase> |
81,6 → 73,10
<spirit:generatorExe>./tools/verilog/gen_verilog</spirit:generatorExe> |
<spirit:parameters> |
<spirit:parameter> |
<spirit:name>configuration</spirit:name> |
<spirit:value>default</spirit:value> |
</spirit:parameter> |
<spirit:parameter> |
<spirit:name>destination</spirit:name> |
<spirit:value>top.gpio_tb</spirit:value> |
</spirit:parameter> |
/xml/io_module_def_tb.xml
1,4 → 1,4
<?xml version="1.0" encoding="UTF-8"?> |
<?xml version="1.0" encoding="utf-8"?> |
<!-- |
// // |
// Author : John Eaton Ouabache Designworks // |
45,26 → 45,18
|
<spirit:componentGenerator> |
<spirit:name>elab_verilog</spirit:name> |
<spirit:phase>103.0</spirit:phase> |
<spirit:phase>102.1</spirit:phase> |
<spirit:apiType>none</spirit:apiType> |
<spirit:vendorExtensions><socgen:envIdentifier>:*Simulation:*</socgen:envIdentifier></spirit:vendorExtensions> |
<spirit:generatorExe>./tools/verilog/elab_verilog</spirit:generatorExe> |
</spirit:componentGenerator> |
|
<spirit:componentGenerator> |
<spirit:name>trace_bus</spirit:name> |
<spirit:phase>103.0</spirit:phase> |
<spirit:apiType>none</spirit:apiType> |
<spirit:vendorExtensions><socgen:envIdentifier>:*Simulation:*</socgen:envIdentifier></spirit:vendorExtensions> |
<spirit:generatorExe>./tools/verilog/trace_bus</spirit:generatorExe> |
<spirit:parameters> |
<spirit:parameter> |
<spirit:name>path</spirit:name> |
<spirit:value>root.dut</spirit:value> |
<spirit:name>configuration</spirit:name> |
<spirit:value>default</spirit:value> |
</spirit:parameter> |
<spirit:parameter> |
<spirit:name>bus_name</spirit:name> |
<spirit:value>reg_mb</spirit:value> |
<spirit:name>dest_dir</spirit:name> |
<spirit:value>io_ports</spirit:value> |
</spirit:parameter> |
</spirit:parameters> |
</spirit:componentGenerator> |
72,7 → 64,6
|
|
|
|
<spirit:componentGenerator> |
<spirit:name>gen_verilog</spirit:name> |
<spirit:phase>104.0</spirit:phase> |
81,6 → 72,10
<spirit:generatorExe>./tools/verilog/gen_verilog</spirit:generatorExe> |
<spirit:parameters> |
<spirit:parameter> |
<spirit:name>configuration</spirit:name> |
<spirit:value>default</spirit:value> |
</spirit:parameter> |
<spirit:parameter> |
<spirit:name>destination</spirit:name> |
<spirit:value>top.tb</spirit:value> |
</spirit:parameter> |