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

📄 mcu.map.eqn

📁 本程序为Verilog扫描键盘成,然后送给51单片机处理的程序.
💻 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.
--key1 is key1
--operation mode is input

key1 = INPUT();


--key2 is key2
--operation mode is input

key2 = INPUT();


--P10[0] is P10[0]
--operation mode is input

P10[0] = INPUT();


--P10[1] is P10[1]
--operation mode is input

P10[1] = INPUT();


--P10[2] is P10[2]
--operation mode is input

P10[2] = INPUT();


--P10[3] is P10[3]
--operation mode is input

P10[3] = INPUT();


--P10[4] is P10[4]
--operation mode is input

P10[4] = INPUT();


--P10[5] is P10[5]
--operation mode is input

P10[5] = INPUT();


--P10[6] is P10[6]
--operation mode is input

P10[6] = INPUT();


--P10[7] is P10[7]
--operation mode is input

P10[7] = INPUT();


--mcu_rd is mcu_rd
--operation mode is output

mcu_rd = OUTPUT(key1);


--mcu_wr is mcu_wr
--operation mode is output

mcu_wr = OUTPUT(key2);


--led[0] is led[0]
--operation mode is output

led[0] = OUTPUT(P10[0]);


--led[1] is led[1]
--operation mode is output

led[1] = OUTPUT(P10[1]);


--led[2] is led[2]
--operation mode is output

led[2] = OUTPUT(P10[2]);


--led[3] is led[3]
--operation mode is output

led[3] = OUTPUT(P10[3]);


--led[4] is led[4]
--operation mode is output

led[4] = OUTPUT(P10[4]);


--led[5] is led[5]
--operation mode is output

led[5] = OUTPUT(P10[5]);


--led[6] is led[6]
--operation mode is output

led[6] = OUTPUT(P10[6]);


--led[7] is led[7]
--operation mode is output

led[7] = OUTPUT(P10[7]);


⌨️ 快捷键说明

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