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

📄 decoder3to8.fit.eqn

📁 3-8译码器地简单实现
💻 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.
--A1L41 is dout~97 at LC_X8_Y13_N6
--operation mode is normal

A1L41 = !din[0] & !din[1] & reset & !din[2];


--A1L51 is dout~98 at LC_X8_Y13_N9
--operation mode is normal

A1L51 = din[0] & !din[1] & reset & !din[2];


--A1L61 is dout~99 at LC_X8_Y13_N4
--operation mode is normal

A1L61 = !din[0] & din[1] & reset & !din[2];


--A1L71 is dout~100 at LC_X8_Y13_N7
--operation mode is normal

A1L71 = din[0] & din[1] & reset & !din[2];


--A1L81 is dout~101 at LC_X8_Y13_N3
--operation mode is normal

A1L81 = !din[0] & !din[1] & reset & din[2];


--A1L91 is dout~102 at LC_X8_Y13_N5
--operation mode is normal

A1L91 = din[0] & !din[1] & reset & din[2];


--A1L02 is dout~103 at LC_X8_Y13_N2
--operation mode is normal

A1L02 = !din[0] & din[1] & reset & din[2];


--A1L12 is dout~104 at LC_X8_Y13_N8
--operation mode is normal

A1L12 = din[0] & din[1] & reset & din[2];


--reset is reset at PIN_128
--operation mode is input

reset = INPUT();


--din[0] is din[0] at PIN_139
--operation mode is input

din[0] = INPUT();


--din[1] is din[1] at PIN_133
--operation mode is input

din[1] = INPUT();


--din[2] is din[2] at PIN_16
--operation mode is input

din[2] = INPUT();


--dout[0] is dout[0] at PIN_129
--operation mode is output

dout[0] = OUTPUT(A1L41);


--dout[1] is dout[1] at PIN_134
--operation mode is output

dout[1] = OUTPUT(A1L51);


--dout[2] is dout[2] at PIN_131
--operation mode is output

dout[2] = OUTPUT(A1L61);


--dout[3] is dout[3] at PIN_130
--operation mode is output

dout[3] = OUTPUT(A1L71);


--dout[4] is dout[4] at PIN_127
--operation mode is output

dout[4] = OUTPUT(A1L81);


--dout[5] is dout[5] at PIN_141
--operation mode is output

dout[5] = OUTPUT(A1L91);


--dout[6] is dout[6] at PIN_140
--operation mode is output

dout[6] = OUTPUT(A1L02);


--dout[7] is dout[7] at PIN_132
--operation mode is output

dout[7] = OUTPUT(A1L12);




⌨️ 快捷键说明

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