📄 mux_kib.tdf
字号:
--lpm_mux CBX_DECLARE_ALL_CONNECTED_PORTS="OFF" DEVICE_FAMILY="Cyclone II" LPM_SIZE=8 LPM_WIDTH=3 LPM_WIDTHS=3 data result sel
--VERSION_BEGIN 5.1 cbx_lpm_mux 2005:04:28:09:25:00:SJ cbx_mgl 2005:10:09:07:39:04: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.
--synthesis_resources = lut 15
SUBDESIGN mux_kib
(
data[23..0] : input;
result[2..0] : output;
sel[2..0] : input;
)
VARIABLE
result_node[2..0] : WIRE;
sel_ffs_wire[2..0] : WIRE;
sel_node[2..0] : WIRE;
w_data463w[7..0] : WIRE;
w_data485w[3..0] : WIRE;
w_data486w[3..0] : WIRE;
w_data534w[7..0] : WIRE;
w_data556w[3..0] : WIRE;
w_data557w[3..0] : WIRE;
w_data603w[7..0] : WIRE;
w_data625w[3..0] : WIRE;
w_data626w[3..0] : WIRE;
w_result483w : WIRE;
w_result484w : WIRE;
w_result491w : WIRE;
w_result512w : WIRE;
w_result554w : WIRE;
w_result555w : WIRE;
w_result562w : WIRE;
w_result583w : WIRE;
w_result623w : WIRE;
w_result624w : WIRE;
w_result631w : WIRE;
w_result652w : WIRE;
w_sel487w[1..0] : WIRE;
w_sel558w[1..0] : WIRE;
w_sel627w[1..0] : WIRE;
BEGIN
result[] = result_node[];
result_node[] = ( ((sel_node[2..2] & w_result624w) # ((! sel_node[2..2]) & w_result623w)), ((sel_node[2..2] & w_result555w) # ((! sel_node[2..2]) & w_result554w)), ((sel_node[2..2] & w_result484w) # ((! sel_node[2..2]) & w_result483w)));
sel_ffs_wire[] = ( sel[2..0]);
sel_node[] = ( sel_ffs_wire[2..2], sel[1..0]);
w_data463w[] = ( data[21..21], data[18..18], data[15..15], data[12..12], data[9..9], data[6..6], data[3..3], data[0..0]);
w_data485w[3..0] = w_data463w[3..0];
w_data486w[3..0] = w_data463w[7..4];
w_data534w[] = ( data[22..22], data[19..19], data[16..16], data[13..13], data[10..10], data[7..7], data[4..4], data[1..1]);
w_data556w[3..0] = w_data534w[3..0];
w_data557w[3..0] = w_data534w[7..4];
w_data603w[] = ( data[23..23], data[20..20], data[17..17], data[14..14], data[11..11], data[8..8], data[5..5], data[2..2]);
w_data625w[3..0] = w_data603w[3..0];
w_data626w[3..0] = w_data603w[7..4];
w_result483w = (((w_data485w[1..1] & w_sel487w[0..0]) & (! w_result491w)) # (w_result491w & (w_data485w[3..3] # (! w_sel487w[0..0]))));
w_result484w = (((w_data486w[1..1] & w_sel487w[0..0]) & (! w_result512w)) # (w_result512w & (w_data486w[3..3] # (! w_sel487w[0..0]))));
w_result491w = (((w_data485w[0..0] & (! w_sel487w[1..1])) & (! w_sel487w[0..0])) # (w_sel487w[1..1] & (w_sel487w[0..0] # w_data485w[2..2])));
w_result512w = (((w_data486w[0..0] & (! w_sel487w[1..1])) & (! w_sel487w[0..0])) # (w_sel487w[1..1] & (w_sel487w[0..0] # w_data486w[2..2])));
w_result554w = (((w_data556w[1..1] & w_sel558w[0..0]) & (! w_result562w)) # (w_result562w & (w_data556w[3..3] # (! w_sel558w[0..0]))));
w_result555w = (((w_data557w[1..1] & w_sel558w[0..0]) & (! w_result583w)) # (w_result583w & (w_data557w[3..3] # (! w_sel558w[0..0]))));
w_result562w = (((w_data556w[0..0] & (! w_sel558w[1..1])) & (! w_sel558w[0..0])) # (w_sel558w[1..1] & (w_sel558w[0..0] # w_data556w[2..2])));
w_result583w = (((w_data557w[0..0] & (! w_sel558w[1..1])) & (! w_sel558w[0..0])) # (w_sel558w[1..1] & (w_sel558w[0..0] # w_data557w[2..2])));
w_result623w = (((w_data625w[1..1] & w_sel627w[0..0]) & (! w_result631w)) # (w_result631w & (w_data625w[3..3] # (! w_sel627w[0..0]))));
w_result624w = (((w_data626w[1..1] & w_sel627w[0..0]) & (! w_result652w)) # (w_result652w & (w_data626w[3..3] # (! w_sel627w[0..0]))));
w_result631w = (((w_data625w[0..0] & (! w_sel627w[1..1])) & (! w_sel627w[0..0])) # (w_sel627w[1..1] & (w_sel627w[0..0] # w_data625w[2..2])));
w_result652w = (((w_data626w[0..0] & (! w_sel627w[1..1])) & (! w_sel627w[0..0])) # (w_sel627w[1..1] & (w_sel627w[0..0] # w_data626w[2..2])));
w_sel487w[1..0] = sel_node[1..0];
w_sel558w[1..0] = sel_node[1..0];
w_sel627w[1..0] = sel_node[1..0];
END;
--VALID FILE
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -