📄 ir.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.
--clkfast is clkfast
--operation mode is input
clkfast = INPUT();
--IRInput is IRInput
--operation mode is input
IRInput = INPUT();
--LED[0] is LED[0]
--operation mode is output
LED[0] = OUTPUT(!IRInput);
--LED[1] is LED[1]
--operation mode is output
LED[1] = OUTPUT(GND);
--LED[2] is LED[2]
--operation mode is output
LED[2] = OUTPUT(GND);
--LED[3] is LED[3]
--operation mode is output
LED[3] = OUTPUT(GND);
--LED[4] is LED[4]
--operation mode is output
LED[4] = OUTPUT(GND);
--LED[5] is LED[5]
--operation mode is output
LED[5] = OUTPUT(GND);
--LED[6] is LED[6]
--operation mode is output
LED[6] = OUTPUT(GND);
--LED[7] is LED[7]
--operation mode is output
LED[7] = OUTPUT(GND);
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -