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

📄 date_main.fit.eqn

📁 基于FPGA的多功能数字钟的设计与实现 内附有详尽的Verilog HDL源码
💻 EQN
📖 第 1 页 / 共 3 页
字号:
A1L93 = A1L93_p1_out # A1L93_p2_out # A1L93_p3_out # A1L93_p4_out;


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


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


--~GND~2 is ~GND~2 at LC57
~GND~2_or_out = GND;
~GND~2 = ~GND~2_or_out;


--~GND~3 is ~GND~3 at LC33
~GND~3_or_out = GND;
~GND~3 = ~GND~3_or_out;


--~GND~4 is ~GND~4 at LC40
~GND~4_or_out = GND;
~GND~4 = ~GND~4_or_out;


--~GND~5 is ~GND~5 at LC37
~GND~5_or_out = GND;
~GND~5 = ~GND~5_or_out;


--C1L1 is datecontrol:inst1|Decoder~32sexp at SEXP33
C1L1 = EXP(!D1_disp_drive[1] & D1_disp_drive[0]);


--C1L2 is datecontrol:inst1|Decoder~34sexp at SEXP17
C1L2 = EXP(D1_disp_drive[1] & D1_disp_drive[0]);


--E2L5 is autodate:inst|lpm_counter:month0_rtl_3|dffs[0]~508 at LC43
E2L5_p0_out = E2_dffs[3] & E2_dffs[0] & B1_month1[0];
E2L5_p1_out = !E2_dffs[2] & !E2_dffs[0] & !Date_Set_EN & E1_dffs[1] & !B1_month1[0] & E1_dffs[0] & B1_day0[3] & !E2_dffs[1];
E2L5_p2_out = !E2_dffs[3] & !E2_dffs[0] & !Date_Set_EN & E1_dffs[1] & !B1_month1[0] & E1_dffs[0] & E2_dffs[1];
E2L5_p3_out = E2_dffs[2] & E2_dffs[0] & B1_month1[0];
E2L5_p4_out = E2_dffs[2] & E2_dffs[3] & E2_dffs[0];
E2L5 = E2L6 # E2L5_p0_out # E2L5_p1_out # E2L5_p2_out # E2L5_p3_out # E2L5_p4_out;


--E2L6 is autodate:inst|lpm_counter:month0_rtl_3|dffs[0]~515 at LC42
E2L6_p0_out = !E1_dffs[1] & E2_dffs[0];
E2L6_p1_out = E2_dffs[0] & !E1_dffs[0];
E2L6_p2_out = !B1_day0[1] & !E2_dffs[3] & E2_dffs[0] & !B1_day0[0] & !B1_day0[2] & !B1_month1[0] & !B1_day0[3];
E2L6_p3_out = E2_dffs[1] & E2_dffs[0] & B1_month1[0];
E2L6_p4_out = E2_dffs[3] & E2_dffs[1] & E2_dffs[0];
E2L6 = E2L6_p0_out # E2L6_p1_out # E2L6_p2_out # E2L6_p3_out # E2L6_p4_out;


--date_disp_clk is date_disp_clk at PIN_37
--operation mode is input

date_disp_clk = INPUT();


--Date_EN is Date_EN at PIN_43
--operation mode is input

Date_EN = INPUT();


--day_EN is day_EN at PIN_40
--operation mode is input

day_EN = INPUT();


--Date_Set_EN is Date_Set_EN at PIN_42
--operation mode is input

Date_Set_EN = INPUT();


--SW1 is SW1 at PIN_44
--operation mode is input

SW1 = INPUT();


--SW2 is SW2 at PIN_3
--operation mode is input

SW2 = INPUT();


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

day1[3] = OUTPUT(~GND~0);


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

day1[2] = OUTPUT(~GND~1);


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

Disp_select_date[1] = OUTPUT(~GND~2);


--Disp_select_date[0] is Disp_select_date[0] at PIN_18
--operation mode is output

Disp_select_date[0] = OUTPUT(~GND~3);


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

month1[3] = OUTPUT(~GND~4);


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

month1[2] = OUTPUT(~GND~5);


--Disp_select_date[5] is Disp_select_date[5] at PIN_14
--operation mode is output

Disp_select_date[5] = OUTPUT(C1_disp_select[5]);


--Disp_select_date[4] is Disp_select_date[4] at PIN_15
--operation mode is output

Disp_select_date[4] = OUTPUT(C1_disp_select[4]);


--Disp_select_date[3] is Disp_select_date[3] at PIN_8
--operation mode is output

Disp_select_date[3] = OUTPUT(C1_disp_select[3]);


--Disp_select_date[2] is Disp_select_date[2] at PIN_23
--operation mode is output

Disp_select_date[2] = OUTPUT(C1_disp_select[2]);


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

month1[1] = OUTPUT(C1_month1[1]);


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

month1[0] = OUTPUT(C1_month1[0]);


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

month0[2] = OUTPUT(C1_month0[2]);


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

month0[0] = OUTPUT(C1_month0[0]);


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

month0[3] = OUTPUT(C1_month0[3]);


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

month0[1] = OUTPUT(C1_month0[1]);


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

day0[0] = OUTPUT(C1_day0[0]);


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

day0[1] = OUTPUT(C1_day0[1]);


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

day0[2] = OUTPUT(C1_day0[2]);


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

day1[0] = OUTPUT(C1_day1[0]);


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

day1[1] = OUTPUT(C1_day1[1]);


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

day0[3] = OUTPUT(C1_day0[3]);






--E2L7 is autodate:inst|lpm_counter:month0_rtl_3|dffs[0]~527 at SEXP10
E2L7 = EXP(B1_month1[0] & E2_dffs[3]);


--A1L04 is rtl~1438 at SEXP8
A1L04 = EXP(E2_dffs[3] & E2_dffs[2]);


--A1L14 is rtl~1439 at SEXP7
A1L14 = EXP(E2_dffs[3] & E2_dffs[1]);


--A1L24 is rtl~1440 at SEXP3
A1L24 = EXP(E2_dffs[0] & B1_month1[0] & E2_dffs[1]);


--A1L34 is rtl~1441 at SEXP1
A1L34 = EXP(B1_month1[0] & E2_dffs[2]);


⌨️ 快捷键说明

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