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

📄 i2c_altera.fit.eqn

📁 程序实现的功能是通过I2C配置SAA7113芯片,然后通过逻辑分析仪器查看芯片的输出数据 可以通过视频口输出视频 redlogic的程序
💻 EQN
📖 第 1 页 / 共 5 页
字号:
D1_t2_qfbk = D1_t2;
D1L32 = D1_t2_qfbk # D1_t5;

--D1_t2 is I2C:inst1|t2 at LC_X37_Y10_N4
--operation mode is normal

D1_t2 = DFFEAS(D1L32, GLOBAL(PB1__clk0), GLOBAL(G1_rst_out), , LB1_Deglitch, D1_t1a, , , VCC);


--D1L42 is I2C:inst1|SCL_reg~41 at LC_X38_Y9_N4
--operation mode is normal

D1_s1a_qfbk = D1_s1a;
D1L42 = LB1_Deglitch & (D1L32 # D1_s1a_qfbk # !D1L12);

--D1_s1a is I2C:inst1|s1a at LC_X38_Y9_N4
--operation mode is normal

D1_s1a = DFFEAS(D1L42, GLOBAL(PB1__clk0), GLOBAL(G1_rst_out), , LB1_Deglitch, D1_s1, , , VCC);


--D1_Cmd_reg[1] is I2C:inst1|Cmd_reg[1] at LC_X37_Y9_N8
--operation mode is normal

D1_Cmd_reg[1]_lut_out = !D1_x1 & C1_execute & C1_cmd_start;
D1_Cmd_reg[1] = DFFEAS(D1_Cmd_reg[1]_lut_out, GLOBAL(PB1__clk0), GLOBAL(G1_rst_out), , D1L51, , , , );


--D1_Ss_idle is I2C:inst1|Ss_idle at LC_X38_Y9_N6
--operation mode is normal

D1_Ss_idle_lut_out = !D1_s1a & (D1_Cmd_reg[1] # D1_Ss_idle);
D1_Ss_idle = DFFEAS(D1_Ss_idle_lut_out, GLOBAL(PB1__clk0), GLOBAL(G1_rst_out), , LB1_Deglitch, , , , );


--D1L52 is I2C:inst1|SDA_node_out~0 at LC_X38_Y9_N0
--operation mode is normal

D1L52 = !D1_Ss_idle & (D1_Cmd_reg[1] & D1_Start_condition);

--D1_s2 is I2C:inst1|s2 at LC_X38_Y9_N0
--operation mode is normal

D1_s2 = DFFEAS(D1L52, GLOBAL(PB1__clk0), GLOBAL(G1_rst_out), , LB1_Deglitch, , , , );


--D1_Cmd_reg[2] is I2C:inst1|Cmd_reg[2] at LC_X37_Y9_N5
--operation mode is normal

D1_Cmd_reg[2]_lut_out = D1_s1a # C1_cmd_send & C1_execute & !D1_x1;
D1_Cmd_reg[2] = DFFEAS(D1_Cmd_reg[2]_lut_out, GLOBAL(PB1__clk0), GLOBAL(G1_rst_out), , D1L51, , , , );


--D1_t3 is I2C:inst1|t3 at LC_X38_Y10_N4
--operation mode is normal

D1_t3_lut_out = D1_BitCnt[0] & D1_t2 & D1_BitCnt[2] & D1_BitCnt[1];
D1_t3 = DFFEAS(D1_t3_lut_out, GLOBAL(PB1__clk0), GLOBAL(G1_rst_out), , LB1_Deglitch, , , , );


--D1_Sh_reg[7] is I2C:inst1|Sh_reg[7] at LC_X36_Y10_N6
--operation mode is normal

D1_Sh_reg[7]_lut_out = D1L2 & (C1_i2c_data_t[7] # D1_t2 & D1_Sh_reg[6]) # !D1L2 & D1_t2 & D1_Sh_reg[6];
D1_Sh_reg[7] = DFFEAS(D1_Sh_reg[7]_lut_out, GLOBAL(PB1__clk0), GLOBAL(G1_rst_out), , D1L93, , , , );


--D1_t0 is I2C:inst1|t0 at LC_X38_Y10_N3
--operation mode is normal

D1_t0_lut_out = !D1_t6 & (D1_t0 & (!D1L44) # !D1_t0 & D1_Cmd_reg[2]);
D1_t0 = DFFEAS(D1_t0_lut_out, GLOBAL(PB1__clk0), GLOBAL(G1_rst_out), , LB1_Deglitch, , , , );


--D1L62 is I2C:inst1|SDA_node_out~73 at LC_X38_Y10_N6
--operation mode is normal

D1L62 = D1_t3 # D1_Sh_reg[7] & (!D1_t0);


--D1L1 is I2C:inst1|_~57 at LC_X39_Y9_N8
--operation mode is normal

D1L1 = D1_Cmd_reg[1] & !D1_Ss_idle;

--D1_Start_condition is I2C:inst1|Start_condition at LC_X39_Y9_N8
--operation mode is normal

D1_Start_condition = DFFEAS(D1L1, GLOBAL(PB1__clk0), GLOBAL(G1_rst_out), , D1L24, , , , );


--D1L74 is I2C:inst1|t1~27 at LC_X38_Y10_N7
--operation mode is normal

D1L74 = D1_Cmd_reg[2] & !D1_t0;

--D1_t1 is I2C:inst1|t1 at LC_X38_Y10_N7
--operation mode is normal

D1_t1 = DFFEAS(D1L74, GLOBAL(PB1__clk0), GLOBAL(G1_rst_out), , LB1_Deglitch, , , , );


--D1_s3 is I2C:inst1|s3 at LC_X38_Y10_N5
--operation mode is normal

D1_s3_lut_out = GND;
D1_s3 = DFFEAS(D1_s3_lut_out, GLOBAL(PB1__clk0), GLOBAL(G1_rst_out), , LB1_Deglitch, D1_s2a, , , VCC);


--D1L82 is I2C:inst1|SDA_reg~73 at LC_X38_Y10_N0
--operation mode is normal

D1_y2_qfbk = D1_y2;
D1L82 = D1_t3 # D1_t6 # D1_y2_qfbk # D1_s3;

--D1_y2 is I2C:inst1|y2 at LC_X38_Y10_N0
--operation mode is normal

D1_y2 = DFFEAS(D1L82, GLOBAL(PB1__clk0), GLOBAL(G1_rst_out), , LB1_Deglitch, D1_y1, , , VCC);


--D1L92 is I2C:inst1|SDA_reg~74 at LC_X38_Y10_N8
--operation mode is normal

D1L92 = LB1_Deglitch & (D1L1 # D1L82 # D1L74);


--H1L23 is sld_hub:sld_hub_inst|process2~0 at LC_X17_Y14_N2
--operation mode is normal

H1L23 = AMPP_FUNCTION(SB1_state[4], SB1_state[8]);


--L2L1 is sld_hub:sld_hub_inst|sld_rom_sr:HUB_INFO_REG|add~76 at LC_X14_Y13_N4
--operation mode is normal

L2L1 = AMPP_FUNCTION(L2_word_counter[4], L2L9, L2L01);


--L2L41 is sld_hub:sld_hub_inst|sld_rom_sr:HUB_INFO_REG|reduce_nor~26 at LC_X14_Y14_N4
--operation mode is normal

L2L41 = AMPP_FUNCTION(L2_word_counter[2], L2_word_counter[1], L2_word_counter[3]);


--L2L71 is sld_hub:sld_hub_inst|sld_rom_sr:HUB_INFO_REG|word_counter[0]~8 at LC_X15_Y13_N2
--operation mode is normal

L2L71 = AMPP_FUNCTION(SB1_state[3], SB1_state[4], H1_jtag_debug_mode_usr0);


--L2L2 is sld_hub:sld_hub_inst|sld_rom_sr:HUB_INFO_REG|add~81 at LC_X14_Y13_N1
--operation mode is arithmetic

L2L2 = AMPP_FUNCTION(L2_word_counter[1], L2L21, L2L31);

--L2L3 is sld_hub:sld_hub_inst|sld_rom_sr:HUB_INFO_REG|add~83 at LC_X14_Y13_N1
--operation mode is arithmetic

L2L3 = AMPP_FUNCTION(L2_word_counter[1], L2L21);

--L2L4 is sld_hub:sld_hub_inst|sld_rom_sr:HUB_INFO_REG|add~83COUT1_107 at LC_X14_Y13_N1
--operation mode is arithmetic

L2L4 = AMPP_FUNCTION(L2_word_counter[1], L2L31);


--L2L5 is sld_hub:sld_hub_inst|sld_rom_sr:HUB_INFO_REG|add~86 at LC_X14_Y13_N2
--operation mode is arithmetic

L2L5 = AMPP_FUNCTION(L2_word_counter[2], L2L3, L2L4);

--L2L6 is sld_hub:sld_hub_inst|sld_rom_sr:HUB_INFO_REG|add~88 at LC_X14_Y13_N2
--operation mode is arithmetic

L2L6 = AMPP_FUNCTION(L2_word_counter[2], L2L3);

--L2L7 is sld_hub:sld_hub_inst|sld_rom_sr:HUB_INFO_REG|add~88COUT1_109 at LC_X14_Y13_N2
--operation mode is arithmetic

L2L7 = AMPP_FUNCTION(L2_word_counter[2], L2L4);


--L2L8 is sld_hub:sld_hub_inst|sld_rom_sr:HUB_INFO_REG|add~91 at LC_X14_Y13_N3
--operation mode is arithmetic

L2L8 = AMPP_FUNCTION(L2_word_counter[3], L2L6, L2L7);

--L2L9 is sld_hub:sld_hub_inst|sld_rom_sr:HUB_INFO_REG|add~93 at LC_X14_Y13_N3
--operation mode is arithmetic

L2L9 = AMPP_FUNCTION(L2_word_counter[3], L2L6);

--L2L01 is sld_hub:sld_hub_inst|sld_rom_sr:HUB_INFO_REG|add~93COUT1_111 at LC_X14_Y13_N3
--operation mode is arithmetic

L2L01 = AMPP_FUNCTION(L2_word_counter[3], L2L7);


--L2L92 is sld_hub:sld_hub_inst|sld_rom_sr:HUB_INFO_REG|WORD_SR~139 at LC_X14_Y13_N9
--operation mode is normal

L2L92 = AMPP_FUNCTION(L2_word_counter[1], L2_word_counter[3], L2_word_counter[4]);

--L2_word_counter[2] is sld_hub:sld_hub_inst|sld_rom_sr:HUB_INFO_REG|word_counter[2] at LC_X14_Y13_N9
--operation mode is normal

L2_word_counter[2] = AMPP_FUNCTION(A1L5, L2L5, !L1_clear_signal, GND, L2L71);


--L2L03 is sld_hub:sld_hub_inst|sld_rom_sr:HUB_INFO_REG|WORD_SR~140 at LC_X14_Y14_N5
--operation mode is normal

L2L03 = AMPP_FUNCTION(L2_word_counter[2], L2_word_counter[1]);


--L2_WORD_SR[2] is sld_hub:sld_hub_inst|sld_rom_sr:HUB_INFO_REG|WORD_SR[2] at LC_X14_Y14_N8
--operation mode is normal

L2_WORD_SR[2] = AMPP_FUNCTION(A1L5, L2_word_counter[0], L2L92, L2_WORD_SR[3], L2L03, !L1_clear_signal, SB1_state[4], H1L4);


--L2L11 is sld_hub:sld_hub_inst|sld_rom_sr:HUB_INFO_REG|add~96 at LC_X14_Y13_N0
--operation mode is arithmetic

L2L11 = AMPP_FUNCTION(L2_word_counter[0]);

--L2L21 is sld_hub:sld_hub_inst|sld_rom_sr:HUB_INFO_REG|add~98 at LC_X14_Y13_N0
--operation mode is arithmetic

L2L21 = AMPP_FUNCTION(L2_word_counter[0]);

--L2L31 is sld_hub:sld_hub_inst|sld_rom_sr:HUB_INFO_REG|add~98COUT1_106 at LC_X14_Y13_N0
--operation mode is arithmetic

L2L31 = AMPP_FUNCTION(L2_word_counter[0]);


--BB21_match_out is sld_signaltap:auto_signaltap_0|sld_ela_control:ela_control|sld_ela_basic_multi_level_trigger:\basic_multi_level_mbpm_trigger_gen:multi_level_mbpm|sld_mbpmg:\trigger_modules_gen:0:trigger_match|sld_sbpmg:\gen_sbpmg_pipeline_less_than_two:sm0:11:sm1|match_out at LC_X15_Y13_N6
--operation mode is normal

BB21_match_out = AMPP_FUNCTION(PCLK, BB21_holdff, BB21L3, Q4_dffs[35], B1_acq_trigger_in_reg[11], VCC);


--BB1_match_out is sld_signaltap:auto_signaltap_0|sld_ela_control:ela_control|sld_ela_basic_multi_level_trigger:\basic_multi_level_mbpm_trigger_gen:multi_level_mbpm|sld_mbpmg:\trigger_modules_gen:0:trigger_match|sld_sbpmg:\gen_sbpmg_pipeline_less_than_two:sm0:0:sm1|match_out at LC_X18_Y16_N5
--operation mode is normal

BB1_match_out = AMPP_FUNCTION(PCLK, Q4_dffs[2], BB1L3, BB1_holdff, B1_acq_trigger_in_reg[0], VCC);


--BB2_match_out is sld_signaltap:auto_signaltap_0|sld_ela_control:ela_control|sld_ela_basic_multi_level_trigger:\basic_multi_level_mbpm_trigger_gen:multi_level_mbpm|sld_mbpmg:\trigger_modules_gen:0:trigger_match|sld_sbpmg:\gen_sbpmg_pipeline_less_than_two:sm0:1:sm1|match_out at LC_X18_Y15_N6
--operation mode is normal

BB2_match_out = AMPP_FUNCTION(PCLK, B1_acq_trigger_in_reg[1], BB2L3, Q4_dffs[5], BB2_holdff, VCC);


--Y1L5 is sld_signaltap:auto_signaltap_0|sld_ela_control:ela_control|sld_ela_level_seq_mgr:ela_level_seq_mgr|trigger_happened~180 at LC_X18_Y13_N5
--operation mode is normal

Y1L5 = AMPP_FUNCTION(BB21_match_out, BB1_match_out, BB2_match_out, Y1_trigger_happened_ff[0]);


--BB3_match_out is sld_signaltap:auto_signaltap_0|sld_ela_control:ela_control|sld_ela_basic_multi_level_trigger:\basic_multi_level_mbpm_trigger_gen:multi_level_mbpm|sld_mbpmg:\trigger_modules_gen:0:trigger_match|sld_sbpmg:\gen_sbpmg_pipeline_less_than_two:sm0:2:sm1|match_out at LC_X15_Y15_N4
--operation mode is normal

BB3_match_out = AMPP_FUNCTION(PCLK, B1_acq_trigger_in_reg[2], BB3_holdff, BB3L3, Q4_dffs[8], VCC);


--BB4_match_out is sld_signaltap:auto_signaltap_0|sld_ela_control:ela_control|sld_ela_basic_multi_level_trigger:\basic_multi_level_mbpm_trigger_gen:multi_level_mbpm|sld_mbpmg:\trigger_modules_gen:0:trigger_match|sld_sbpmg:\gen_sbpmg_pipeline_less_than_two:sm0:3:sm1|match_out at LC_X14_Y16_N4
--operation mode is normal

BB4_match_out = AMPP_FUNCTION(PCLK, B1_acq_trigger_in_reg[3], Q4_dffs[11], BB4L3, BB4_holdff, VCC);


--BB5_match_out is sld_signaltap:auto_signaltap_0|sld_ela_control:ela_control|sld_ela_basic_multi_level_trigger:\basic_multi_level_mbpm_trigger_gen:multi_level_mbpm|sld_mbpmg:\trigger_modules_gen:0:trigger_match|sld_sbpmg:\gen_sbpmg_pipeline_less_than_two:sm0:4:sm1|match_out at LC_X15_Y16_N6
--operation mode is normal

BB5_match_out = AMPP_FUNCTION(PCLK, BB5L3, Q4_dffs[14], B1_acq_trigger_in_reg[4], BB5_holdff, VCC);


--BB6_match_out is sld_signaltap:auto_signaltap_0|sld_ela_control:ela_control|sld_ela_basic_multi_level_trigger:\basic_multi_level_mbpm_trigger_gen:multi_level_mbpm|sld_mbpmg:\trigger_modules_gen:0:trigger_match|sld_sbpmg:\gen_sbpmg_pipeline_less_than_two:sm0:5:sm1|match_out at LC_X15_Y16_N4
--operation mode is normal

BB6_match_out = AMPP_FUNCTION(PCLK, B1_acq_trigger_in_reg[5], BB6_holdff, BB6L3, Q4_dffs[17], VCC);


--Y1L6 is sld_signaltap:auto_signaltap_0|sld_ela_control:ela_control|sld_ela_level_seq_mgr:ela_level_seq_mgr|trigger_happened~181 at LC_X15_Y16_N9
--operation mode is normal

Y1L6 = AMPP_FUNCTION(BB4_match_out, BB3_match_out, BB6_match_out, BB5_match_out);


--BB01_match_out is sld_signaltap:auto_signaltap_0|sld_ela_control:ela_control|sld_ela_basic_multi_level_trigger:\basic_multi_level_mbpm_trigger_gen:multi_level_mbpm|sld_mbpmg:\trigger_modules_gen:0:trigger_match|sld_sbpmg:\gen_sbpmg_pipeline_less_than_two:sm0:9:sm1|match_out at LC_X18_Y12_N6
--operation mode is normal

BB01_match_out = AMPP_FUNCTION(PCLK, BB01_holdff, B1_acq_trigger_in_reg[9], BB01L3, Q4_dffs[29], VCC);


--BB7_match_out is sld_signaltap:auto_signaltap_0|sld_ela_control:ela_control|sld_ela_basic_multi_level_trigger:\basic_multi_level_mbpm_trigger_gen:multi_level_mbpm|sld_mbpmg:\trigger_modules_gen:0:trigger_match|sld_sbpmg:\gen_sbpmg_pipeline_less_than_two:sm0:6:sm1|match_out at LC_X21_Y11_N3
--operation mode is normal

BB7_match_out = AMPP_FUNCTION(PCLK, B1_acq_trigger_in_reg[6], Q4_dffs[20], BB7_holdff, BB7L3, VCC);


--BB8_match_out is sld_signaltap:auto_signaltap_0|sld_ela_control:ela_control|sld_ela_basic_multi_level_trigger:\basic_multi_level_mbpm_trigger_gen:multi_level_mbpm|sld_mbpmg:\trigger_modules_gen:0:trigger_match|sld_sbpmg:\gen_sbpmg_pipeline_less_than_two:sm0:7:sm1|match_out at LC_X18_Y11_N0
--operation mode is normal

BB8_match_out = AMPP_FUNCTION(PCLK, Q4_dffs[23], BB8L3, BB8_holdff, B1_acq_trigger_in_reg[7], VCC);


--BB9_match_out is sld_signaltap:auto_signaltap_0|sld_ela_control:ela_control|sld_ela_basic_multi_level_trigger:\basic_multi_level_mbpm_trigger_gen:multi_level_mbpm|sld_mbpmg:\trigger_modules_gen:0:trigger_match|sld_sbpmg:\gen_sbpmg_pipeline_less_than_two:sm0:8:sm1|match_out at LC_X18_Y11_N6
--operation mode is normal

BB9_match_out = AMPP_FUNCTION(PCLK, Q4_dffs[26], BB9_holdff, BB9L3, B1_acq_trigger_in_reg[8], VCC);


--BB11_match_out is sld_signaltap:auto_signaltap_0|sld_ela_control:ela_control|sld_ela_basic_multi_level_trigger:\basic_multi_level_mbpm_trigger_gen:multi_level_mbpm|sld_mbpmg:\trigger_modules_gen:0:trigger_match|sld_sbpmg:\gen_sbpmg_pipeline_less_than_two:sm0:10:sm1|match_out at LC_X15_Y12_N4
--operation mode is normal

BB11_match_out = AMPP_FUNCTION(PCLK, Q4_dffs[32], B1_acq_trigger_in_reg[10], BB11_holdff, BB11L3, VCC);


--Y1L7 is sld_signaltap:auto_signaltap_0|sld_ela_control:ela_control|sld_ela_level_seq_mgr:ela_level_seq_mgr|trigger_happened~182 at LC_X18_Y11_N7
--operation mode is normal

Y1L7 = AMPP_FUNCTION(BB9_match_out, BB8_match_out, BB7_match_out, BB11_match_out);


--Y1L8 is sld_signaltap:auto_signaltap_0|sld_ela_control:ela_control|sld_ela_level_seq_mgr:ela_level_seq_mgr|trigger_happened~183 at LC_X18_Y13_N4
--operation mode is normal

Y1L8 = AMPP_FUNCTION(Y1L7, BB01_match_out, Y1L6, Y1L5);

⌨️ 快捷键说明

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