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

📄 mux.map.eqn

📁 FPGA开发板配套Verilog HDL代码。芯片为Mars EP1C6F。是基础实验的源码。包括加法器、减法器、乘法器、多路选择器等。
💻 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.
--A1L21 is d_tmp[0]~36
--operation mode is normal

A1L21 = a & b[0] # !a & (c[0]);


--A1L22 is d_tmp[1]~37
--operation mode is normal

A1L22 = a & b[1] # !a & (c[1]);


--A1L23 is d_tmp[2]~38
--operation mode is normal

A1L23 = a & b[2] # !a & (c[2]);


--A1L24 is d_tmp[3]~39
--operation mode is normal

A1L24 = a & b[3] # !a & (c[3]);


--A1L34 is reduce_or~35
--operation mode is normal

A1L34 = A1L21 & (A1L24 # A1L22 $ A1L23) # !A1L21 & (A1L22 # A1L23 $ A1L24);


--A1L35 is reduce_or~36
--operation mode is normal

A1L35 = A1L21 & (A1L24 $ (A1L22 # !A1L23)) # !A1L21 & A1L22 & !A1L23 & !A1L24;


--A1L36 is reduce_or~37
--operation mode is normal

A1L36 = A1L22 & A1L21 & (!A1L24) # !A1L22 & (A1L23 & (!A1L24) # !A1L23 & A1L21);


--A1L37 is reduce_or~38
--operation mode is normal

A1L37 = A1L21 & (A1L22 $ !A1L23) # !A1L21 & (A1L22 & !A1L23 & A1L24 # !A1L22 & A1L23 & !A1L24);


--A1L38 is reduce_or~39
--operation mode is normal

A1L38 = A1L23 & A1L24 & (A1L22 # !A1L21) # !A1L23 & !A1L21 & A1L22 & !A1L24;


--A1L39 is reduce_or~40
--operation mode is normal

A1L39 = A1L22 & (A1L21 & (A1L24) # !A1L21 & A1L23) # !A1L22 & A1L23 & (A1L21 $ A1L24);


--A1L40 is reduce_or~41
--operation mode is normal

A1L40 = A1L23 & !A1L22 & (A1L21 $ !A1L24) # !A1L23 & A1L21 & (A1L22 $ !A1L24);


--b[0] is b[0]
--operation mode is input

b[0] = INPUT();


--c[0] is c[0]
--operation mode is input

c[0] = INPUT();


--a is a
--operation mode is input

a = INPUT();


--b[1] is b[1]
--operation mode is input

b[1] = INPUT();


--c[1] is c[1]
--operation mode is input

c[1] = INPUT();


--b[2] is b[2]
--operation mode is input

b[2] = INPUT();


--c[2] is c[2]
--operation mode is input

c[2] = INPUT();


--b[3] is b[3]
--operation mode is input

b[3] = INPUT();


--c[3] is c[3]
--operation mode is input

c[3] = INPUT();


--d[0] is d[0]
--operation mode is output

d[0] = OUTPUT(VCC);


--d[1] is d[1]
--operation mode is output

d[1] = OUTPUT(!A1L34);


--d[2] is d[2]
--operation mode is output

d[2] = OUTPUT(A1L35);


--d[3] is d[3]
--operation mode is output

d[3] = OUTPUT(A1L36);


--d[4] is d[4]
--operation mode is output

d[4] = OUTPUT(A1L37);


--d[5] is d[5]
--operation mode is output

d[5] = OUTPUT(A1L38);


--d[6] is d[6]
--operation mode is output

d[6] = OUTPUT(A1L39);


--d[7] is d[7]
--operation mode is output

d[7] = OUTPUT(A1L40);


--en[0] is en[0]
--operation mode is output

en[0] = OUTPUT(GND);


--en[1] is en[1]
--operation mode is output

en[1] = OUTPUT(VCC);


--en[2] is en[2]
--operation mode is output

en[2] = OUTPUT(VCC);


--en[3] is en[3]
--operation mode is output

en[3] = OUTPUT(VCC);


--en[4] is en[4]
--operation mode is output

en[4] = OUTPUT(VCC);


--en[5] is en[5]
--operation mode is output

en[5] = OUTPUT(VCC);


--en[6] is en[6]
--operation mode is output

en[6] = OUTPUT(VCC);


--en[7] is en[7]
--operation mode is output

en[7] = OUTPUT(VCC);


⌨️ 快捷键说明

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