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

📄 datecontrol.fit.eqn

📁 基于FPGA的多功能数字钟的设计与实现 内附有详尽的Verilog HDL源码
💻 EQN
字号:
--A1L67Q is month1[2]~reg0 at LC53
A1L67Q_p0_out = !EN1 & !EN2 & A1L67Q;
A1L67Q_p1_out = auto_month1[2] & Date_EN & EN1;
A1L67Q_p2_out = !Date_EN & set_month1[2] & EN2;
A1L67Q_p3_out = !Date_EN & !EN2 & A1L67Q;
A1L67Q_p4_out = !EN1 & set_month1[2] & EN2;
A1L67Q_or_out = A1L67Q_p0_out # A1L67Q_p1_out # A1L67Q_p2_out # A1L67Q_p3_out # A1L67Q_p4_out;
A1L67Q_reg_input = A1L67Q_or_out;
A1L67Q = DFFE(A1L67Q_reg_input, GLOBAL(clk), , , );


--A1L47Q is month1[1]~reg0 at LC11
A1L47Q_p0_out = !EN1 & !EN2 & A1L47Q;
A1L47Q_p1_out = auto_month1[1] & Date_EN & EN1;
A1L47Q_p2_out = !Date_EN & set_month1[1] & EN2;
A1L47Q_p3_out = !Date_EN & !EN2 & A1L47Q;
A1L47Q_p4_out = !EN1 & set_month1[1] & EN2;
A1L47Q_or_out = A1L47Q_p0_out # A1L47Q_p1_out # A1L47Q_p2_out # A1L47Q_p3_out # A1L47Q_p4_out;
A1L47Q_reg_input = A1L47Q_or_out;
A1L47Q = DFFE(A1L47Q_reg_input, GLOBAL(clk), , , );


--A1L27Q is month1[0]~reg0 at LC7
A1L27Q_p0_out = !EN1 & !EN2 & A1L27Q;
A1L27Q_p1_out = auto_month1[0] & Date_EN & EN1;
A1L27Q_p2_out = !Date_EN & set_month1[0] & EN2;
A1L27Q_p3_out = !Date_EN & !EN2 & A1L27Q;
A1L27Q_p4_out = !EN1 & set_month1[0] & EN2;
A1L27Q_or_out = A1L27Q_p0_out # A1L27Q_p1_out # A1L27Q_p2_out # A1L27Q_p3_out # A1L27Q_p4_out;
A1L27Q_reg_input = A1L27Q_or_out;
A1L27Q = DFFE(A1L27Q_reg_input, GLOBAL(clk), , , );


--A1L96Q is month0[3]~reg0 at LC9
A1L96Q_p0_out = !EN1 & !EN2 & A1L96Q;
A1L96Q_p1_out = auto_month0[3] & Date_EN & EN1;
A1L96Q_p2_out = !Date_EN & set_month0[3] & EN2;
A1L96Q_p3_out = !Date_EN & !EN2 & A1L96Q;
A1L96Q_p4_out = !EN1 & set_month0[3] & EN2;
A1L96Q_or_out = A1L96Q_p0_out # A1L96Q_p1_out # A1L96Q_p2_out # A1L96Q_p3_out # A1L96Q_p4_out;
A1L96Q_reg_input = A1L96Q_or_out;
A1L96Q = DFFE(A1L96Q_reg_input, GLOBAL(clk), , , );


--A1L76Q is month0[2]~reg0 at LC10
A1L76Q_p0_out = !EN1 & !EN2 & A1L76Q;
A1L76Q_p1_out = auto_month0[2] & Date_EN & EN1;
A1L76Q_p2_out = !Date_EN & set_month0[2] & EN2;
A1L76Q_p3_out = !Date_EN & !EN2 & A1L76Q;
A1L76Q_p4_out = !EN1 & set_month0[2] & EN2;
A1L76Q_or_out = A1L76Q_p0_out # A1L76Q_p1_out # A1L76Q_p2_out # A1L76Q_p3_out # A1L76Q_p4_out;
A1L76Q_reg_input = A1L76Q_or_out;
A1L76Q = DFFE(A1L76Q_reg_input, GLOBAL(clk), , , );


--A1L56Q is month0[1]~reg0 at LC12
A1L56Q_p0_out = !EN1 & !EN2 & A1L56Q;
A1L56Q_p1_out = auto_month0[1] & Date_EN & EN1;
A1L56Q_p2_out = !Date_EN & set_month0[1] & EN2;
A1L56Q_p3_out = !Date_EN & !EN2 & A1L56Q;
A1L56Q_p4_out = !EN1 & set_month0[1] & EN2;
A1L56Q_or_out = A1L56Q_p0_out # A1L56Q_p1_out # A1L56Q_p2_out # A1L56Q_p3_out # A1L56Q_p4_out;
A1L56Q_reg_input = A1L56Q_or_out;
A1L56Q = DFFE(A1L56Q_reg_input, GLOBAL(clk), , , );


