?? fmts.v
字號(hào):
// megafunction wizard: %ALTMULT_ADD%
// GENERATION: STANDARD
// VERSION: WM1.0
// MODULE: ALTMULT_ADD
// ============================================================
// File Name: fmts.v
// Megafunction Name(s):
// ALTMULT_ADD
//
// Simulation Library Files(s):
// altera_mf
// ============================================================
// ************************************************************
// THIS IS A WIZARD-GENERATED FILE. DO NOT EDIT THIS FILE!
//
// 7.0 Build 33 02/05/2007 SJ Full Version
// ************************************************************
//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.
// synopsys translate_off
`timescale 1 ps / 1 ps
// synopsys translate_on
module fmts (
clock0,
dataa_0,
dataa_1,
datab_0,
datab_1,
result);
input clock0;
input [15:0] dataa_0;
input [15:0] dataa_1;
input [15:0] datab_0;
input [15:0] datab_1;
output [32:0] result;
wire [32:0] sub_wire0;
wire [15:0] sub_wire6 = datab_1[15:0];
wire [15:0] sub_wire3 = dataa_1[15:0];
wire [32:0] result = sub_wire0[32:0];
wire [15:0] sub_wire1 = dataa_0[15:0];
wire [31:0] sub_wire2 = {sub_wire3, sub_wire1};
wire [15:0] sub_wire4 = datab_0[15:0];
wire [31:0] sub_wire5 = {sub_wire6, sub_wire4};
altmult_add ALTMULT_ADD_component (
.dataa (sub_wire2),
.datab (sub_wire5),
.clock0 (clock0),
.result (sub_wire0),
.accum_sload (1'b0),
.aclr0 (1'b0),
.aclr1 (1'b0),
.aclr2 (1'b0),
.aclr3 (1'b0),
.addnsub1 (1'b1),
.addnsub1_round (1'b0),
.addnsub3 (1'b1),
.addnsub3_round (1'b0),
.chainin (1'b0),
.chainout_round (1'b0),
.chainout_sat_overflow (),
.chainout_saturate (1'b0),
.clock1 (1'b1),
.clock2 (1'b1),
.clock3 (1'b1),
.ena0 (1'b1),
.ena1 (1'b1),
.ena2 (1'b1),
.ena3 (1'b1),
.mult01_round (1'b0),
.mult01_saturation (1'b0),
.mult0_is_saturated (),
.mult1_is_saturated (),
.mult23_round (1'b0),
.mult23_saturation (1'b0),
.mult2_is_saturated (),
.mult3_is_saturated (),
.output_round (1'b0),
.output_saturate (1'b0),
.overflow (),
.rotate (1'b0),
.scanina ({16{1'b0}}),
.scaninb ({16{1'b0}}),
.scanouta (),
.scanoutb (),
.shift_right (1'b0),
.signa (1'b0),
.signb (1'b0),
.sourcea ({2{1'b0}}),
.sourceb ({2{1'b0}}),
.zero_chainout (1'b0),
.zero_loopback (1'b0));
defparam
ALTMULT_ADD_component.addnsub_multiplier_aclr1 = "UNUSED",
ALTMULT_ADD_component.addnsub_multiplier_pipeline_aclr1 = "UNUSED",
ALTMULT_ADD_component.addnsub_multiplier_pipeline_register1 = "CLOCK0",
ALTMULT_ADD_component.addnsub_multiplier_register1 = "CLOCK0",
ALTMULT_ADD_component.dedicated_multiplier_circuitry = "YES",
ALTMULT_ADD_component.input_register_a0 = "UNREGISTERED",
ALTMULT_ADD_component.input_register_a1 = "UNREGISTERED",
ALTMULT_ADD_component.input_register_b0 = "UNREGISTERED",
ALTMULT_ADD_component.input_register_b1 = "UNREGISTERED",
ALTMULT_ADD_component.input_source_a0 = "DATAA",
ALTMULT_ADD_component.input_source_a1 = "DATAA",
ALTMULT_ADD_component.input_source_b0 = "DATAB",
ALTMULT_ADD_component.input_source_b1 = "DATAB",
ALTMULT_ADD_component.intended_device_family = "Stratix II",
ALTMULT_ADD_component.lpm_type = "altmult_add",
ALTMULT_ADD_component.multiplier1_direction = "SUB",
ALTMULT_ADD_component.multiplier_aclr0 = "UNUSED",
ALTMULT_ADD_component.multiplier_aclr1 = "UNUSED",
ALTMULT_ADD_component.multiplier_register0 = "CLOCK0",
ALTMULT_ADD_component.multiplier_register1 = "CLOCK0",
ALTMULT_ADD_component.number_of_multipliers = 2,
ALTMULT_ADD_component.output_register = "UNREGISTERED",
ALTMULT_ADD_component.port_addnsub1 = "PORT_UNUSED",
ALTMULT_ADD_component.port_signa = "PORT_UNUSED",
ALTMULT_ADD_component.port_signb = "PORT_UNUSED",
ALTMULT_ADD_component.representation_a = "SIGNED",
ALTMULT_ADD_component.representation_b = "SIGNED",
ALTMULT_ADD_component.signed_aclr_a = "UNUSED",
ALTMULT_ADD_component.signed_aclr_b = "UNUSED",
ALTMULT_ADD_component.signed_pipeline_aclr_a = "UNUSED",
ALTMULT_ADD_component.signed_pipeline_aclr_b = "UNUSED",
ALTMULT_ADD_component.signed_pipeline_register_a = "CLOCK0",
ALTMULT_ADD_component.signed_pipeline_register_b = "CLOCK0",
ALTMULT_ADD_component.signed_register_a = "CLOCK0",
ALTMULT_ADD_component.signed_register_b = "CLOCK0",
ALTMULT_ADD_component.width_a = 16,
ALTMULT_ADD_component.width_b = 16,
ALTMULT_ADD_component.width_result = 33;
endmodule
// ============================================================
// CNX file retrieval info
// ============================================================
// Retrieval info: PRIVATE: ADDER1_ROUND_ACLR_SRC NUMERIC "3"
// Retrieval info: PRIVATE: ADDER1_ROUND_CLK_SRC NUMERIC "0"
// Retrieval info: PRIVATE: ADDER1_ROUND_OP STRING "Enabled"
// Retrieval info: PRIVATE: ADDER1_ROUND_PIPE_ACLR_SRC NUMERIC "3"
// Retrieval info: PRIVATE: ADDER1_ROUND_PIPE_CLK_SRC NUMERIC "0"
// Retrieval info: PRIVATE: ADDER1_ROUND_PIPE_REG STRING "1"
// Retrieval info: PRIVATE: ADDER1_ROUND_REG STRING "0"
// Retrieval info: PRIVATE: ADDER1_SAT_ACLR_SRC NUMERIC "3"
// Retrieval info: PRIVATE: ADDER1_SAT_CLK_SRC NUMERIC "0"
// Retrieval info: PRIVATE: ADDER1_SAT_OP STRING "Enabled"
// Retrieval info: PRIVATE: ADDER1_SAT_OVERFLOW_OUT NUMERIC "0"
// Retrieval info: PRIVATE: ADDER1_SAT_PIPE_ACLR_SRC NUMERIC "3"
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -