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

📄 i2c.fit.eqn

📁 vhdl的很多例子
💻 EQN
📖 第 1 页 / 共 5 页
字号:
-- Copyright (C) 1991-2006 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_scl_xhdl1 is i2c_test:inst|scl_xhdl1 at LC_X7_Y6_N9
--operation mode is normal

B1_scl_xhdl1_lut_out = !B1L187 & (B1_main_state[0] $ !B1_main_state[1] # !B1_phase0);
B1_scl_xhdl1 = DFFEAS(B1_scl_xhdl1_lut_out, GLOBAL(clk), GLOBAL(reset), , , , , , );


--B1_en_xhdl3[1] is i2c_test:inst|en_xhdl3[1] at LC_X11_Y9_N1
--operation mode is normal

B1_en_xhdl3[1]_lut_out = !B1_en_xhdl3[1];
B1_en_xhdl3[1] = DFFEAS(B1_en_xhdl3[1]_lut_out, GLOBAL(clk), GLOBAL(reset), , B1L147, , , , );


--B1_en_xhdl3[0] is i2c_test:inst|en_xhdl3[0] at LC_X11_Y9_N5
--operation mode is normal

B1_en_xhdl3[0]_lut_out = !B1_en_xhdl3[0];
B1_en_xhdl3[0] = DFFEAS(B1_en_xhdl3[0]_lut_out, GLOBAL(clk), GLOBAL(reset), , B1L147, , , , );


--B1_phase2 is i2c_test:inst|phase2 at LC_X7_Y6_N3
--operation mode is normal

B1_phase2_lut_out = !B1_phase2 & B1L306 & (B1L149);
B1_phase2 = DFFEAS(B1_phase2_lut_out, GLOBAL(clk), GLOBAL(reset), , , , , , );


--B1_main_state[1] is i2c_test:inst|main_state[1] at LC_X11_Y7_N9
--operation mode is normal

B1_main_state[1]_lut_out = B1_main_state[0] & B1_main_state[1] # !B1_main_state[0] & (B1_main_state[1] & (B1L186) # !B1_main_state[1] & !C1_inst4 & !B1L186);
B1_main_state[1] = DFFEAS(B1_main_state[1]_lut_out, GLOBAL(clk), GLOBAL(reset), , , , , , );


--B1_main_state[0] is i2c_test:inst|main_state[0] at LC_X11_Y7_N5
--operation mode is normal

B1_main_state[0]_lut_out = B1_main_state[0] & (B1_main_state[1] # B1L186) # !B1_main_state[0] & !B1_main_state[1] & C1_inst4 & !B1L186;
B1_main_state[0] = DFFEAS(B1_main_state[0]_lut_out, GLOBAL(clk), GLOBAL(reset), , , , , , );


--B1L187 is i2c_test:inst|Mux~22841 at LC_X7_Y6_N8
--operation mode is normal

B1L187 = B1_scl_xhdl1 & (!B1_main_state[1] & !B1_main_state[0]) # !B1_scl_xhdl1 & (B1_main_state[1] $ !B1_main_state[0] # !B1_phase2);


--B1_phase0 is i2c_test:inst|phase0 at LC_X9_Y6_N5
--operation mode is normal

B1_phase0_lut_out = !B1_phase0 & B1L157 & B1_clk_div[1] & B1L306;
B1_phase0 = DFFEAS(B1_phase0_lut_out, GLOBAL(clk), GLOBAL(reset), , , , , , );


--B1_writeData_reg[0] is i2c_test:inst|writeData_reg[0] at LC_X11_Y10_N8
--operation mode is normal

B1_writeData_reg[0]_lut_out = !D1_counter[0];
B1_writeData_reg[0] = DFFEAS(B1_writeData_reg[0]_lut_out, GLOBAL(clk), GLOBAL(reset), , B1L201, , , , );


--B1L334 is i2c_test:inst|seg_data_buf[0]~343 at LC_X10_Y10_N0
--operation mode is normal
--sload is tied to vcc, which is functionally the same as treating the sdata port as the data input.

B1_readData_reg[0]_qfbk = B1_readData_reg[0];
B1L334 = B1_en_xhdl3[0] & !B1_writeData_reg[0] & (B1_en_xhdl3[1]) # !B1_en_xhdl3[0] & (B1_readData_reg[0]_qfbk & !B1_en_xhdl3[1]);

--B1_readData_reg[0] is i2c_test:inst|readData_reg[0] at LC_X10_Y10_N0
--operation mode is normal
--sload is tied to vcc, which is functionally the same as treating the sdata port as the data input.

B1_readData_reg[0] = DFFEAS(B1L334, GLOBAL(clk), GLOBAL(reset), , B1L329, A1L6, , , VCC);


--B1L335 is i2c_test:inst|seg_data_buf[1]~344 at LC_X10_Y10_N8
--operation mode is normal
--sload is tied to vcc, which is functionally the same as treating the sdata port as the data input.

B1_readData_reg[1]_qfbk = B1_readData_reg[1];
B1L335 = B1_en_xhdl3[0] & B1_writeData_reg[1] & (B1_en_xhdl3[1]) # !B1_en_xhdl3[0] & (B1_readData_reg[1]_qfbk & !B1_en_xhdl3[1]);

--B1_readData_reg[1] is i2c_test:inst|readData_reg[1] at LC_X10_Y10_N8
--operation mode is normal
--sload is tied to vcc, which is functionally the same as treating the sdata port as the data input.

B1_readData_reg[1] = DFFEAS(B1L335, GLOBAL(clk), GLOBAL(reset), , B1L329, B1_readData_reg[0], , , VCC);


--B1_writeData_reg[2] is i2c_test:inst|writeData_reg[2] at LC_X11_Y10_N2
--operation mode is normal

B1_writeData_reg[2]_lut_out = !D1_counter[2];
B1_writeData_reg[2] = DFFEAS(B1_writeData_reg[2]_lut_out, GLOBAL(clk), GLOBAL(reset), , B1L201, , , , );


--B1L336 is i2c_test:inst|seg_data_buf[2]~345 at LC_X11_Y9_N0
--operation mode is normal
--sload is tied to vcc, which is functionally the same as treating the sdata port as the data input.

B1_readData_reg[2]_qfbk = B1_readData_reg[2];
B1L336 = B1_en_xhdl3[0] & B1_en_xhdl3[1] & (!B1_writeData_reg[2]) # !B1_en_xhdl3[0] & !B1_en_xhdl3[1] & B1_readData_reg[2]_qfbk;

--B1_readData_reg[2] is i2c_test:inst|readData_reg[2] at LC_X11_Y9_N0
--operation mode is normal
--sload is tied to vcc, which is functionally the same as treating the sdata port as the data input.

B1_readData_reg[2] = DFFEAS(B1L336, GLOBAL(clk), GLOBAL(reset), , B1L329, B1_readData_reg[1], , , VCC);


--B1L337 is i2c_test:inst|seg_data_buf[3]~346 at LC_X11_Y9_N4
--operation mode is normal
--sload is tied to vcc, which is functionally the same as treating the sdata port as the data input.

B1_readData_reg[3]_qfbk = B1_readData_reg[3];
B1L337 = B1_en_xhdl3[0] & B1_en_xhdl3[1] & (B1_writeData_reg[3]) # !B1_en_xhdl3[0] & !B1_en_xhdl3[1] & B1_readData_reg[3]_qfbk;

--B1_readData_reg[3] is i2c_test:inst|readData_reg[3] at LC_X11_Y9_N4
--operation mode is normal
--sload is tied to vcc, which is functionally the same as treating the sdata port as the data input.

B1_readData_reg[3] = DFFEAS(B1L337, GLOBAL(clk), GLOBAL(reset), , B1L329, B1_readData_reg[2], , , VCC);


--B1L188 is i2c_test:inst|Mux~22843 at LC_X11_Y10_N7
--operation mode is normal

B1L188 = B1L337 # B1L336 & (!B1L334 # !B1L335) # !B1L336 & B1L335;


--B1_readData_reg[6] is i2c_test:inst|readData_reg[6] at LC_X11_Y9_N8
--operation mode is normal

B1_readData_reg[6]_lut_out = B1_readData_reg[5];
B1_readData_reg[6] = DFFEAS(B1_readData_reg[6]_lut_out, GLOBAL(clk), GLOBAL(reset), , B1L329, , , , );


--B1_readData_reg[5] is i2c_test:inst|readData_reg[5] at LC_X11_Y9_N9
--operation mode is normal

B1_readData_reg[5]_lut_out = B1_readData_reg[4];
B1_readData_reg[5] = DFFEAS(B1_readData_reg[5]_lut_out, GLOBAL(clk), GLOBAL(reset), , B1L329, , , , );


--B1_readData_reg[4] is i2c_test:inst|readData_reg[4] at LC_X11_Y9_N3
--operation mode is normal
--sload is tied to vcc, which is functionally the same as treating the sdata port as the data input.

B1_readData_reg[4]_lut_out = GND;
B1_readData_reg[4] = DFFEAS(B1_readData_reg[4]_lut_out, GLOBAL(clk), GLOBAL(reset), , B1L329, B1_readData_reg[3], , , VCC);


--B1L189 is i2c_test:inst|Mux~22844 at LC_X11_Y9_N6
--operation mode is normal
--sload is tied to vcc, which is functionally the same as treating the sdata port as the data input.

B1_readData_reg[7]_qfbk = B1_readData_reg[7];
B1L189 = !B1_readData_reg[6] & !B1_readData_reg[5] & !B1_readData_reg[7]_qfbk & !B1_readData_reg[4];

--B1_readData_reg[7] is i2c_test:inst|readData_reg[7] at LC_X11_Y9_N6
--operation mode is normal
--sload is tied to vcc, which is functionally the same as treating the sdata port as the data input.

B1_readData_reg[7] = DFFEAS(B1L189, GLOBAL(clk), GLOBAL(reset), , B1L329, B1_readData_reg[6], , , VCC);


--B1L190 is i2c_test:inst|Mux~22845 at LC_X11_Y9_N7
--operation mode is normal

B1L190 = B1_en_xhdl3[1] # B1_en_xhdl3[0] # B1L189;


--B1L191 is i2c_test:inst|Mux~22846 at LC_X10_Y10_N5
--operation mode is normal

B1L191 = B1L335 & !B1L337 & (B1L334 # !B1L336) # !B1L335 & (B1L337 & (B1L336) # !B1L337 & B1L334 & !B1L336);


--B1L192 is i2c_test:inst|Mux~22847 at LC_X12_Y10_N5
--operation mode is normal

B1L192 = B1L335 & (B1L334 & !B1L337) # !B1L335 & (B1L336 & (!B1L337) # !B1L336 & B1L334);


--B1L193 is i2c_test:inst|Mux~22848 at LC_X12_Y10_N4
--operation mode is normal

B1L193 = B1L335 & (B1L334 & B1L336 # !B1L334 & !B1L336 & B1L337) # !B1L335 & !B1L337 & (B1L334 $ B1L336);


--B1L194 is i2c_test:inst|Mux~22849 at LC_X11_Y10_N6
--operation mode is normal

B1L194 = B1L336 & B1L337 & (B1L335 # !B1L334) # !B1L336 & B1L335 & !B1L334 & !B1L337;


--B1L195 is i2c_test:inst|Mux~22850 at LC_X10_Y10_N1
--operation mode is normal

B1L195 = B1L335 & (B1L334 & B1L337 # !B1L334 & (B1L336)) # !B1L335 & B1L336 & (B1L334 $ B1L337);


--B1L196 is i2c_test:inst|Mux~22851 at LC_X10_Y10_N9
--operation mode is normal

B1L196 = B1L335 & B1L337 & B1L334 & !B1L336 # !B1L335 & (B1L336 $ (!B1L337 & B1L334));


--B1_cnt_scan[0] is i2c_test:inst|cnt_scan[0] at LC_X6_Y9_N4
--operation mode is arithmetic

B1_cnt_scan[0]_lut_out = !B1_cnt_scan[0];
B1_cnt_scan[0] = DFFEAS(B1_cnt_scan[0]_lut_out, GLOBAL(clk), GLOBAL(reset), , , , , , );

--B1L111 is i2c_test:inst|cnt_scan[0]~85 at LC_X6_Y9_N4
--operation mode is arithmetic

B1L111 = CARRY(B1_cnt_scan[0]);


--B1_cnt_scan[1] is i2c_test:inst|cnt_scan[1] at LC_X6_Y9_N5
--operation mode is arithmetic

B1_cnt_scan[1]_carry_eqn = B1L111;
B1_cnt_scan[1]_lut_out = B1_cnt_scan[1] $ (B1_cnt_scan[1]_carry_eqn);
B1_cnt_scan[1] = DFFEAS(B1_cnt_scan[1]_lut_out, GLOBAL(clk), GLOBAL(reset), , , , , , );

--B1L113 is i2c_test:inst|cnt_scan[1]~89 at LC_X6_Y9_N5
--operation mode is arithmetic

B1L113_cout_0 = !B1L111 # !B1_cnt_scan[1];
B1L113 = CARRY(B1L113_cout_0);

--B1L114 is i2c_test:inst|cnt_scan[1]~89COUT1_142 at LC_X6_Y9_N5
--operation mode is arithmetic

B1L114_cout_1 = !B1L111 # !B1_cnt_scan[1];
B1L114 = CARRY(B1L114_cout_1);


--B1_cnt_scan[2] is i2c_test:inst|cnt_scan[2] at LC_X6_Y9_N6
--operation mode is arithmetic

B1_cnt_scan[2]_carry_eqn = (!B1L111 & B1L113) # (B1L111 & B1L114);
B1_cnt_scan[2]_lut_out = B1_cnt_scan[2] $ (!B1_cnt_scan[2]_carry_eqn);
B1_cnt_scan[2] = DFFEAS(B1_cnt_scan[2]_lut_out, GLOBAL(clk), GLOBAL(reset), , , , , , );

--B1L116 is i2c_test:inst|cnt_scan[2]~93 at LC_X6_Y9_N6
--operation mode is arithmetic

B1L116_cout_0 = B1_cnt_scan[2] & (!B1L113);
B1L116 = CARRY(B1L116_cout_0);

--B1L117 is i2c_test:inst|cnt_scan[2]~93COUT1_144 at LC_X6_Y9_N6
--operation mode is arithmetic

B1L117_cout_1 = B1_cnt_scan[2] & (!B1L114);
B1L117 = CARRY(B1L117_cout_1);


--B1_cnt_scan[3] is i2c_test:inst|cnt_scan[3] at LC_X6_Y9_N7
--operation mode is arithmetic

B1_cnt_scan[3]_carry_eqn = (!B1L111 & B1L116) # (B1L111 & B1L117);
B1_cnt_scan[3]_lut_out = B1_cnt_scan[3] $ B1_cnt_scan[3]_carry_eqn;
B1_cnt_scan[3] = DFFEAS(B1_cnt_scan[3]_lut_out, GLOBAL(clk), GLOBAL(reset), , , , , , );

--B1L119 is i2c_test:inst|cnt_scan[3]~97 at LC_X6_Y9_N7
--operation mode is arithmetic

B1L119_cout_0 = !B1L116 # !B1_cnt_scan[3];
B1L119 = CARRY(B1L119_cout_0);

--B1L120 is i2c_test:inst|cnt_scan[3]~97COUT1_146 at LC_X6_Y9_N7
--operation mode is arithmetic

B1L120_cout_1 = !B1L117 # !B1_cnt_scan[3];
B1L120 = CARRY(B1L120_cout_1);


--B1L144 is i2c_test:inst|Equal~522 at LC_X6_Y9_N1
--operation mode is normal

B1L144 = B1_cnt_scan[1] & B1_cnt_scan[3] & B1_cnt_scan[0] & B1_cnt_scan[2];


--B1_cnt_scan[4] is i2c_test:inst|cnt_scan[4] at LC_X6_Y9_N8
--operation mode is arithmetic

B1_cnt_scan[4]_carry_eqn = (!B1L111 & B1L119) # (B1L111 & B1L120);
B1_cnt_scan[4]_lut_out = B1_cnt_scan[4] $ (!B1_cnt_scan[4]_carry_eqn);
B1_cnt_scan[4] = DFFEAS(B1_cnt_scan[4]_lut_out, GLOBAL(clk), GLOBAL(reset), , , , , , );

--B1L122 is i2c_test:inst|cnt_scan[4]~101 at LC_X6_Y9_N8
--operation mode is arithmetic

B1L122_cout_0 = B1_cnt_scan[4] & (!B1L119);
B1L122 = CARRY(B1L122_cout_0);

--B1L123 is i2c_test:inst|cnt_scan[4]~101COUT1_148 at LC_X6_Y9_N8
--operation mode is arithmetic

B1L123_cout_1 = B1_cnt_scan[4] & (!B1L120);
B1L123 = CARRY(B1L123_cout_1);


--B1_cnt_scan[5] is i2c_test:inst|cnt_scan[5] at LC_X6_Y9_N9
--operation mode is arithmetic

B1_cnt_scan[5]_carry_eqn = (!B1L111 & B1L122) # (B1L111 & B1L123);
B1_cnt_scan[5]_lut_out = B1_cnt_scan[5] $ B1_cnt_scan[5]_carry_eqn;
B1_cnt_scan[5] = DFFEAS(B1_cnt_scan[5]_lut_out, GLOBAL(clk), GLOBAL(reset), , , , , , );

--B1L125 is i2c_test:inst|cnt_scan[5]~105 at LC_X6_Y9_N9
--operation mode is arithmetic

B1L125 = CARRY(!B1L123 # !B1_cnt_scan[5]);


--B1_cnt_scan[6] is i2c_test:inst|cnt_scan[6] at LC_X7_Y9_N0
--operation mode is arithmetic

B1_cnt_scan[6]_carry_eqn = B1L125;
B1_cnt_scan[6]_lut_out = B1_cnt_scan[6] $ !B1_cnt_scan[6]_carry_eqn;
B1_cnt_scan[6] = DFFEAS(B1_cnt_scan[6]_lut_out, GLOBAL(clk), GLOBAL(reset), , , , , , );

--B1L127 is i2c_test:inst|cnt_scan[6]~109 at LC_X7_Y9_N0
--operation mode is arithmetic

B1L127_cout_0 = B1_cnt_scan[6] & !B1L125;
B1L127 = CARRY(B1L127_cout_0);

--B1L128 is i2c_test:inst|cnt_scan[6]~109COUT1_150 at LC_X7_Y9_N0
--operation mode is arithmetic

B1L128_cout_1 = B1_cnt_scan[6] & !B1L125;
B1L128 = CARRY(B1L128_cout_1);


--B1_cnt_scan[7] is i2c_test:inst|cnt_scan[7] at LC_X7_Y9_N1
--operation mode is arithmetic

B1_cnt_scan[7]_carry_eqn = (!B1L125 & B1L127) # (B1L125 & B1L128);
B1_cnt_scan[7]_lut_out = B1_cnt_scan[7] $ B1_cnt_scan[7]_carry_eqn;
B1_cnt_scan[7] = DFFEAS(B1_cnt_scan[7]_lut_out, GLOBAL(clk), GLOBAL(reset), , , , , , );

--B1L130 is i2c_test:inst|cnt_scan[7]~113 at LC_X7_Y9_N1
--operation mode is arithmetic

B1L130_cout_0 = !B1L127 # !B1_cnt_scan[7];
B1L130 = CARRY(B1L130_cout_0);

--B1L131 is i2c_test:inst|cnt_scan[7]~113COUT1_152 at LC_X7_Y9_N1
--operation mode is arithmetic

B1L131_cout_1 = !B1L128 # !B1_cnt_scan[7];
B1L131 = CARRY(B1L131_cout_1);


--B1L145 is i2c_test:inst|Equal~523 at LC_X7_Y9_N9
--operation mode is normal

B1L145 = B1_cnt_scan[4] & B1_cnt_scan[6] & B1_cnt_scan[5] & B1_cnt_scan[7];


--B1_cnt_scan[8] is i2c_test:inst|cnt_scan[8] at LC_X7_Y9_N2
--operation mode is arithmetic

B1_cnt_scan[8]_carry_eqn = (!B1L125 & B1L130) # (B1L125 & B1L131);
B1_cnt_scan[8]_lut_out = B1_cnt_scan[8] $ !B1_cnt_scan[8]_carry_eqn;
B1_cnt_scan[8] = DFFEAS(B1_cnt_scan[8]_lut_out, GLOBAL(clk), GLOBAL(reset), , , , , , );

--B1L133 is i2c_test:inst|cnt_scan[8]~117 at LC_X7_Y9_N2
--operation mode is arithmetic

B1L133_cout_0 = B1_cnt_scan[8] & !B1L130;
B1L133 = CARRY(B1L133_cout_0);

--B1L134 is i2c_test:inst|cnt_scan[8]~117COUT1_154 at LC_X7_Y9_N2
--operation mode is arithmetic

B1L134_cout_1 = B1_cnt_scan[8] & !B1L131;
B1L134 = CARRY(B1L134_cout_1);


--B1_cnt_scan[9] is i2c_test:inst|cnt_scan[9] at LC_X7_Y9_N3
--operation mode is arithmetic

B1_cnt_scan[9]_carry_eqn = (!B1L125 & B1L133) # (B1L125 & B1L134);
B1_cnt_scan[9]_lut_out = B1_cnt_scan[9] $ (B1_cnt_scan[9]_carry_eqn);
B1_cnt_scan[9] = DFFEAS(B1_cnt_scan[9]_lut_out, GLOBAL(clk), GLOBAL(reset), , , , , , );

--B1L136 is i2c_test:inst|cnt_scan[9]~121 at LC_X7_Y9_N3

⌨️ 快捷键说明

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