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

📄 counter60.map.eqn

📁 这是我们做的一个作业 摸60计数器
💻 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.
--B1_33 is 74390:inst|33
--operation mode is normal

B1_33_lut_out = !B1_33;
B1_33 = DFFEAS(B1_33_lut_out, B1_29, !inst7, , , , , , );


--B1_32 is 74390:inst|32
--operation mode is normal

B1_32_lut_out = !B1_32;
B1_32 = DFFEAS(B1_32_lut_out, !B1_33, !inst7, , , , , , );


--B1_31 is 74390:inst|31
--operation mode is normal

B1_31_lut_out = A1L5;
B1_31 = DFFEAS(B1_31_lut_out, !B1_34, !inst7, , , , , , );


--A1L5 is inst7~42
--operation mode is normal

A1L5 = B1_33 & B1_32 & (!B1_31);


--B1_5 is 74390:inst|5
--operation mode is normal

B1_5_lut_out = !B1_5;
B1_5 = DFFEAS(B1_5_lut_out, !B1_6, !inst7, , , , , , );


--B1_6 is 74390:inst|6
--operation mode is normal

B1_6_lut_out = !B1_6;
B1_6 = DFFEAS(B1_6_lut_out, B1_20, !inst7, , , , , , );


--B1_3 is 74390:inst|3
--operation mode is normal

B1_3_lut_out = B1_5 & B1_6 & (!B1_3);
B1_3 = DFFEAS(B1_3_lut_out, !B1_7, !inst7, , , , , , );


--B1_7 is 74390:inst|7
--operation mode is normal

B1_7_lut_out = !B1_7;
B1_7 = DFFEAS(B1_7_lut_out, !clk, !inst7, , , , , , );


--A1L6 is inst7~43
--operation mode is normal

A1L6 = !B1_5 & !B1_6 & !B1_3 & !B1_7;


--B1_34 is 74390:inst|34
--operation mode is normal

B1_34_lut_out = !B1_34;
B1_34 = DFFEAS(B1_34_lut_out, A1L3, !inst7, , , , , , );


--inst7 is inst7
--operation mode is normal

inst7 = A1L5 & A1L6 & (!B1_34);


--B1_29 is 74390:inst|29
--operation mode is normal

B1_29 = B1_31 # !B1_34;


--B1_20 is 74390:inst|20
--operation mode is normal

B1_20 = B1_3 # !B1_7;


--A1L3 is inst2~19
--operation mode is normal

A1L3 = B1_5 # B1_6 # !B1_7 # !B1_3;


--clk is clk
--operation mode is input

clk = INPUT();


--cout is cout
--operation mode is output

cout = OUTPUT(inst7);


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

q2[3] = OUTPUT(B1_31);


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

q2[2] = OUTPUT(B1_32);


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

q2[1] = OUTPUT(B1_33);


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

q2[0] = OUTPUT(B1_34);


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

q1[3] = OUTPUT(B1_3);


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

q1[2] = OUTPUT(B1_5);


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

q1[1] = OUTPUT(B1_6);


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

q1[0] = OUTPUT(B1_7);


⌨️ 快捷键说明

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