--A1L36Q is month0[0]~reg0 at LC13
A1L36Q_p0_out = !EN1 & !EN2 & A1L36Q;
A1L36Q_p1_out = auto_month0[0] & Date_EN & EN1;
A1L36Q_p2_out = !Date_EN & set_month0[0] & EN2;
A1L36Q_p3_out = !Date_EN & !EN2 & A1L36Q;
A1L36Q_p4_out = !EN1 & set_month0[0] & EN2;
A1L36Q_or_out = A1L36Q_p0_out # A1L36Q_p1_out # A1L36Q_p2_out # A1L36Q_p3_out # A1L36Q_p4_out;
A1L36Q_reg_input = A1L36Q_or_out;
A1L36Q = DFFE(A1L36Q_reg_input, GLOBAL(clk), , , );


--A1L64Q is day1[3]~reg0 at LC14
A1L64Q_p0_out = !EN1 & !EN2 & A1L64Q;
A1L64Q_p1_out = auto_day1[3] & Date_EN & EN1;
A1L64Q_p2_out = !Date_EN & set_day1[3] & EN2;
A1L64Q_p3_out = !Date_EN & !EN2 & A1L64Q;
A1L64Q_p4_out = !EN1 & set_day1[3] & EN2;
A1L64Q_or_out = A1L64Q_p0_out # A1L64Q_p1_out # A1L64Q_p2_out # A1L64Q_p3_out # A1L64Q_p4_out;
A1L64Q_reg_input = A1L64Q_or_out;
A1L64Q = DFFE(A1L64Q_reg_input, GLOBAL(clk), , , );


--A1L44Q is day1[2]~reg0 at LC17
A1L44Q_p0_out = !EN1 & !EN2 & A1L44Q;
A1L44Q_p1_out = auto_day1[2] & Date_EN & EN1;
A1L44Q_p2_out = !Date_EN & set_day1[2] & EN2;
A1L44Q_p3_out = !Date_EN & !EN2 & A1L44Q;
A1L44Q_p4_out = !EN1 & set_day1[2] & EN2;
A1L44Q_or_out = A1L44Q_p0_out # A1L44Q_p1_out # A1L44Q_p2_out # A1L44Q_p3_out # A1L44Q_p4_out;
A1L44Q_reg_input = A1L44Q_or_out;
A1L44Q = DFFE(A1L44Q_reg_input, GLOBAL(clk), , , );


--A1L24Q is day1[1]~reg0 at LC20
A1L24Q_p0_out = !EN1 & !EN2 & A1L24Q;
A1L24Q_p1_out = auto_day1[1] & Date_EN & EN1;
A1L24Q_p2_out = !Date_EN & set_day1[1] & EN2;
A1L24Q_p3_out = !Date_EN & !EN2 & A1L24Q;
A1L24Q_p4_out = !EN1 & set_day1[1] & EN2;
A1L24Q_or_out = A1L24Q_p0_out # A1L24Q_p1_out # A1L24Q_p2_out # A1L24Q_p3_out # A1L24Q_p4_out;
A1L24Q_reg_input = A1L24Q_or_out;
A1L24Q = DFFE(A1L24Q_reg_input, GLOBAL(clk), , , );


--A1L04Q is day1[0]~reg0 at LC26
A1L04Q_p0_out = !EN1 & !EN2 & A1L04Q;
A1L04Q_p1_out = auto_day1[0] & Date_EN & EN1;
A1L04Q_p2_out = !Date_EN & set_day1[0] & EN2;
A1L04Q_p3_out = !Date_EN & !EN2 & A1L04Q;
A1L04Q_p4_out = !EN1 & set_day1[0] & EN2;
A1L04Q_or_out = A1L04Q_p0_out # A1L04Q_p1_out # A1L04Q_p2_out # A1L04Q_p3_out # A1L04Q_p4_out;
A1L04Q_reg_input = A1L04Q_or_out;
A1L04Q = DFFE(A1L04Q_reg_input, GLOBAL(clk), , , );


