| <?xml version='1.0' encoding='utf-8'?> | |
| <pb_type xmlns:xi="http://www.w3.org/2001/XInclude" name="PAIR" num_pb="1"> | |
| <clock name="CLK" num_pins="1"/> | |
| <input name="I" num_pins="4"/> | |
| <output name="O" num_pins="1"/> | |
| <pb_type name="ff" num_pb="1"> | |
| <xi:include href="ff/ff.pb_type.xml" xpointer="xpointer(pb_type/child::node())"/> | |
| </pb_type> | |
| <pb_type name="lut" num_pb="1"> | |
| <xi:include href="lut/lut4.pb_type.xml" xpointer="xpointer(pb_type/child::node())"/> | |
| </pb_type> | |
| <interconnect> | |
| <direct> | |
| <port name="CLK" type="input"/> | |
| <port from="ff" name="CLK" type="output"/> | |
| </direct> | |
| <direct> | |
| <port from="lut" name="O" type="input"/> | |
| <port from="ff" name="D" type="output"/> | |
| <pack_pattern name="LUT2FF" type="pack"> | |
| <port from="lut" name="O" type="input"/> | |
| <port from="ff" name="D" type="output"/> | |
| </pack_pattern> | |
| </direct> | |
| <direct> | |
| <port name="I[0]" type="input"/> | |
| <port from="lut" name="I[0]" type="output"/> | |
| </direct> | |
| <direct> | |
| <port name="I[1]" type="input"/> | |
| <port from="lut" name="I[1]" type="output"/> | |
| </direct> | |
| <direct> | |
| <port name="I[2]" type="input"/> | |
| <port from="lut" name="I[2]" type="output"/> | |
| </direct> | |
| <direct> | |
| <port name="I[3]" type="input"/> | |
| <port from="lut" name="I[3]" type="output"/> | |
| </direct> | |
| <mux name="mux"> | |
| <port from="lut" name="O" type="input"> | |
| <metadata> | |
| <meta name="fasm_mux">L</meta> | |
| </metadata> | |
| </port> | |
| <port from="ff" name="Q" type="input"> | |
| <metadata> | |
| <meta name="fasm_mux">F</meta> | |
| </metadata> | |
| </port> | |
| <port name="O" type="output"/> | |
| <metadata> | |
| <meta name="type">bel</meta> | |
| <meta name="subtype">routing</meta> | |
| </metadata> | |
| </mux> | |
| </interconnect> | |
| </pb_type> |