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

📄 test.fit.eqn

📁 switch code,for thinx cpld
💻 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.
--sw1[7] is sw1[7] at PIN_41
--operation mode is input

sw1[7] = INPUT();


--sw1[6] is sw1[6] at PIN_40
--operation mode is input

sw1[6] = INPUT();


--sw1[5] is sw1[5] at PIN_39
--operation mode is input

sw1[5] = INPUT();


--sw1[4] is sw1[4] at PIN_38
--operation mode is input

sw1[4] = INPUT();


--sw1[3] is sw1[3] at PIN_37
--operation mode is input

sw1[3] = INPUT();


--sw1[2] is sw1[2] at PIN_32
--operation mode is input

sw1[2] = INPUT();


--sw1[1] is sw1[1] at PIN_31
--operation mode is input

sw1[1] = INPUT();


--sw1[0] is sw1[0] at PIN_30
--operation mode is input

sw1[0] = INPUT();


--led1[7] is led1[7] at PIN_122
--operation mode is output

led1[7] = OUTPUT(sw1[7]);


--led1[6] is led1[6] at PIN_123
--operation mode is output

led1[6] = OUTPUT(sw1[6]);


--led1[5] is led1[5] at PIN_124
--operation mode is output

led1[5] = OUTPUT(sw1[5]);


--led1[4] is led1[4] at PIN_125
--operation mode is output

led1[4] = OUTPUT(sw1[4]);


--led1[3] is led1[3] at PIN_127
--operation mode is output

led1[3] = OUTPUT(sw1[3]);


--led1[2] is led1[2] at PIN_129
--operation mode is output

led1[2] = OUTPUT(sw1[2]);


--led1[1] is led1[1] at PIN_130
--operation mode is output

led1[1] = OUTPUT(sw1[1]);


--led1[0] is led1[0] at PIN_131
--operation mode is output

led1[0] = OUTPUT(sw1[0]);


⌨️ 快捷键说明

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