--A1L73Q is day0[3]~reg0 at LC22
A1L73Q_p0_out = !EN1 & !EN2 & A1L73Q;
A1L73Q_p1_out = auto_day0[3] & Date_EN & EN1;
A1L73Q_p2_out = !Date_EN & set_day0[3] & EN2;
A1L73Q_p3_out = !Date_EN & !EN2 & A1L73Q;
A1L73Q_p4_out = !EN1 & set_day0[3] & EN2;
A1L73Q_or_out = A1L73Q_p0_out # A1L73Q_p1_out # A1L73Q_p2_out # A1L73Q_p3_out # A1L73Q_p4_out;
A1L73Q_reg_input = A1L73Q_or_out;
A1L73Q = DFFE(A1L73Q_reg_input, GLOBAL(clk), , , );


--A1L53Q is day0[2]~reg0 at LC21
A1L53Q_p0_out = !EN1 & !EN2 & A1L53Q;
A1L53Q_p1_out = auto_day0[2] & Date_EN & EN1;
A1L53Q_p2_out = !Date_EN & set_day0[2] & EN2;
A1L53Q_p3_out = !Date_EN & !EN2 & A1L53Q;
A1L53Q_p4_out = !EN1 & set_day0[2] & EN2;
A1L53Q_or_out = A1L53Q_p0_out # A1L53Q_p1_out # A1L53Q_p2_out # A1L53Q_p3_out # A1L53Q_p4_out;
A1L53Q_reg_input = A1L53Q_or_out;
A1L53Q = DFFE(A1L53Q_reg_input, GLOBAL(clk), , , );


--A1L33Q is day0[1]~reg0 at LC19
A1L33Q_p0_out = !EN1 & !EN2 & A1L33Q;
A1L33Q_p1_out = auto_day0[1] & Date_EN & EN1;
A1L33Q_p2_out = !Date_EN & set_day0[1] & EN2;
A1L33Q_p3_out = !Date_EN & !EN2 & A1L33Q;
A1L33Q_p4_out = !EN1 & set_day0[1] & EN2;
A1L33Q_or_out = A1L33Q_p0_out # A1L33Q_p1_out # A1L33Q_p2_out # A1L33Q_p3_out # A1L33Q_p4_out;
A1L33Q_reg_input = A1L33Q_or_out;
A1L33Q = DFFE(A1L33Q_reg_input, GLOBAL(clk), , , );


--A1L13Q is day0[0]~reg0 at LC18
A1L13Q_p0_out = !EN1 & !EN2 & A1L13Q;
A1L13Q_p1_out = auto_day0[0] & Date_EN & EN1;
A1L13Q_p2_out = !Date_EN & set_day0[0] & EN2;
A1L13Q_p3_out = !Date_EN & !EN2 & A1L13Q;
A1L13Q_p4_out = !EN1 & set_day0[0] & EN2;
A1L13Q_or_out = A1L13Q_p0_out # A1L13Q_p1_out # A1L13Q_p2_out # A1L13Q_p3_out # A1L13Q_p4_out;
A1L13Q_reg_input = A1L13Q_or_out;
A1L13Q = DFFE(A1L13Q_reg_input, GLOBAL(clk), , , );


--A1L06Q is disp_select[5]~reg0 at LC6
A1L06Q_p1_out = !Date_EN & !disp_drive[1] & !disp_drive[0] & EN2;
A1L06Q_p2_out = !Date_EN & !EN2 & A1L06Q;
A1L06Q_p3_out = !disp_drive[1] & !disp_drive[0] & EN2 & !EN1;
A1L06Q_p4_out = !EN2 & A1L06Q & !EN1;
A1L06Q_or_out = A1L06Q_p1_out # A1L06Q_p2_out # A1L06Q_p3_out # A1L06Q_p4_out;
A1L06Q_reg_input = A1L06Q_or_out;
A1L06Q = DFFE(A1L06Q_reg_input, GLOBAL(clk), , , );


--A1L85Q is disp_select[4]~reg0 at LC5
A1L85Q_p1_out = !Date_EN & !disp_drive[1] & disp_drive[0] & EN2;
A1L85Q_p2_out = !Date_EN & !EN2 & A1L85Q;
A1L85Q_p3_out = !disp_drive[1] & disp_drive[0] & EN2 & !EN1;
A1L85Q_p4_out = !EN2 & A1L85Q & !EN1;
A1L85Q_or_out = A1L85Q_p1_out # A1L85Q_p2_out # A1L85Q_p3_out # A1L85Q_p4_out;
A1L85Q_reg_input = A1L85Q_or_out;
A1L85Q = DFFE(A1L85Q_reg_input, GLOBAL(clk), , , );


--A1L65Q is disp_select[3]~reg0 at LC4
A1L65Q_p1_out = !Date_EN & disp_drive[1] & !disp_drive[0] & EN2;
A1L65Q_p2_out = !Date_EN & !EN2 & A1L65Q;
A1L65Q_p3_out = disp_drive[1] & !disp_drive[0] & EN2 & !EN1;
A1L65Q_p4_out = !EN2 & A1L65Q & !EN1;
A1L65Q_or_out = A1L65Q_p1_out # A1L65Q_p2_out # A1L65Q_p3_out # A1L65Q_p4_out;
A1L65Q_reg_input = A1L65Q_or_out;
A1L65Q = DFFE(A1L65Q_reg_input, GLOBAL(clk), , , );


--A1L87Q is month1[3]~reg0 at LC33
A1L87Q_p0_out = !EN1 & !EN2 & A1L87Q;
A1L87Q_p1_out = auto_month1[3] & Date_EN & EN1;
A1L87Q_p2_out = !Date_EN & set_month1[3] & EN2;
A1L87Q_p3_out = !Date_EN & !EN2 & A1L87Q;
A1L87Q_p4_out = !EN1 & set_month1[3] & EN2;
A1L87Q_or_out = A1L87Q_p0_out # A1L87Q_p1_out # A1L87Q_p2_out # A1L87Q_p3_out # A1L87Q_p4_out;
A1L87Q_reg_input = A1L87Q_or_out;
A1L87Q = DFFE(A1L87Q_reg_input, GLOBAL(clk), , , );


--A1L45Q is disp_select[2]~reg0 at LC3
A1L45Q_p1_out = !EN2 & A1L45Q;
A1L45Q_p2_out = Date_EN & EN1;
A1L45Q_p3_out = EN2 & disp_drive[1] & disp_drive[0];
A1L45Q_or_out = A1L45Q_p1_out # A1L45Q_p2_out # A1L45Q_p3_out;
A1L45Q_reg_input = A1L45Q_or_out;
A1L45Q = DFFE(A1L45Q_reg_input, GLOBAL(clk), , , );


--~GND~0 is ~GND~0 at LC2
~GND~0_or_out = GND;
~GND~0 = ~GND~0_or_out;


--~GND~1 is ~GND~1 at LC1
~GND~1_or_out = GND;
~GND~1 = ~GND~1_or_out;


--clk is clk at PIN_87
--operation mode is input

clk = INPUT();


--Date_EN is Date_EN at PIN_85
--operation mode is input

Date_EN = INPUT();


--EN1 is EN1 at PIN_92
--operation mode is input

EN1 = INPUT();


--auto_month1[3] is auto_month1[3] at PIN_54
--operation mode is input

auto_month1[3] = INPUT();


--auto_month1[2] is auto_month1[2] at PIN_79
--operation mode is input

auto_month1[2] = INPUT();


--auto_month1[1] is auto_month1[1] at PIN_19
--operation mode is input

auto_month1[1] = INPUT();


--auto_month1[0] is auto_month1[0] at PIN_83
--operation mode is input

auto_month1[0] = INPUT();


--auto_month0[3] is auto_month0[3] at PIN_84
--operation mode is input

auto_month0[3] = INPUT();


--auto_month0[2] is auto_month0[2] at PIN_16
--operation mode is input

auto_month0[2] = INPUT();


--auto_month0[1] is auto_month0[1] at PIN_45
--operation mode is input

auto_month0[1] = INPUT();


--auto_month0[0] is auto_month0[0] at PIN_46
--operation mode is input

auto_month0[0] = INPUT();


--auto_day1[3] is auto_day1[3] at PIN_71
--operation mode is input

auto_day1[3] = INPUT();


--auto_day1[2] is auto_day1[2] at PIN_30
--operation mode is input

auto_day1[2] = INPUT();


--auto_day1[1] is auto_day1[1] at PIN_29
--operation mode is input

auto_day1[1] = INPUT();


--auto_day1[0] is auto_day1[0] at PIN_48
--operation mode is input

auto_day1[0] = INPUT();


--auto_day0[3] is auto_day0[3] at PIN_56
--operation mode is input

auto_day0[3] = INPUT();


--auto_day0[2] is auto_day0[2] at PIN_20
--operation mode is input

auto_day0[2] = INPUT();


--auto_day0[1] is auto_day0[1] at PIN_58
--operation mode is input

auto_day0[1] = INPUT();


--auto_day0[0] is auto_day0[0] at PIN_17
--operation mode is input

auto_day0[0] = INPUT();


--EN2 is EN2 at PIN_60
--operation mode is input

EN2 = INPUT();


--set_month1[3] is set_month1[3] at PIN_57
--operation mode is input

set_month1[3] = INPUT();


--set_month1[2] is set_month1[2] at PIN_81
--operation mode is input

