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

📄 time_lock.map.eqn

📁 软件开发环境:ISE 7.1i 仿真环境:ModelSim SE 6.0 1. 闹钟设计
💻 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.
--lock_time0[0] is lock_time0[0]
--operation mode is normal

lock_time0[0]_lut_out = s1[0];
lock_time0[0] = DFFEAS(lock_time0[0]_lut_out, keydown, VCC, , !reset, , , , );


--lock_time0[1] is lock_time0[1]
--operation mode is normal

lock_time0[1]_lut_out = s1[1];
lock_time0[1] = DFFEAS(lock_time0[1]_lut_out, keydown, VCC, , !reset, , , , );


--lock_time0[2] is lock_time0[2]
--operation mode is normal

lock_time0[2]_lut_out = s1[2];
lock_time0[2] = DFFEAS(lock_time0[2]_lut_out, keydown, VCC, , !reset, , , , );


--lock_time0[3] is lock_time0[3]
--operation mode is normal

lock_time0[3]_lut_out = s1[3];
lock_time0[3] = DFFEAS(lock_time0[3]_lut_out, keydown, VCC, , !reset, , , , );


--lock_time0[4] is lock_time0[4]
--operation mode is normal

lock_time0[4]_lut_out = lock_time0[0];
lock_time0[4] = DFFEAS(lock_time0[4]_lut_out, keydown, VCC, , !reset, , , , );


--lock_time0[5] is lock_time0[5]
--operation mode is normal

lock_time0[5]_lut_out = lock_time0[1];
lock_time0[5] = DFFEAS(lock_time0[5]_lut_out, keydown, VCC, , !reset, , , , );


--lock_time0[6] is lock_time0[6]
--operation mode is normal

lock_time0[6]_lut_out = lock_time0[2];
lock_time0[6] = DFFEAS(lock_time0[6]_lut_out, keydown, VCC, , !reset, , , , );


--lock_time0[7] is lock_time0[7]
--operation mode is normal

lock_time0[7]_lut_out = lock_time0[3];
lock_time0[7] = DFFEAS(lock_time0[7]_lut_out, keydown, VCC, , !reset, , , , );


--lock_time0[8] is lock_time0[8]
--operation mode is normal

lock_time0[8]_lut_out = lock_time0[4];
lock_time0[8] = DFFEAS(lock_time0[8]_lut_out, keydown, VCC, , !reset, , , , );


--lock_time0[9] is lock_time0[9]
--operation mode is normal

lock_time0[9]_lut_out = lock_time0[5];
lock_time0[9] = DFFEAS(lock_time0[9]_lut_out, keydown, VCC, , !reset, , , , );


--lock_time0[10] is lock_time0[10]
--operation mode is normal

lock_time0[10]_lut_out = lock_time0[6];
lock_time0[10] = DFFEAS(lock_time0[10]_lut_out, keydown, VCC, , !reset, , , , );


--lock_time0[11] is lock_time0[11]
--operation mode is normal

lock_time0[11]_lut_out = lock_time0[7];
lock_time0[11] = DFFEAS(lock_time0[11]_lut_out, keydown, VCC, , !reset, , , , );


--lock_time0[12] is lock_time0[12]
--operation mode is normal

lock_time0[12]_lut_out = lock_time0[8];
lock_time0[12] = DFFEAS(lock_time0[12]_lut_out, keydown, VCC, , !reset, , , , );


--lock_time0[13] is lock_time0[13]
--operation mode is normal

lock_time0[13]_lut_out = lock_time0[9];
lock_time0[13] = DFFEAS(lock_time0[13]_lut_out, keydown, VCC, , !reset, , , , );


--lock_time0[14] is lock_time0[14]
--operation mode is normal

lock_time0[14]_lut_out = lock_time0[10];
lock_time0[14] = DFFEAS(lock_time0[14]_lut_out, keydown, VCC, , !reset, , , , );


--lock_time0[15] is lock_time0[15]
--operation mode is normal

lock_time0[15]_lut_out = lock_time0[11];
lock_time0[15] = DFFEAS(lock_time0[15]_lut_out, keydown, VCC, , !reset, , , , );


--A1L06 is reduce_or~1364
--operation mode is normal

A1L06 = !key[8] & !key[0] & !key[7] & !key[6];


--A1L16 is reduce_or~1365
--operation mode is normal

A1L16 = key[5] & !key[1] & !key[9] & !key[3] # !key[5] & (key[1] & !key[9] & !key[3] # !key[1] & (key[9] $ key[3]));


--A1L26 is reduce_or~1366
--operation mode is normal

A1L26 = A1L06 & A1L16 & !key[2] & !key[4];


--A1L94 is reduce_nor~1615
--operation mode is normal

A1L94 = !key[0] & !key[3] & !key[1] & !key[2];


--A1L05 is reduce_nor~1616
--operation mode is normal

A1L05 = !key[4] & !key[5];


--A1L15 is reduce_nor~1617
--operation mode is normal

A1L15 = A1L94 & A1L05 & !key[9] & !key[8];


--A1L36 is reduce_or~1367
--operation mode is normal

A1L36 = A1L26 # A1L15 & key[7] & !key[6];


