?? mux4.tdf
字號:
-- megafunction wizard: %LPM_MUX%
-- GENERATION: STANDARD
-- VERSION: WM1.0
-- MODULE: lpm_mux
-- ============================================================
-- File Name: mux4.tdf
-- Megafunction Name(s):
-- lpm_mux
-- ============================================================
-- ************************************************************
-- THIS IS A WIZARD-GENERATED FILE. DO NOT EDIT THIS FILE!
--
-- 6.0 Build 178 04/27/2006 SJ Full Version
-- ************************************************************
--Copyright (C) 1991-2006 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.
INCLUDE "lpm_mux.inc";
SUBDESIGN mux4
(
data0x[11..0] : INPUT;
data1x[11..0] : INPUT;
data2x[11..0] : INPUT;
data3x[11..0] : INPUT;
sel[1..0] : INPUT;
result[11..0] : OUTPUT;
)
VARIABLE
lpm_mux_component : lpm_mux WITH (
LPM_SIZE = 4,
LPM_TYPE = "LPM_MUX",
LPM_WIDTH = 12,
LPM_WIDTHS = 2
);
BEGIN
result[11..0] = lpm_mux_component.result[11..0];
lpm_mux_component.sel[1..0] = sel[1..0];
lpm_mux_component.data[3..3][11..0] = data3x[11..0];
lpm_mux_component.data[2..2][11..0] = data2x[11..0];
lpm_mux_component.data[1..1][11..0] = data1x[11..0];
lpm_mux_component.data[0..0][11..0] = data0x[11..0];
END;
-- ============================================================
-- CNX file retrieval info
-- ============================================================
-- Retrieval info: CONSTANT: LPM_SIZE NUMERIC "4"
-- Retrieval info: CONSTANT: LPM_TYPE STRING "LPM_MUX"
-- Retrieval info: CONSTANT: LPM_WIDTH NUMERIC "12"
-- Retrieval info: CONSTANT: LPM_WIDTHS NUMERIC "2"
-- Retrieval info: USED_PORT: data0x 0 0 12 0 INPUT NODEFVAL data0x[11..0]
-- Retrieval info: USED_PORT: data1x 0 0 12 0 INPUT NODEFVAL data1x[11..0]
-- Retrieval info: USED_PORT: data2x 0 0 12 0 INPUT NODEFVAL data2x[11..0]
-- Retrieval info: USED_PORT: data3x 0 0 12 0 INPUT NODEFVAL data3x[11..0]
-- Retrieval info: USED_PORT: result 0 0 12 0 OUTPUT NODEFVAL result[11..0]
-- Retrieval info: USED_PORT: sel 0 0 2 0 INPUT NODEFVAL sel[1..0]
-- Retrieval info: CONNECT: result 0 0 12 0 @result 0 0 12 0
-- Retrieval info: CONNECT: @data 1 3 12 0 data3x 0 0 12 0
-- Retrieval info: CONNECT: @data 1 2 12 0 data2x 0 0 12 0
-- Retrieval info: CONNECT: @data 1 1 12 0 data1x 0 0 12 0
-- Retrieval info: CONNECT: @data 1 0 12 0 data0x 0 0 12 0
-- Retrieval info: CONNECT: @sel 0 0 2 0 sel 0 0 2 0
-- Retrieval info: LIBRARY: lpm lpm.lpm_components.all
-- Retrieval info: GEN_FILE: TYPE_NORMAL mux4.tdf TRUE
-- Retrieval info: GEN_FILE: TYPE_NORMAL mux4.inc TRUE
-- Retrieval info: GEN_FILE: TYPE_NORMAL mux4.cmp FALSE
-- Retrieval info: GEN_FILE: TYPE_NORMAL mux4.bsf TRUE FALSE
-- Retrieval info: GEN_FILE: TYPE_NORMAL mux4_inst.tdf FALSE
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -