📄 mult_4261.tdf
字号:
--lpm_mult CBX_DECLARE_ALL_CONNECTED_PORTS="OFF" DEDICATED_MULTIPLIER_CIRCUITRY="NO" DEVICE_FAMILY="Cyclone" DSP_BLOCK_BALANCING="Logic ELements" INPUT_A_FIXED_VALUE="Bx" INPUT_A_IS_CONSTANT="NO" INPUT_B_FIXED_VALUE="Bx" INPUT_B_IS_CONSTANT="NO" LPM_PIPELINE=0 LPM_REPRESENTATION="SIGNED" LPM_WIDTHA=5 LPM_WIDTHB=11 LPM_WIDTHP=16 MAXIMIZE_SPEED=5 dataa datab result CARRY_CHAIN="MANUAL" CARRY_CHAIN_LENGTH=48
--VERSION_BEGIN 5.1 cbx_cycloneii 2005:08:30:10:31:44:SJ cbx_lpm_add_sub 2005:09:30:12:13:06:SJ cbx_lpm_mult 2005:08:05:09:57:06:SJ cbx_mgl 2005:10:09:07:39:04:SJ cbx_padd 2005:08:04:11:57:36:SJ cbx_stratix 2005:10:07:15:53:08:SJ cbx_stratixii 2005:07:27:05:50:56:SJ cbx_util_mgl 2005:09:13:05:23:22:SJ VERSION_END
-- Copyright (C) 1991-2005 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 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);
--synthesis_resources = lut 79
SUBDESIGN mult_4261
(
dataa[4..0] : input;
datab[10..0] : input;
result[15..0] : output;
)
VARIABLE
add6_dataa[15..0] : WIRE;
add6_datab[15..0] : WIRE;
add6_result[15..0] : WIRE;
add7_dataa[12..0] : WIRE;
add7_datab[12..0] : WIRE;
add7_result[12..0] : WIRE;
add8_dataa[9..0] : WIRE;
add8_datab[9..0] : WIRE;
add8_result[9..0] : WIRE;
cs1a[2..0] : carry_sum;
cs3a[1..0] : carry_sum;
le2a[10..0] : lcell;
le4a[11..0] : lcell;
le5a[11..0] : lcell;
dataa_node[10..0] : WIRE;
datab_node[4..0] : WIRE;
final_result_node[15..0] : WIRE;
w116w : WIRE;
w125w : WIRE;
w127w[11..0] : WIRE;
w128w[11..0] : WIRE;
w129w[11..0] : WIRE;
w12w[10..0] : WIRE;
w137w[11..0] : WIRE;
w138w[11..0] : WIRE;
w157w : WIRE;
w159w : WIRE;
w161w : WIRE;
w163w : WIRE;
w165w : WIRE;
w167w : WIRE;
w169w : WIRE;
w171w : WIRE;
w175w : WIRE;
w177w : WIRE;
w178w : WIRE;
w179w : WIRE;
w180w : WIRE;
w182w : WIRE;
w183w : WIRE;
w184w : WIRE;
w185w : WIRE;
w186w : WIRE;
w187w : WIRE;
w188w : WIRE;
w189w : WIRE;
w190w : WIRE;
w191w : WIRE;
w192w : WIRE;
w195w : WIRE;
w308w[15..0] : WIRE;
w79w[11..0] : WIRE;
w7w[5..0] : WIRE;
w80w[11..0] : WIRE;
w81w[11..0] : WIRE;
w90w[11..0] : WIRE;
w91w[11..0] : WIRE;
BEGIN
add6_dataa[] = ( w178w, ( (! w12w[10..10]), ( w190w, ( w180w, ( w171w, ( w169w, ( w167w, ( w165w, ( w163w, ( w161w, ( w159w, ( w116w, ( w127w[1..1], ( w127w[0..0], ( w79w[1..0])))))))))))))));
add6_datab[] = ( w195w, ( w192w, ( w191w, ( w189w, ( w179w, ( w188w, ( w187w, ( w186w, ( w185w, ( w184w, ( w183w, ( w157w, ( w182w, ( w177w, ( w195w, w125w)))))))))))))));
add6_result[] = add6_dataa[] + add6_datab[];
add7_dataa[] = ( w195w, ( w12w[9..9], ( w12w[8..8], ( w12w[7..7], ( w12w[6..6], ( w12w[5..5], ( w12w[4..4], ( w12w[3..3], ( w12w[2..2], ( w12w[1..1], ( w12w[0..0], ( w79w[3..2]))))))))))));
add7_datab[] = ( w195w, ( (! w127w[11..11]), ( w127w[10..10], ( w127w[9..9], ( w127w[8..8], ( w127w[7..7], ( w127w[6..6], ( w127w[5..5], ( w127w[4..4], ( w127w[3..3], ( w127w[2..2], ( w195w, w175w))))))))))));
add7_result[] = add7_dataa[] + add7_datab[];
add8_dataa[] = ( w195w, ( w178w, ( (! w79w[11..11]), ( w79w[10..10], ( w79w[9..9], ( w79w[8..8], ( w79w[7..7], ( w79w[6..6], ( w79w[5..4])))))))));
add8_datab[] = ( w195w, ( w195w, ( w178w, ( w195w, ( w195w, ( w195w, ( w195w, ( w195w, ( w195w, w7w[4..4])))))))));
add8_result[] = add8_dataa[] + add8_datab[];
cs1a[].cin = ( B"0", ((w7w[2..2] & cs1a[0].cout) # w7w[3..3]), w7w[1..1]);
cs1a[].sin = ( 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]);
cs3a[].cin = ( ((w7w[2..2] & cs3a[0].cout) # w7w[3..3]), w7w[1..1]);
cs3a[].sin = ( ((((((! w7w[3..3]) & (! w7w[2..2])) & cs3a[0].cout) # (((! w7w[3..3]) & w7w[2..2]) & (! cs3a[0].cout))) # ((w7w[3..3] & w7w[2..2]) & (! cs3a[0].cout))) # ((w7w[3..3] & (! w7w[2..2])) & cs3a[0].cout)), w7w[0..0]);
le2a[].in = (((w7w[4..4] & cs1a[2].sout) # ((w7w[4..4] & (! cs1a[2].sout)) & (! dataa_node[]))) # (((! w7w[4..4]) & cs1a[2].sout) & dataa_node[]));
le4a[].in = (! ((! w90w[]) & (! w91w[])));
le5a[].in = (! ((! w137w[]) & (! w138w[])));
dataa_node[] = ( datab[10..0]);
datab_node[] = ( dataa[4..0]);
final_result_node[] = ( w308w[15..0]);
result[] = ( final_result_node[15..0]);
w116w = add7_result[2..2];
w125w = cs1a[0].sout;
w127w[] = le5a[].out;
w128w[] = ( dataa_node[], B"0");
w129w[] = ( dataa_node[10..10], dataa_node[]);
w12w[] = le2a[].out;
w137w[] = (((! w128w[]) & cs1a[1].sout) & (! cs3a[1].sout));
w138w[] = ((((! w129w[]) & cs1a[1].sout) & cs3a[1].sout) # ((w129w[] & (! cs1a[1].sout)) & cs3a[1].sout));
w157w = add8_result[0..0];
w159w = add7_result[3..3];
w161w = add7_result[4..4];
w163w = add7_result[5..5];
w165w = add7_result[6..6];
w167w = add7_result[7..7];
w169w = add7_result[8..8];
w171w = add7_result[9..9];
w175w = cs1a[1].sout;
w177w = add7_result[0..0];
w178w = B"1";
w179w = add8_result[7..7];
w180w = add7_result[10..10];
w182w = add7_result[1..1];
w183w = add8_result[1..1];
w184w = add8_result[2..2];
w185w = add8_result[3..3];
w186w = add8_result[4..4];
w187w = add8_result[5..5];
w188w = add8_result[6..6];
w189w = add8_result[8..8];
w190w = add7_result[11..11];
w191w = add8_result[9..9];
w192w = add7_result[12..12];
w195w = B"0";
w308w[] = ( add6_result[15..15], add6_result[14..14], add6_result[13..13], add6_result[12..12], add6_result[11..11], add6_result[10..10], add6_result[9..9], add6_result[8..8], add6_result[7..7], add6_result[6..6], add6_result[5..5], add6_result[4..4], add6_result[3..3], add6_result[2..2], add6_result[1..1], add6_result[0..0]);
w79w[] = le4a[].out;
w7w[] = ( datab_node[4..4], datab_node[]);
w80w[] = ( dataa_node[], B"0");
w81w[] = ( dataa_node[10..10], dataa_node[]);
w90w[] = (((! w80w[]) & cs1a[0].sout) & (! cs3a[0].sout));
w91w[] = ((((! w81w[]) & cs1a[0].sout) & cs3a[0].sout) # ((w81w[] & (! cs1a[0].sout)) & cs3a[0].sout));
END;
--VALID FILE
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -