blob: ca3ef54ac52cb177d5b1e44e08f5d5054b1b8347 [file]
<?xml version='1.0' encoding='utf-8'?>
<pb_type xmlns:xi="http://www.w3.org/2001/XInclude" name="MULTIPLE_INSTANCE" num_pb="1">
<input name="a" num_pins="4"/>
<input name="b" num_pins="4"/>
<input name="c" num_pins="4"/>
<input name="cin" num_pins="1"/>
<input name="d" num_pins="4"/>
<output name="cout" num_pins="1"/>
<output name="sum" num_pins="8"/>
<pb_type blif_model=".subckt adder" name="comba" num_pb="4">
<xi:include href="full-test-inner.xml" xpointer="xpointer(pb_type/child::node())"/>
</pb_type>
<pb_type blif_model=".subckt adder" name="combb" num_pb="4">
<xi:include href="full-test-inner.xml" xpointer="xpointer(pb_type/child::node())"/>
</pb_type>
<interconnect>
<direct>
<port name="a[3]" type="input"/>
<port from="comba[3]" name="a" type="output"/>
</direct>
<direct>
<port name="b[3]" type="input"/>
<port from="comba[3]" name="b" type="output"/>
</direct>
<direct>
<port name="cin" type="input"/>
<port from="comba[0]" name="cin" type="output"/>
</direct>
<direct>
<port name="cin" type="input"/>
<port from="comba[1]" name="cin" type="output"/>
</direct>
<direct>
<port name="cin" type="input"/>
<port from="comba[2]" name="cin" type="output"/>
</direct>
<direct>
<port name="cin" type="input"/>
<port from="comba[3]" name="cin" type="output"/>
</direct>
<direct>
<port from="comba[3]" name="sum" type="input"/>
<port name="sum[3]" type="output"/>
</direct>
<direct>
<port name="a[0]" type="input"/>
<port from="comba[0]" name="a" type="output"/>
</direct>
<direct>
<port name="b[0]" type="input"/>
<port from="comba[0]" name="b" type="output"/>
</direct>
<direct>
<port from="comba[0]" name="sum" type="input"/>
<port name="sum[0]" type="output"/>
</direct>
<direct>
<port name="a[1]" type="input"/>
<port from="comba[1]" name="a" type="output"/>
</direct>
<direct>
<port name="b[1]" type="input"/>
<port from="comba[1]" name="b" type="output"/>
</direct>
<direct>
<port from="comba[1]" name="sum" type="input"/>
<port name="sum[1]" type="output"/>
</direct>
<direct>
<port name="a[2]" type="input"/>
<port from="comba[2]" name="a" type="output"/>
</direct>
<direct>
<port name="b[2]" type="input"/>
<port from="comba[2]" name="b" type="output"/>
</direct>
<direct>
<port from="comba[2]" name="sum" type="input"/>
<port name="sum[2]" type="output"/>
</direct>
<direct>
<port name="c[0]" type="input"/>
<port from="combb[0]" name="a" type="output"/>
</direct>
<direct>
<port name="d[0]" type="input"/>
<port from="combb[0]" name="b" type="output"/>
</direct>
<direct>
<port from="comba[0]" name="cout" type="input"/>
<port from="combb[0]" name="cin" type="output"/>
<pack_pattern name="ADDER" type="carry">
<port from="comba[0]" name="cout" type="input"/>
<port from="combb[0]" name="cin" type="output"/>
</pack_pattern>
</direct>
<direct>
<port from="combb[0]" name="sum" type="input"/>
<port name="sum[4]" type="output"/>
</direct>
<direct>
<port name="c[1]" type="input"/>
<port from="combb[1]" name="a" type="output"/>
</direct>
<direct>
<port name="d[1]" type="input"/>
<port from="combb[1]" name="b" type="output"/>
</direct>
<direct>
<port from="comba[1]" name="cout" type="input"/>
<port from="combb[1]" name="cin" type="output"/>
<pack_pattern name="ADDER" type="carry">
<port from="comba[1]" name="cout" type="input"/>
<port from="combb[1]" name="cin" type="output"/>
</pack_pattern>
</direct>
<direct>
<port from="combb[1]" name="sum" type="input"/>
<port name="sum[5]" type="output"/>
</direct>
<direct>
<port name="c[2]" type="input"/>
<port from="combb[2]" name="a" type="output"/>
</direct>
<direct>
<port name="d[2]" type="input"/>
<port from="combb[2]" name="b" type="output"/>
</direct>
<direct>
<port from="comba[2]" name="cout" type="input"/>
<port from="combb[2]" name="cin" type="output"/>
<pack_pattern name="ADDER" type="carry">
<port from="comba[2]" name="cout" type="input"/>
<port from="combb[2]" name="cin" type="output"/>
</pack_pattern>
</direct>
<direct>
<port from="combb[2]" name="sum" type="input"/>
<port name="sum[6]" type="output"/>
</direct>
<direct>
<port name="c[3]" type="input"/>
<port from="combb[3]" name="a" type="output"/>
</direct>
<direct>
<port name="d[3]" type="input"/>
<port from="combb[3]" name="b" type="output"/>
</direct>
<direct>
<port from="comba[3]" name="cout" type="input"/>
<port from="combb[3]" name="cin" type="output"/>
<pack_pattern name="ADDER" type="carry">
<port from="comba[3]" name="cout" type="input"/>
<port from="combb[3]" name="cin" type="output"/>
</pack_pattern>
</direct>
<direct>
<port from="combb[3]" name="cout" type="input"/>
<port name="cout" type="output"/>
</direct>
<direct>
<port from="combb[3]" name="sum" type="input"/>
<port name="sum[7]" type="output"/>
</direct>
</interconnect>
</pb_type>