⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 multiplex.map.eqn

📁 复接程序,用quartus运行的,可以把很多个信号复接在一起,是程序的一部分!
💻 EQN
字号:
-- 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.
--count[1] is count[1]
--operation mode is normal

count[1]_lut_out = count[1] $ (count[0] & (!count[2] # !count[3]));
count[1] = DFFEAS(count[1]_lut_out, !clk, !rst, , , , , , );


--count[2] is count[2]
--operation mode is normal

count[2]_lut_out = count[2] & (count[3] # !count[0] # !count[1]) # !count[2] & (count[1] & count[0]);
count[2] = DFFEAS(count[2]_lut_out, !clk, !rst, , , , , , );


--A1L5 is X~315
--operation mode is normal

A1L5 = count[1] & (count[2] & X1p # !count[2] & (Xs)) # !count[1] & (Xs);


--count[0] is count[0]
--operation mode is normal

count[0]_lut_out = count[0] $ (!count[2] # !count[3]);
count[0] = DFFEAS(count[0]_lut_out, !clk, !rst, , , , , , );


--A1L6 is X~316
--operation mode is normal

A1L6 = count[1] & X2p # !count[1] & (count[0] & X2p # !count[0] & (X1p));


--count[3] is count[3]
--operation mode is normal

count[3]_lut_out = count[3] # count[1] & count[0] & count[2];
count[3] = DFFEAS(count[3]_lut_out, !clk, !rst, , , , , , );


--A1L7 is X~317
--operation mode is normal

A1L7 = count[3] & (A1L6 & !count[2]) # !count[3] & A1L5;


--X1p is X1p
--operation mode is input

X1p = INPUT();


--Xs is Xs
--operation mode is input

Xs = INPUT();


--X2p is X2p
--operation mode is input

X2p = INPUT();


--clk is clk
--operation mode is input

clk = INPUT();


--rst is rst
--operation mode is input

rst = INPUT();


--X is X
--operation mode is output

X = OUTPUT(A1L7);


⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -