mult_tj01.tdf
来自「实现简单CPU功能的源码」· TDF 代码 · 共 530 行 · 第 1/2 页
TDF
530 行
--lpm_mult CBX_DECLARE_ALL_CONNECTED_PORTS="OFF" DEDICATED_MULTIPLIER_CIRCUITRY="AUTO" DEVICE_FAMILY="FLEX10K" DSP_BLOCK_BALANCING="Auto" INPUT_A_IS_CONSTANT="NO" INPUT_B_IS_CONSTANT="NO" LPM_REPRESENTATION="UNSIGNED" LPM_WIDTHA=16 LPM_WIDTHB=16 LPM_WIDTHP=32 LPM_WIDTHS=1 MAXIMIZE_SPEED=5 dataa datab result CARRY_CHAIN="MANUAL" CARRY_CHAIN_LENGTH=32
--VERSION_BEGIN 7.1 cbx_cycloneii 2007:01:23:09:39:40:SJ cbx_lpm_add_sub 2007:01:08:11:15:18:SJ cbx_lpm_mult 2007:03:30:15:38:08:SJ cbx_mgl 2007:04:03:14:06:46:SJ cbx_padd 2006:11:07:15:06:12:SJ cbx_stratix 2007:04:12:16:43:52:SJ cbx_stratixii 2007:02:12:17:08:26:SJ cbx_util_mgl 2007:01:15:12:22:48: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 357
SUBDESIGN mult_tj01
(
dataa[15..0] : input;
datab[15..0] : input;
result[31..0] : output;
)
VARIABLE
add12_result[34..0] : WIRE;
add16_result[31..0] : WIRE;
add20_result[28..0] : WIRE;
add24_result[23..0] : WIRE;
add28_result[17..0] : WIRE;
add32_result[13..0] : WIRE;
add36_result[15..0] : WIRE;
add40_result[6..0] : WIRE;
add44_result[2..0] : WIRE;
cs1a[8..0] : carry_sum;
cs2a[8..0] : carry_sum;
le10a[17..0] : lcell;
le11a[16..0] : lcell;
le3a[17..0] : lcell;
le4a[17..0] : lcell;
le5a[17..0] : lcell;
le6a[17..0] : lcell;
le7a[17..0] : lcell;
le8a[17..0] : lcell;
le9a[17..0] : lcell;
sft13a[34..0] : soft;
sft14a[34..0] : soft;
sft15a[34..0] : soft;
sft17a[31..0] : soft;
sft18a[31..0] : soft;
sft19a[31..0] : soft;
sft21a[28..0] : soft;
sft22a[28..0] : soft;
sft23a[28..0] : soft;
sft25a[23..0] : soft;
sft26a[23..0] : soft;
sft27a[23..0] : soft;
sft29a[17..0] : soft;
sft30a[17..0] : soft;
sft31a[17..0] : soft;
sft33a[13..0] : soft;
sft34a[13..0] : soft;
sft35a[13..0] : soft;
sft37a[15..0] : soft;
sft38a[15..0] : soft;
sft39a[15..0] : soft;
sft41a[6..0] : soft;
sft42a[6..0] : soft;
sft43a[6..0] : soft;
sft45a[2..0] : soft;
sft46a[2..0] : soft;
sft47a[2..0] : soft;
dataa_node[15..0] : WIRE;
datab_node[15..0] : WIRE;
final_result_node[31..0] : WIRE;
w1351w[34..0] : WIRE;
w213w[17..0] : WIRE;
w214w[17..0] : WIRE;
w215w[17..0] : WIRE;
w228w[17..0] : WIRE;
w229w[17..0] : WIRE;
w282w : WIRE;
w284w[17..0] : WIRE;
w285w[17..0] : WIRE;
w286w[17..0] : WIRE;
w299w[17..0] : WIRE;
w300w[17..0] : WIRE;
w337w : WIRE;
w339w : WIRE;
w340w[17..0] : WIRE;
w341w[17..0] : WIRE;
w342w[17..0] : WIRE;
w355w[17..0] : WIRE;
w356w[17..0] : WIRE;
w373w : WIRE;
w375w : WIRE;
w377w : WIRE;
w379w : WIRE;
w381w : WIRE;
w383w : WIRE;
w385w : WIRE;
w387w : WIRE;
w389w : WIRE;
w391w : WIRE;
w393w : WIRE;
w395w : WIRE;
w397w : WIRE;
w399w : WIRE;
w407w : WIRE;
w409w : WIRE;
w410w[17..0] : WIRE;
w411w[17..0] : WIRE;
w412w[17..0] : WIRE;
w425w[17..0] : WIRE;
w426w[17..0] : WIRE;
w443w : WIRE;
w445w : WIRE;
w447w : WIRE;
w449w : WIRE;
w451w : WIRE;
w453w : WIRE;
w455w : WIRE;
w457w : WIRE;
w459w : WIRE;
w461w : WIRE;
w463w : WIRE;
w465w : WIRE;
w467w : WIRE;
w469w : WIRE;
w477w : WIRE;
w479w : WIRE;
w480w[17..0] : WIRE;
w481w[17..0] : WIRE;
w482w[17..0] : WIRE;
w495w[17..0] : WIRE;
w496w[17..0] : WIRE;
w513w : WIRE;
w515w : WIRE;
w517w : WIRE;
w519w : WIRE;
w521w : WIRE;
w523w : WIRE;
w525w : WIRE;
w527w : WIRE;
w529w : WIRE;
w531w : WIRE;
w533w : WIRE;
w535w : WIRE;
w537w : WIRE;
w539w : WIRE;
w547w : WIRE;
w549w : WIRE;
w550w[17..0] : WIRE;
w551w[17..0] : WIRE;
w552w[17..0] : WIRE;
w565w[17..0] : WIRE;
w566w[17..0] : WIRE;
w583w : WIRE;
w585w : WIRE;
w587w : WIRE;
w589w : WIRE;
w591w : WIRE;
w593w : WIRE;
w595w : WIRE;
w597w : WIRE;
w599w : WIRE;
w601w : WIRE;
w603w : WIRE;
w605w : WIRE;
w607w : WIRE;
w609w : WIRE;
w617w : WIRE;
w619w : WIRE;
w620w[17..0] : WIRE;
w621w[17..0] : WIRE;
w622w[17..0] : WIRE;
w635w[17..0] : WIRE;
w636w[17..0] : WIRE;
w653w : WIRE;
w655w : WIRE;
w657w : WIRE;
w659w : WIRE;
w661w : WIRE;
w663w : WIRE;
w665w : WIRE;
w667w : WIRE;
w669w : WIRE;
w671w : WIRE;
w673w : WIRE;
w675w : WIRE;
w677w : WIRE;
w679w : WIRE;
w687w : WIRE;
w689w : WIRE;
w690w[17..0] : WIRE;
w691w[17..0] : WIRE;
w692w[17..0] : WIRE;
w709w : WIRE;
w711w : WIRE;
w713w : WIRE;
w715w : WIRE;
w717w : WIRE;
w719w : WIRE;
w721w : WIRE;
w723w : WIRE;
w725w : WIRE;
w727w : WIRE;
w729w : WIRE;
w731w : WIRE;
w733w : WIRE;
w735w : WIRE;
w742w[16..0] : WIRE;
w744w[16..0] : WIRE;
w756w : WIRE;
w758w : WIRE;
w760w : WIRE;
w762w : WIRE;
w764w : WIRE;
w766w : WIRE;
w768w : WIRE;
w770w : WIRE;
w772w : WIRE;
w774w : WIRE;
w776w : WIRE;
w778w : WIRE;
w780w : WIRE;
w782w : WIRE;
w784w : WIRE;
w787w : WIRE;
w788w : WIRE;
w789w : WIRE;
w790w : WIRE;
w791w : WIRE;
w792w : WIRE;
w793w : WIRE;
w794w : WIRE;
w795w : WIRE;
w796w : WIRE;
w7w[17..0] : WIRE;
w800w : WIRE;
w801w : WIRE;
w802w : WIRE;
w803w : WIRE;
w804w : WIRE;
w805w : WIRE;
w806w : WIRE;
w807w : WIRE;
w808w : WIRE;
w809w : WIRE;
w810w : WIRE;
w811w : WIRE;
w812w : WIRE;
w813w : WIRE;
w814w : WIRE;
w815w : WIRE;
w816w : WIRE;
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?