--A1L25 is reduce_nor~1618
--operation mode is normal

A1L25 = key[0] & !key[1] & !key[2] & !key[3] # !key[0] & (key[1] & !key[2] & !key[3] # !key[1] & (key[2] $ key[3]));


--A1L35 is reduce_nor~1619
--operation mode is normal

A1L35 = key[4] & (!key[5] & A1L94) # !key[4] & (key[5] & (A1L94) # !key[5] & A1L25);


--A1L45 is reduce_nor~1620
--operation mode is normal

A1L45 = key[7] & !key[6] & (A1L85) # !key[7] & (key[6] & (A1L85) # !key[6] & A1L35);


--A1L55 is reduce_nor~1621
--operation mode is normal

A1L55 = !key[7] & !key[6];


--A1L65 is reduce_nor~1622
--operation mode is normal

A1L65 = key[9] & (!key[8] & A1L95) # !key[9] & (key[8] & (A1L95) # !key[8] & A1L45);


--s1[0] is s1[0]
--operation mode is normal

s1[0] = A1L65 & A1L36 # !A1L65 & (s1[0]);


--A1L46 is reduce_or~1368
--operation mode is normal

A1L46 = A1L05 & !key[1] & (key[3] $ key[2]);


--A1L56 is reduce_or~1369
--operation mode is normal

A1L56 = key[7] $ !key[6] # !A1L15;


--A1L66 is reduce_or~1370
--operation mode is normal

A1L66 = A1L06 & A1L46 & !key[9] # !A1L56;


--s1[1] is s1[1]
--operation mode is normal

s1[1] = A1L65 & A1L66 # !A1L65 & (s1[1]);


--A1L76 is reduce_or~1371
--operation mode is normal

A1L76 = !key[3] & !key[1] & !key[2];


--A1L86 is reduce_or~1372
--operation mode is normal

A1L86 = A1L76 & (key[4] $ key[5]);


--A1L96 is reduce_or~1373
--operation mode is normal

A1L96 = A1L06 & A1L86 & !key[9] # !A1L56;


--s1[2] is s1[2]
--operation mode is normal

s1[2] = A1L65 & A1L96 # !A1L65 & (s1[2]);


--A1L75 is reduce_nor~1623
--operation mode is normal

A1L75 = A1L76 & !key[0] & !key[4] & !key[5];


--A1L74 is reduce_nor~8
--operation mode is normal

A1L74 = key[8] & A1L75 & A1L55 & !key[9];


--A1L84 is reduce_nor~9
--operation mode is normal

A1L84 = key[9] & A1L75 & A1L55 & !key[8];


--s1[3] is s1[3]
--operation mode is normal

s1[3] = A1L65 & (A1L74 # A1L84) # !A1L65 & (s1[3]);


--A1L85 is reduce_nor~1624
--operation mode is normal

A1L85 = !key[4] & !key[5] & A1L94;


--A1L95 is reduce_nor~1625
--operation mode is normal

A1L95 = !key[7] & !key[6] & A1L85;


--keydown is keydown
--operation mode is input

keydown = INPUT();


--reset is reset
--operation mode is input

reset = INPUT();


--key[8] is key[8]
--operation mode is input

key[8] = INPUT();


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

key[0] = INPUT();


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

key[7] = INPUT();


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

key[6] = INPUT();


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

key[5] = INPUT();


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

key[1] = INPUT();


--key[9] is key[9]
--operation mode is input

key[9] = INPUT();


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

key[3] = INPUT();


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

key[2] = INPUT();


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

key[4] = INPUT();


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

lock_time[0] = OUTPUT(lock_time0[0]);


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

lock_time[1] = OUTPUT(lock_time0[1]);


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

lock_time[2] = OUTPUT(lock_time0[2]);


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

lock_time[3] = OUTPUT(lock_time0[3]);


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

lock_time[4] = OUTPUT(lock_time0[4]);


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

lock_time[5] = OUTPUT(lock_time0[5]);


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

lock_time[6] = OUTPUT(lock_time0[6]);


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

lock_time[7] = OUTPUT(lock_time0[7]);


--lock_time[8] is lock_time[8]
--operation mode is output

lock_time[8] = OUTPUT(lock_time0[8]);


--lock_time[9] is lock_time[9]
--operation mode is output

lock_time[9] = OUTPUT(lock_time0[9]);


--lock_time[10] is lock_time[10]
--operation mode is output

lock_time[10] = OUTPUT(lock_time0[10]);


--lock_time[11] is lock_time[11]
--operation mode is output

lock_time[11] = OUTPUT(lock_time0[11]);


--lock_time[12] is lock_time[12]
--operation mode is output

lock_time[12] = OUTPUT(lock_time0[12]);


--lock_time[13] is lock_time[13]
--operation mode is output

lock_time[13] = OUTPUT(lock_time0[13]);


--lock_time[14] is lock_time[14]
--operation mode is output

lock_time[14] = OUTPUT(lock_time0[14]);


--lock_time[15] is lock_time[15]
--operation mode is output

lock_time[15] = OUTPUT(lock_time0[15]);


⌨️ 快捷键说明

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