set_month1[2] = INPUT();


--set_month1[1] is set_month1[1] at PIN_80
--operation mode is input

set_month1[1] = INPUT();


--set_month1[0] is set_month1[0] at PIN_93
--operation mode is input

set_month1[0] = INPUT();


--set_month0[3] is set_month0[3] at PIN_61
--operation mode is input

set_month0[3] = INPUT();


--set_month0[2] is set_month0[2] at PIN_63
--operation mode is input

set_month0[2] = INPUT();


--set_month0[1] is set_month0[1] at PIN_41
--operation mode is input

set_month0[1] = INPUT();


--set_month0[0] is set_month0[0] at PIN_88
--operation mode is input

set_month0[0] = INPUT();


--set_day1[3] is set_day1[3] at PIN_76
--operation mode is input

set_day1[3] = INPUT();


--set_day1[2] is set_day1[2] at PIN_90
--operation mode is input

set_day1[2] = INPUT();


--set_day1[1] is set_day1[1] at PIN_75
--operation mode is input

set_day1[1] = INPUT();


--set_day1[0] is set_day1[0] at PIN_47
--operation mode is input

set_day1[0] = INPUT();


--set_day0[3] is set_day0[3] at PIN_69
--operation mode is input

set_day0[3] = INPUT();


--set_day0[2] is set_day0[2] at PIN_67
--operation mode is input

set_day0[2] = INPUT();


--set_day0[1] is set_day0[1] at PIN_44
--operation mode is input

set_day0[1] = INPUT();


--set_day0[0] is set_day0[0] at PIN_65
--operation mode is input

set_day0[0] = INPUT();


--disp_drive[1] is disp_drive[1] at PIN_52
--operation mode is input

disp_drive[1] = INPUT();


--disp_drive[0] is disp_drive[0] at PIN_42
--operation mode is input

disp_drive[0] = INPUT();


--disp_select[1] is disp_select[1] at PIN_13
--operation mode is output

disp_select[1] = OUTPUT(~GND~0);


--disp_select[0] is disp_select[0] at PIN_14
--operation mode is output

disp_select[0] = OUTPUT(~GND~1);


--month1[3] is month1[3] at PIN_40
--operation mode is output

month1[3] = OUTPUT(A1L87Q);


--month1[2] is month1[2] at PIN_68
--operation mode is output

month1[2] = OUTPUT(A1L67Q);


--month1[1] is month1[1] at PIN_98
--operation mode is output

month1[1] = OUTPUT(A1L47Q);


--month1[0] is month1[0] at PIN_6
--operation mode is output

month1[0] = OUTPUT(A1L27Q);


--month0[3] is month0[3] at PIN_100
--operation mode is output

month0[3] = OUTPUT(A1L96Q);


--month0[2] is month0[2] at PIN_99
--operation mode is output

month0[2] = OUTPUT(A1L76Q);


--month0[1] is month0[1] at PIN_97
--operation mode is output

month0[1] = OUTPUT(A1L56Q);


--month0[0] is month0[0] at PIN_96
--operation mode is output

month0[0] = OUTPUT(A1L36Q);


--day1[3] is day1[3] at PIN_94
--operation mode is output

day1[3] = OUTPUT(A1L64Q);


--day1[2] is day1[2] at PIN_37
--operation mode is output

day1[2] = OUTPUT(A1L44Q);


--day1[1] is day1[1] at PIN_33
--operation mode is output

day1[1] = OUTPUT(A1L24Q);


--day1[0] is day1[0] at PIN_23
--operation mode is output

day1[0] = OUTPUT(A1L04Q);


--day0[3] is day0[3] at PIN_31
--operation mode is output

day0[3] = OUTPUT(A1L73Q);


--day0[2] is day0[2] at PIN_32
--operation mode is output

day0[2] = OUTPUT(A1L53Q);


--day0[1] is day0[1] at PIN_35
--operation mode is output

day0[1] = OUTPUT(A1L33Q);


--day0[0] is day0[0] at PIN_36
--operation mode is output

day0[0] = OUTPUT(A1L13Q);


--disp_select[5] is disp_select[5] at PIN_8
--operation mode is output

disp_select[5] = OUTPUT(A1L06Q);


--disp_select[4] is disp_select[4] at PIN_9
--operation mode is output

disp_select[4] = OUTPUT(A1L85Q);


--disp_select[3] is disp_select[3] at PIN_10
--operation mode is output

disp_select[3] = OUTPUT(A1L65Q);


--disp_select[2] is disp_select[2] at PIN_12
--operation mode is output

disp_select[2] = OUTPUT(A1L45Q);






⌨️ 快捷键说明

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