--lpm_mult DEDICATED_MULTIPLIER_CIRCUITRY="NO" DEVICE_FAMILY="Cyclone IV E" DSP_BLOCK_BALANCING="AUTO" LPM_PIPELINE=0 LPM_WIDTHA=10 LPM_WIDTHB=10 LPM_WIDTHP=20 MAXIMIZE_SPEED=5 dataa datab result CARRY_CHAIN="MANUAL" CARRY_CHAIN_LENGTH=48 --VERSION_BEGIN 13.0 cbx_cycloneii 2013:04:24:18:08:47:SJ cbx_lpm_add_sub 2013:04:24:18:08:47:SJ cbx_lpm_mult 2013:04:24:18:08:47:SJ cbx_mgl 2013:04:24:18:11:10:SJ cbx_padd 2013:04:24:18:08:47:SJ cbx_stratix 2013:04:24:18:08:47:SJ cbx_stratixii 2013:04:24:18:08:47:SJ cbx_util_mgl 2013:04:24:18:08:47:SJ VERSION_END -- Copyright (C) 1991-2013 Altera Corporation -- Your use of Altera Corporation's design tools, logic functions -- and other software and tools, and its AMPP partner logic -- functions, and any output files from any of the foregoing -- (including device programming or simulation files), and any -- associated documentation or information are expressly subject -- to the terms and conditions of the Altera Program License -- Subscription Agreement, Altera MegaCore Function License -- Agreement, or other applicable license agreement, including, -- without limitation, that your use is for the sole purpose of -- programming logic devices manufactured by Altera and sold by -- Altera or its authorized distributors. Please refer to the -- applicable agreement for further details. FUNCTION carry_sum (cin, sin) RETURNS ( cout, sout); FUNCTION lcell (in) RETURNS ( out); FUNCTION soft (in) RETURNS ( out); --synthesis_resources = lut 165 SUBDESIGN mult_aql ( dataa[9..0] : input; datab[9..0] : input; result[19..0] : output; ) VARIABLE add10_result[22..0] : WIRE; add14_result[19..0] : WIRE; add18_result[16..0] : WIRE; add22_result[11..0] : WIRE; add26_result[6..0] : WIRE; add30_result[2..0] : WIRE; cs2a[5..0] : carry_sum; cs3a[5..0] : carry_sum; le4a[11..0] : lcell; le5a[11..0] : lcell; le6a[11..0] : lcell; le7a[11..0] : lcell; le8a[11..0] : lcell; le9a[10..0] : lcell; sft11a[22..0] : soft; sft12a[22..0] : soft; sft13a[22..0] : soft; sft15a[19..0] : soft; sft16a[19..0] : soft; sft17a[19..0] : soft; sft19a[16..0] : soft; sft20a[16..0] : soft; sft21a[16..0] : soft; sft23a[11..0] : soft; sft24a[11..0] : soft; sft25a[11..0] : soft; sft27a[6..0] : soft; sft28a[6..0] : soft; sft29a[6..0] : soft; sft31a[2..0] : soft; sft32a[2..0] : soft; sft33a[2..0] : soft; dataa_node[9..0] : WIRE; datab_node[9..0] : WIRE; final_result_node[19..0] : WIRE; w140w[11..0] : WIRE; w18w[11..0] : WIRE; w199w[11..0] : WIRE; w249w[11..0] : WIRE; w307w[11..0] : WIRE; w438w : WIRE; w467w : WIRE; w705w[22..0] : WIRE; BEGIN add10_result[] = sft11a[].out + sft12a[].out; add14_result[] = sft15a[].out + sft16a[].out; add18_result[] = sft19a[].out + sft20a[].out; add22_result[] = sft23a[].out + sft24a[].out; add26_result[] = sft27a[].out + sft28a[].out; add30_result[] = sft31a[].out + sft32a[].out; cs2a[].cin = ( ((w18w[10..10] & cs2a[4].cout) # w18w[11..11]), (cs2a[3].cout & w18w[8..8]), ((w18w[6..6] & cs2a[2].cout) # w18w[7..7]), ((w18w[4..4] & cs2a[1].cout) # w18w[5..5]), ((w18w[2..2] & cs2a[0].cout) # w18w[3..3]), w18w[1..1]); cs2a[].sin = ( ((((((! w18w[11..11]) & w18w[10..10]) & cs2a[4].cout) # ((w18w[11..11] & w18w[10..10]) & (! cs2a[4].cout))) # ((w18w[11..11] & (! w18w[10..10])) & cs2a[4].cout)) # ((w18w[11..11] & (! w18w[10..10])) & (! cs2a[4].cout))), (cs2a[3].cout & w18w[8..8]), ((((((! w18w[7..7]) & w18w[6..6]) & cs2a[2].cout) # ((w18w[7..7] & w18w[6..6]) & (! cs2a[2].cout))) # ((w18w[7..7] & (! w18w[6..6])) & cs2a[2].cout)) # ((w18w[7..7] & (! w18w[6..6])) & (! cs2a[2].cout))), ((((((! w18w[5..5]) & w18w[4..4]) & cs2a[1].cout) # ((w18w[5..5] & w18w[4..4]) & (! cs2a[1].cout))) # ((w18w[5..5] & (! w18w[4..4])) & cs2a[1].cout)) # ((w18w[5..5] & (! w18w[4..4])) & (! cs2a[1].cout))), ((((((! w18w[3..3]) & w18w[2..2]) & cs2a[0].cout) # ((w18w[3..3] & w18w[2..2]) & (! cs2a[0].cout))) # ((w18w[3..3] & (! w18w[2..2])) & cs2a[0].cout)) # ((w18w[3..3] & (! w18w[2..2])) & (! cs2a[0].cout))), w18w[1..1]); cs3a[].cin = ( ((w18w[10..10] & cs3a[4].cout) # w18w[11..11]), (cs3a[3].cout $ w18w[8..8]), ((w18w[6..6] & cs3a[2].cout) # w18w[7..7]), ((w18w[4..4] & cs3a[1].cout) # w18w[5..5]), ((w18w[2..2] & cs3a[0].cout) # w18w[3..3]), w18w[1..1]); cs3a[].sin = ( ((((((! w18w[11..11]) & (! w18w[10..10])) & cs3a[4].cout) # (((! w18w[11..11]) & w18w[10..10]) & (! cs3a[4].cout))) # ((w18w[11..11] & w18w[10..10]) & (! cs3a[4].cout))) # ((w18w[11..11] & (! w18w[10..10])) & cs3a[4].cout)), (cs3a[3].cout $ w18w[8..8]), ((((((! w18w[7..7]) & (! w18w[6..6])) & cs3a[2].cout) # (((! w18w[7..7]) & w18w[6..6]) & (! cs3a[2].cout))) # ((w18w[7..7] & w18w[6..6]) & (! cs3a[2].cout))) # ((w18w[7..7] & (! w18w[6..6])) & cs3a[2].cout)), ((((((! w18w[5..5]) & (! w18w[4..4])) & cs3a[1].cout) # (((! w18w[5..5]) & w18w[4..4]) & (! cs3a[1].cout))) # ((w18w[5..5] & w18w[4..4]) & (! cs3a[1].cout))) # ((w18w[5..5] & (! w18w[4..4])) & cs3a[1].cout)), ((((((! w18w[3..3]) & (! w18w[2..2])) & cs3a[0].cout) # (((! w18w[3..3]) & w18w[2..2]) & (! cs3a[0].cout))) # ((w18w[3..3] & w18w[2..2]) & (! cs3a[0].cout))) # ((w18w[3..3] & (! w18w[2..2])) & cs3a[0].cout)), w18w[0..0]); le4a[].in = (! ((! (((! ( B"0", dataa_node[], B"0")) & cs2a[0].sout) & (! cs3a[0].sout))) & (! ((((! ( B"0", B"0", dataa_node[])) & cs2a[0].sout) & cs3a[0].sout) # ((( B"0", B"0", dataa_node[]) & (! cs2a[0].sout)) & cs3a[0].sout))))); le5a[].in = (! ((! (((! ( B"0", dataa_node[], B"0")) & cs2a[1].sout) & (! cs3a[1].sout))) & (! ((((! ( B"0", B"0", dataa_node[])) & cs2a[1].sout) & cs3a[1].sout) # ((( B"0", B"0", dataa_node[]) & (! cs2a[1].sout)) & cs3a[1].sout))))); le6a[].in = (! ((! (((! ( B"0", dataa_node[], B"0")) & cs2a[2].sout) & (! cs3a[2].sout))) & (! ((((! ( B"0", B"0", dataa_node[])) & cs2a[2].sout) & cs3a[2].sout) # ((( B"0", B"0", dataa_node[]) & (! cs2a[2].sout)) & cs3a[2].sout))))); le7a[].in = (! ((! (((! ( B"0", dataa_node[], B"0")) & cs2a[3].sout) & (! cs3a[3].sout))) & (! ((((! ( B"0", B"0", dataa_node[])) & cs2a[3].sout) & cs3a[3].sout) # ((( B"0", B"0", dataa_node[]) & (! cs2a[3].sout)) & cs3a[3].sout))))); le8a[].in = ((cs2a[4].sout & ( B"0", dataa_node[], B"0")) # (cs3a[4].sout & ( B"0", B"0", dataa_node[]))); le9a[].in = (w18w[9..9] & ( B"0", dataa_node[])); sft11a[].in = ( w438w, ( w438w, ( sft17a[18..18].out, ( sft17a[17..17].out, ( sft17a[16..16].out, ( sft17a[15..15].out, ( sft17a[14..14].out, ( sft17a[13..13].out, ( sft17a[12..12].out, ( sft17a[11..11].out, ( sft17a[10..10].out, ( sft17a[9..9].out, ( sft17a[8..8].out, ( sft17a[7..7].out, ( sft17a[6..6].out, ( sft17a[5..5].out, ( sft17a[4..4].out, ( sft17a[3..3].out, ( sft17a[2..2].out, ( le5a[1..1].out, ( le5a[0..0].out, ( le4a[1..0].out)))))))))))))))))))))); sft12a[].in = ( w467w, ( sft17a[19..19].out, ( sft21a[16..16].out, ( sft21a[15..15].out, ( sft21a[14..14].out, ( sft21a[13..13].out, ( sft21a[12..12].out, ( sft21a[11..11].out, ( sft21a[10..10].out, ( sft21a[9..9].out, ( sft21a[8..8].out, ( sft21a[7..7].out, ( sft21a[6..6].out, ( sft21a[5..5].out, ( sft21a[4..4].out, ( sft21a[3..3].out, ( sft21a[2..2].out, ( sft21a[1..1].out, ( sft21a[0..0].out, ( sft17a[1..1].out, ( sft17a[0..0].out, ( w467w, cs2a[0].sout)))))))))))))))))))))); sft13a[].in = add10_result[]; sft15a[].in = ( w467w, ( w438w, ( le9a[10..10].out, ( le9a[9..9].out, ( le9a[8..8].out, ( le9a[7..7].out, ( le9a[6..6].out, ( le9a[5..5].out, ( le9a[4..4].out, ( le9a[3..3].out, ( sft25a[5..5].out, ( le9a[1..1].out, ( le9a[0..0].out, ( le8a[0..0].out, ( le7a[1..1].out, ( le7a[0..0].out, ( le6a[1..1].out, ( le6a[0..0].out, ( le4a[3..2].out))))))))))))))))))); sft16a[].in = ( w467w, ( w467w, ( le8a[11..11].out, ( le8a[10..10].out, ( le8a[9..9].out, ( sft25a[10..10].out, ( sft25a[9..9].out, ( sft25a[8..8].out, ( sft25a[7..7].out, ( sft25a[6..6].out, ( sft29a[2..2].out, ( sft25a[4..4].out, ( sft25a[3..3].out, ( sft25a[2..2].out, ( sft25a[1..1].out, ( sft25a[0..0].out, ( le5a[3..3].out, ( le5a[2..2].out, ( w467w, cs2a[1].sout))))))))))))))))))); sft17a[].in = add14_result[]; sft19a[].in = ( w467w, ( w438w, ( w438w, ( (! w307w[11..11]), ( le8a[8..8].out, ( le8a[7..7].out, ( le8a[6..6].out, ( sft29a[4..4].out, ( sft29a[3..3].out, ( le9a[2..2].out, ( le8a[2..2].out, ( le8a[1..1].out, ( le7a[2..2].out, ( le6a[3..3].out, ( le6a[2..2].out, ( le4a[5..5].out, cs2a[2].sout)))))))))))))))); sft20a[].in = ( w467w, ( w467w, ( w467w, ( sft25a[11..11].out, ( le7a[10..10].out, ( sft29a[6..6].out, ( sft29a[5..5].out, ( sft33a[2..2].out, ( sft33a[1..1].out, ( sft33a[0..0].out, ( sft29a[1..1].out, ( sft29a[0..0].out, ( le6a[4..4].out, ( le5a[5..5].out, ( le5a[4..4].out, ( w467w, le4a[4..4].out)))))))))))))))); sft21a[].in = add18_result[]; sft23a[].in = ( w467w, ( w438w, ( le7a[9..9].out, ( le7a[8..8].out, ( le8a[5..5].out, ( le8a[4..4].out, ( le8a[3..3].out, ( le7a[4..4].out, ( le7a[3..3].out, ( le5a[6..6].out, ( le4a[7..6].out))))))))))); sft24a[].in = ( w467w, ( w467w, ( (! w249w[11..11]), ( le6a[10..10].out, ( le7a[7..7].out, ( le7a[6..6].out, ( le7a[5..5].out, ( le6a[6..6].out, ( le6a[5..5].out, ( le4a[8..8].out, ( w467w, cs2a[3].sout))))))))))); sft25a[].in = add22_result[]; sft27a[].in = ( w467w, ( w438w, ( le6a[9..9].out, ( le6a[8..8].out, ( le6a[7..7].out, ( le5a[8..7].out)))))); sft28a[].in = ( w467w, ( w467w, ( (! w199w[11..11]), ( le5a[10..10].out, ( le5a[9..9].out, ( le4a[10..9].out)))))); sft29a[].in = add26_result[]; sft31a[].in = ( w467w, ( w438w, w438w)); sft32a[].in = ( w467w, ( w467w, (! w140w[11..11]))); sft33a[].in = add30_result[]; dataa_node[] = ( dataa[9..0]); datab_node[] = ( datab[9..0]); final_result_node[] = ( w705w[19..0]); result[] = ( final_result_node[19..0]); w140w[] = le4a[].out; w18w[] = ( B"00", datab_node[]); w199w[] = le5a[].out; w249w[] = le6a[].out; w307w[] = le7a[].out; w438w = B"1"; w467w = B"0"; w705w[] = ( sft13a[22..21].out, sft13a[20..19].out, sft13a[18..17].out, sft13a[16..15].out, sft13a[14..13].out, sft13a[12..11].out, sft13a[10..9].out, sft13a[8..7].out, sft13a[6..5].out, sft13a[4..3].out, sft13a[2..1].out, sft13a[0..0].out); END; --VALID FILE