📄 decoder3to8.map.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
--operation mode is normal
A1L41 = reset & !din[0] & !din[1] & !din[2];
--A1L51 is dout~98
--operation mode is normal
A1L51 = reset & din[0] & !din[1] & !din[2];
--A1L61 is dout~99
--operation mode is normal
A1L61 = reset & din[1] & !din[0] & !din[2];
--A1L71 is dout~100
--operation mode is normal
A1L71 = reset & din[0] & din[1] & !din[2];
--A1L81 is dout~101
--operation mode is normal
A1L81 = reset & din[2] & !din[0] & !din[1];
--A1L91 is dout~102
--operation mode is normal
A1L91 = reset & din[0] & din[2] & !din[1];
--A1L02 is dout~103
--operation mode is normal
A1L02 = reset & din[1] & din[2] & !din[0];
--A1L12 is dout~104
--operation mode is normal
A1L12 = reset & din[0] & din[1] & din[2];
--reset is reset
--operation mode is input
reset = INPUT();
--din[0] is din[0]
--operation mode is input
din[0] = INPUT();
--din[1] is din[1]
--operation mode is input
din[1] = INPUT();
--din[2] is din[2]
--operation mode is input
din[2] = INPUT();
--dout[0] is dout[0]
--operation mode is output
dout[0] = OUTPUT(A1L41);
--dout[1] is dout[1]
--operation mode is output
dout[1] = OUTPUT(A1L51);
--dout[2] is dout[2]
--operation mode is output
dout[2] = OUTPUT(A1L61);
--dout[3] is dout[3]
--operation mode is output
dout[3] = OUTPUT(A1L71);
--dout[4] is dout[4]
--operation mode is output
dout[4] = OUTPUT(A1L81);
--dout[5] is dout[5]
--operation mode is output
dout[5] = OUTPUT(A1L91);
--dout[6] is dout[6]
--operation mode is output
dout[6] = OUTPUT(A1L02);
--dout[7] is dout[7]
--operation mode is output
dout[7] = OUTPUT(A1L12);
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -