📄 mult_0f01.tdf
字号:
--lpm_mult CBX_DECLARE_ALL_CONNECTED_PORTS="OFF" DEDICATED_MULTIPLIER_CIRCUITRY="AUTO" DEVICE_FAMILY="ACEX1K" DSP_BLOCK_BALANCING="Auto" INPUT_A_IS_CONSTANT="NO" INPUT_B_IS_CONSTANT="NO" LPM_REPRESENTATION="UNSIGNED" LPM_WIDTHA=4 LPM_WIDTHB=7 LPM_WIDTHP=11 LPM_WIDTHS=1 MAXIMIZE_SPEED=5 dataa datab result CARRY_CHAIN="MANUAL" CARRY_CHAIN_LENGTH=48
--VERSION_BEGIN 7.0 cbx_cycloneii 2006:09:29:19:03:26:SJ cbx_lpm_add_sub 2006:10:10:22:03:24:SJ cbx_lpm_mult 2006:11:01:17:02:48:SJ cbx_mgl 2006:10:27:16:08:48:SJ cbx_padd 2006:11:07:16:02:02:SJ cbx_stratix 2006:09:18:10:47:42:SJ cbx_stratixii 2006:10:13:14:01:30:SJ cbx_util_mgl 2006:11:03:10:32:30:SJ VERSION_END
-- Copyright (C) 1991-2007 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 60
SUBDESIGN mult_0f01
(
dataa[3..0] : input;
datab[6..0] : input;
result[10..0] : output;
)
VARIABLE
add10_result[10..0] : WIRE;
add14_result[2..0] : WIRE;
add6_result[13..0] : WIRE;
cs1a[2..0] : carry_sum;
cs2a[2..0] : carry_sum;
le3a[8..0] : lcell;
le4a[8..0] : lcell;
le5a[7..0] : lcell;
sft11a[10..0] : soft;
sft12a[10..0] : soft;
sft13a[10..0] : soft;
sft15a[2..0] : soft;
sft16a[2..0] : soft;
sft17a[2..0] : soft;
sft7a[13..0] : soft;
sft8a[13..0] : soft;
sft9a[13..0] : soft;
dataa_node[6..0] : WIRE;
datab_node[3..0] : WIRE;
final_result_node[10..0] : WIRE;
w121w : WIRE;
w123w[8..0] : WIRE;
w124w[8..0] : WIRE;
w125w[8..0] : WIRE;
w138w[8..0] : WIRE;
w139w[8..0] : WIRE;
w167w : WIRE;
w169w : WIRE;
w170w[7..0] : WIRE;
w171w[7..0] : WIRE;
w172w[7..0] : WIRE;
w185w : WIRE;
w187w : WIRE;
w189w : WIRE;
w191w : WIRE;
w193w : WIRE;
w198w : WIRE;
w199w : WIRE;
w200w : WIRE;
w203w : WIRE;
w204w : WIRE;
w205w : WIRE;
w206w : WIRE;
w207w : WIRE;
w208w : WIRE;
w211w : WIRE;
w290w[13..0] : WIRE;
w70w[8..0] : WIRE;
w71w[8..0] : WIRE;
w72w[8..0] : WIRE;
w7w[5..0] : WIRE;
w85w[8..0] : WIRE;
w86w[8..0] : WIRE;
BEGIN
add10_result[] = sft11a[].out + sft12a[].out;
add14_result[] = sft15a[].out + sft16a[].out;
add6_result[] = sft7a[].out + sft8a[].out;
cs1a[].cin = ( ((w7w[4..4] & cs1a[1].cout) # w7w[5..5]), ((w7w[2..2] & cs1a[0].cout) # w7w[3..3]), w7w[1..1]);
cs1a[].sin = ( ((((((! w7w[5..5]) & w7w[4..4]) & cs1a[1].cout) # ((w7w[5..5] & w7w[4..4]) & (! cs1a[1].cout))) # ((w7w[5..5] & (! w7w[4..4])) & cs1a[1].cout)) # ((w7w[5..5] & (! w7w[4..4])) & (! cs1a[1].cout))), ((((((! w7w[3..3]) & w7w[2..2]) & cs1a[0].cout) # ((w7w[3..3] & w7w[2..2]) & (! cs1a[0].cout))) # ((w7w[3..3] & (! w7w[2..2])) & cs1a[0].cout)) # ((w7w[3..3] & (! w7w[2..2])) & (! cs1a[0].cout))), w7w[1..1]);
cs2a[].cin = ( ((w7w[4..4] & cs2a[1].cout) # w7w[5..5]), ((w7w[2..2] & cs2a[0].cout) # w7w[3..3]), w7w[1..1]);
cs2a[].sin = ( ((((((! w7w[5..5]) & (! w7w[4..4])) & cs2a[1].cout) # (((! w7w[5..5]) & w7w[4..4]) & (! cs2a[1].cout))) # ((w7w[5..5] & w7w[4..4]) & (! cs2a[1].cout))) # ((w7w[5..5] & (! w7w[4..4])) & cs2a[1].cout)), ((((((! w7w[3..3]) & (! w7w[2..2])) & cs2a[0].cout) # (((! w7w[3..3]) & w7w[2..2]) & (! cs2a[0].cout))) # ((w7w[3..3] & w7w[2..2]) & (! cs2a[0].cout))) # ((w7w[3..3] & (! w7w[2..2])) & cs2a[0].cout)), w7w[0..0]);
le3a[].in = (! ((! w85w[]) & (! w86w[])));
le4a[].in = (! ((! w138w[]) & (! w139w[])));
le5a[].in = ((cs1a[2].sout & w171w[]) # (cs2a[2].sout & w172w[]));
sft11a[].in = ( w211w, ( w198w, ( w170w[6..6], ( w170w[5..5], ( w170w[4..4], ( w123w[5..5], ( w123w[4..4], ( w123w[3..3], ( w123w[2..2], ( w70w[3..2]))))))))));
sft12a[].in = ( w211w, ( w211w, ( (! w123w[8..8]), ( w123w[7..7], ( w123w[6..6], ( w70w[7..7], ( w70w[6..6], ( w70w[5..5], ( w70w[4..4], ( w211w, w167w))))))))));
sft13a[].in = add10_result[];
sft15a[].in = ( w211w, ( w198w, w198w));
sft16a[].in = ( w211w, ( w211w, (! w70w[8..8])));
sft17a[].in = add14_result[];
sft7a[].in = ( w198w, ( w198w, ( w170w[7..7], ( w205w, ( w200w, ( w193w, ( w170w[3..3], ( w170w[2..2], ( w170w[1..1], ( w170w[0..0], ( w123w[1..1], ( w123w[0..0], ( w70w[1..0])))))))))))));
sft8a[].in = ( w211w, ( w208w, ( w207w, ( w206w, ( w204w, ( w199w, ( w191w, ( w189w, ( w187w, ( w185w, ( w203w, ( w169w, ( w211w, w121w)))))))))))));
sft9a[].in = add6_result[];
dataa_node[] = ( datab[6..0]);
datab_node[] = ( dataa[3..0]);
final_result_node[] = ( w290w[10..0]);
result[] = ( final_result_node[10..0]);
w121w = cs1a[0].sout;
w123w[] = le4a[].out;
w124w[] = ( B"0", dataa_node[], B"0");
w125w[] = ( B"0", B"0", dataa_node[]);
w138w[] = (((! w124w[]) & cs1a[1].sout) & (! cs2a[1].sout));
w139w[] = ((((! w125w[]) & cs1a[1].sout) & cs2a[1].sout) # ((w125w[] & (! cs1a[1].sout)) & cs2a[1].sout));
w167w = cs1a[1].sout;
w169w = sft13a[0..0].out;
w170w[] = le5a[].out;
w171w[] = ( dataa_node[], B"0");
w172w[] = ( B"0", dataa_node[]);
w185w = sft13a[2..2].out;
w187w = sft13a[3..3].out;
w189w = sft13a[4..4].out;
w191w = sft13a[5..5].out;
w193w = sft13a[6..6].out;
w198w = B"1";
w199w = sft17a[0..0].out;
w200w = sft13a[7..7].out;
w203w = sft13a[1..1].out;
w204w = sft17a[1..1].out;
w205w = sft13a[8..8].out;
w206w = sft17a[2..2].out;
w207w = sft13a[9..9].out;
w208w = sft13a[10..10].out;
w211w = B"0";
w290w[] = ( sft9a[13..13].out, sft9a[12..12].out, sft9a[11..11].out, sft9a[10..10].out, sft9a[9..9].out, sft9a[8..8].out, sft9a[7..7].out, sft9a[6..6].out, sft9a[5..5].out, sft9a[4..4].out, sft9a[3..3].out, sft9a[2..2].out, sft9a[1..1].out, sft9a[0..0].out);
w70w[] = le3a[].out;
w71w[] = ( B"0", dataa_node[], B"0");
w72w[] = ( B"0", B"0", dataa_node[]);
w7w[] = ( B"00", datab_node[]);
w85w[] = (((! w71w[]) & cs1a[0].sout) & (! cs2a[0].sout));
w86w[] = ((((! w72w[]) & cs1a[0].sout) & cs2a[0].sout) # ((w72w[] & (! cs1a[0].sout)) & cs2a[0].sout));
END;
--VALID FILE
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -