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

📄 gei_lei.fit.eqn

📁 格雷编码 格雷编码用VHDL编写
💻 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.
--A1L4 is Mux~20 at LC_X1_Y24_N5
--operation mode is normal

A1L4 = c3 $ c2;


--A1L5 is Mux~21 at LC_X1_Y24_N2
--operation mode is normal

A1L5 = c1 $ c2;


--c2 is c2 at PIN_3
--operation mode is input

c2 = INPUT();


--c3 is c3 at PIN_4
--operation mode is input

c3 = INPUT();


--c1 is c1 at PIN_2
--operation mode is input

c1 = INPUT();


--y[0] is y[0] at PIN_6
--operation mode is bidir

y[0]_tri_out = TRI(A1L4, VCC);
y[0] = BIDIR(y[0]_tri_out);


--y[1] is y[1] at PIN_7
--operation mode is bidir

y[1]_tri_out = TRI(A1L5, VCC);
y[1] = BIDIR(y[1]_tri_out);


--y[2] is y[2] at PIN_8
--operation mode is bidir

y[2]_tri_out = TRI(c1, VCC);
y[2] = BIDIR(y[2]_tri_out);




⌨️ 快捷键说明

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