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

📄 hdlc.fit.eqn

📁 该工程是基于verilog hdl 语言编写的帧传输协议HDLC帧的发送端代码
💻 EQN
📖 第 1 页 / 共 2 页
字号:
--operation mode is normal

B1L41 = reset1 # B1_reset2;


--B1_count1[5] is control:control1|count1[5] at LC_X19_Y7_N7
--operation mode is normal

B1_count1[5]_lut_out = B1_count1[5] $ (B1L2 & B1_count1[4] & B1L52);
B1_count1[5] = DFFEAS(B1_count1[5]_lut_out, GLOBAL(clk), VCC, , , , , , );


--B1_count1[4] is control:control1|count1[4] at LC_X19_Y7_N9
--operation mode is normal

B1_count1[4]_lut_out = B1_count1[4] $ (B1L52 & B1L2);
B1_count1[4] = DFFEAS(B1_count1[4]_lut_out, GLOBAL(clk), VCC, , , , , , );


--B1_count1[2] is control:control1|count1[2] at LC_X20_Y7_N9
--operation mode is normal

B1_count1[2]_lut_out = B1_count1[2] $ (B1_count1[1] & B1_count1[0]);
B1_count1[2] = DFFEAS(B1_count1[2]_lut_out, GLOBAL(clk), VCC, , B1L52, , , , );


--B1L7 is control:control1|always0~266 at LC_X20_Y7_N5
--operation mode is normal

B1_count1[3]_qfbk = B1_count1[3];
B1L7 = !B1_count1[2] & B1_count1[5] & !B1_count1[3]_qfbk & B1_count1[4];

--B1_count1[3] is control:control1|count1[3] at LC_X20_Y7_N5
--operation mode is normal

B1_count1[3] = DFFEAS(B1L7, GLOBAL(clk), VCC, , B1L52, B1L3, , , VCC);


--B1_count1[1] is control:control1|count1[1] at LC_X20_Y6_N0
--operation mode is normal

B1_count1[1]_lut_out = B1_count1[1] $ B1_count1[0];
B1_count1[1] = DFFEAS(B1_count1[1]_lut_out, GLOBAL(clk), VCC, , B1L52, , , , );


--B1_count1[0] is control:control1|count1[0] at LC_X20_Y6_N1
--operation mode is normal

B1_count1[0]_lut_out = !B1_count1[0];
B1_count1[0] = DFFEAS(B1_count1[0]_lut_out, GLOBAL(clk), VCC, , B1L52, , , , );


--B1L8 is control:control1|always0~267 at LC_X20_Y7_N2
--operation mode is normal

B1L8 = !B1_count1[1] & (!B1_count1[0]);


--B1L9 is control:control1|always0~268 at LC_X20_Y7_N3
--operation mode is normal

B1L9 = F1_flag & B1L7 & !B1_en2 & B1L8;


--B1L01 is control:control1|always0~269 at LC_X20_Y7_N8
--operation mode is normal

B1L01 = F1_flag # B1_en2;


--B1L6 is control:control1|always0~11 at LC_X20_Y7_N0
--operation mode is normal

B1L6 = ept # B1L9 # !B1L01 # !B1_count2[3];


--B1L11 is control:control1|always0~270 at LC_X21_Y7_N9
--operation mode is normal

B1L11 = B1_count2[1] & B1_count2[2] & B1_count2[0];


--B1L21 is control:control1|always0~271 at LC_X20_Y7_N6
--operation mode is normal

B1L21 = !ept & (!B1_count2[3] & B1L11 # !B1L01);


--B1L51 is control:control1|comb~0 at LC_X20_Y7_N4
--operation mode is normal

B1L51 = B1L21 & (B1L6 & !B1L9);


--B1L61 is control:control1|comb~1 at LC_X20_Y7_N1
--operation mode is normal

B1L61 = B1L6 & (B1L9 # !B1L21);


--B1_en1 is control:control1|en1 at LC_X20_Y6_N9
--operation mode is normal

B1_en1 = !B1L61 & (B1L51 # !B1L6 & B1_en1);


--B1L1 is control:control1|LessThan~356 at LC_X21_Y7_N8
--operation mode is normal

B1L1 = !B1_count2[3] & (!B1_count2[0] # !B1_count2[1] # !B1_count2[2]);


--B1L31 is control:control1|always0~272 at LC_X21_Y7_N2
--operation mode is normal

B1L31 = !B1L9 & (ept # B1L01 & !B1_count2[3]);


--B1_en3 is control:control1|en3 at LC_X20_Y6_N4
--operation mode is normal

B1_en3 = B1L31 & !B1L1 & (ept) # !B1L31 & (B1_en3);


--B1L42 is control:control1|count1[5]~336 at LC_X20_Y6_N5
--operation mode is normal

B1L42 = B1_en1 & !ept & (B1_en3 # !B1_en2);


--B1L2 is control:control1|add~457 at LC_X19_Y7_N8
--operation mode is normal

B1L2 = B1_count1[1] & B1_count1[2] & B1_count1[0] & B1_count1[3];


--B1L3 is control:control1|add~458 at LC_X19_Y7_N0
--operation mode is normal

B1L3 = B1_count1[3] $ (B1_count1[1] & B1_count1[2] & B1_count1[0]);


--B1L84 is control:control1|sel1~246 at LC_X19_Y7_N4
--operation mode is normal

B1L84 = !B1_count1[5] & B1L2 & B1L94 & !B1L3;


--D1L7 is free:free1|count[3]~540 at LC_X22_Y6_N4
--operation mode is normal

D1L7 = D1_count[1] & (D1_count[3] # D1_count[0] & D1_count[2]) # !D1_count[1] & D1_count[3] & (D1_count[0] # D1_count[2]);


--F1_count[4] is shift32:shift|count[4] at LC_X18_Y6_N5
--operation mode is arithmetic

F1_count[4]_carry_eqn = (!F1L44 & GND) # (F1L44 & VCC);
F1_count[4]_lut_out = F1_count[4] $ F1_count[4]_carry_eqn;
F1_count[4] = DFFEAS(F1_count[4]_lut_out, GLOBAL(clk), VCC, , F1L94, ~GND, , , F1L84);

--F1L15 is shift32:shift|count[4]~263 at LC_X18_Y6_N5
--operation mode is arithmetic

F1L15_cout_0 = F1_count[4] # !F1L44;
F1L15 = CARRY(F1L15_cout_0);

--F1L25 is shift32:shift|count[4]~263COUT1_272 at LC_X18_Y6_N5
--operation mode is arithmetic

F1L25_cout_1 = F1_count[4] # !F1L44;
F1L25 = CARRY(F1L25_cout_1);


--F1L74 is shift32:shift|count[3]~266 at LC_X19_Y6_N8
--operation mode is normal

F1L74 = F1_count[0] # F1_count[3] # F1_count[5] # F1_count[1];


--F1L84 is shift32:shift|count[3]~267 at LC_X19_Y6_N9
--operation mode is normal

F1L84 = reset1 # !F1_count[2] & !F1_count[4] & !F1L74;


--F1L94 is shift32:shift|count[3]~268 at LC_X20_Y6_N2
--operation mode is normal

F1L94 = B1_en1 & !F1_flag & (reset1 # !B1_sel1);


--F1L31 is shift32:shift|add~236 at LC_X19_Y8_N7
--operation mode is arithmetic

F1L31 = F1_count1[2] $ F1L02;

--F1L41 is shift32:shift|add~238 at LC_X19_Y8_N7
--operation mode is arithmetic

F1L41_cout_0 = F1_count1[2] # !F1L02;
F1L41 = CARRY(F1L41_cout_0);

--F1L51 is shift32:shift|add~238COUT1_263 at LC_X19_Y8_N7
--operation mode is arithmetic

F1L51_cout_1 = F1_count1[2] # !F1L12;
F1L51 = CARRY(F1L51_cout_1);


--F1L62 is shift32:shift|always1~0 at LC_X20_Y6_N3
--operation mode is normal

F1L62 = !F1_flag & B1_en1;


--F1L61 is shift32:shift|add~241 at LC_X19_Y8_N5
--operation mode is arithmetic

F1L61 = !F1_count1[0];

--F1L71 is shift32:shift|add~243 at LC_X19_Y8_N5
--operation mode is arithmetic

F1L71_cout_0 = F1_count1[0];
F1L71 = CARRY(F1L71_cout_0);

--F1L81 is shift32:shift|add~243COUT1_262 at LC_X19_Y8_N5
--operation mode is arithmetic

F1L81_cout_1 = F1_count1[0];
F1L81 = CARRY(F1L81_cout_1);


--F1L91 is shift32:shift|add~246 at LC_X19_Y8_N6
--operation mode is arithmetic

F1L91 = F1_count1[1] $ !F1L71;

--F1L02 is shift32:shift|add~248 at LC_X19_Y8_N6
--operation mode is arithmetic

F1L02_cout_0 = !F1_count1[1] & !F1L71;
F1L02 = CARRY(F1L02_cout_0);

--F1L12 is shift32:shift|add~248COUT1 at LC_X19_Y8_N6
--operation mode is arithmetic

F1L12_cout_1 = !F1_count1[1] & !F1L81;
F1L12 = CARRY(F1L12_cout_1);


--F1L22 is shift32:shift|add~251 at LC_X19_Y8_N9
--operation mode is normal

F1L22 = F1L42 $ F1_count1[4];


--F1L32 is shift32:shift|add~256 at LC_X19_Y8_N8
--operation mode is arithmetic

F1L32 = F1_count1[3] $ !F1L41;

--F1L42 is shift32:shift|add~258 at LC_X19_Y8_N8
--operation mode is arithmetic

F1L42_cout_0 = !F1_count1[3] & !F1L41;
F1L42 = CARRY(F1L42_cout_0);

--F1L52 is shift32:shift|add~258COUT1_264 at LC_X19_Y8_N8
--operation mode is arithmetic

F1L52_cout_1 = !F1_count1[3] & !F1L51;
F1L52 = CARRY(F1L52_cout_1);


--F1L17 is shift32:shift|crc_reg[15]~252 at LC_X20_Y6_N8
--operation mode is normal

F1L17 = B1_en1 & !F1_flag & (reset1 # B1_sel1);


--F1_state.e3 is shift32:shift|state.e3 at LC_X21_Y5_N2
--operation mode is normal

F1_state.e3_lut_out = F1_crcout & F1_state.e2;
F1_state.e3 = DFFEAS(F1_state.e3_lut_out, GLOBAL(clk), VCC, , B1_en1, , , , );


--B1L4 is control:control1|add~461 at LC_X21_Y7_N3
--operation mode is normal

B1L4 = B1_count2[0] & B1_count2[1] & !B1_count2[3];


--B1L13 is control:control1|count2[3]~204 at LC_X21_Y6_N2
--operation mode is normal

B1L13 = reset1 # B1_reset2 # !B1_en3 & B1_en2;


--B1L44 is control:control1|reset2~395 at LC_X19_Y7_N1
--operation mode is normal

B1L44 = B1_en1 & B1L7 & !B1_count1[0] & !B1_count1[1];


--B1_count3[3] is control:control1|count3[3] at LC_X22_Y6_N3
--operation mode is normal

B1_count3[3]_lut_out = B1_count3[3] & (B1_count3[2] # B1_count3[1] # B1_count3[0]) # !B1_count3[3] & B1_count3[2] & B1_count3[1] & B1_count3[0];
B1_count3[3] = DFFEAS(B1_count3[3]_lut_out, GLOBAL(clk), VCC, , B1L83, , , , );


--B1_count3[2] is control:control1|count3[2] at LC_X21_Y6_N4
--operation mode is normal

B1_count3[2]_lut_out = B1L63 & !B1_count3[3] & (B1L5 $ B1_count3[2]) # !B1L63 & (B1_count3[2]);
B1_count3[2] = DFFEAS(B1_count3[2]_lut_out, GLOBAL(clk), VCC, , , , , , );


--B1_count3[1] is control:control1|count3[1] at LC_X21_Y6_N0
--operation mode is normal

B1_count3[1]_lut_out = B1L63 & !B1_count3[3] & (B1_count3[1] $ B1_count3[0]) # !B1L63 & (B1_count3[1]);
B1_count3[1] = DFFEAS(B1_count3[1]_lut_out, GLOBAL(clk), VCC, , , , , , );


--B1_count3[0] is control:control1|count3[0] at LC_X21_Y6_N7
--operation mode is normal

B1_count3[0]_lut_out = B1_count3[3] & B1_count3[0] & (!B1L54 # !B1L83) # !B1_count3[3] & (B1L83 $ B1_count3[0]);
B1_count3[0] = DFFEAS(B1_count3[0]_lut_out, GLOBAL(clk), VCC, , , , , , );


--B1L54 is control:control1|reset2~396 at LC_X21_Y6_N6
--operation mode is normal

B1L54 = !B1_count3[0] & !B1_count3[1] & !B1_count3[2];


--B1L64 is control:control1|reset2~397 at LC_X22_Y6_N0
--operation mode is normal

B1L64 = B1L54 & B1_en3 & (B1_count3[3]);


--B1L52 is control:control1|count1[5]~337 at LC_X20_Y6_N6
--operation mode is normal

B1L52 = !B1L41 & B1L42 & (!B1_count1[4] # !B1_count1[5]);


--F1_state.e2 is shift32:shift|state.e2 at LC_X21_Y5_N1
--operation mode is normal

F1_state.e2_lut_out = F1_crcout & F1_state.e1;
F1_state.e2 = DFFEAS(F1_state.e2_lut_out, GLOBAL(clk), VCC, , B1_en1, , , , );


--B1L83 is control:control1|count3[3]~8 at LC_X21_Y6_N8
--operation mode is normal

B1L83 = B1_en3 & ept & !B1_reset2 & !reset1;


--B1L5 is control:control1|add~462 at LC_X22_Y6_N9
--operation mode is normal

B1L5 = B1_count3[1] & B1_count3[0];


--B1L63 is control:control1|count3[2]~420 at LC_X21_Y6_N5
--operation mode is normal

B1L63 = B1L83 & (B1L54 # !B1_count3[3]);


--F1_state.e1 is shift32:shift|state.e1 at LC_X21_Y5_N6
--operation mode is normal

F1_state.e1_lut_out = F1_state.e0 & F1_crcout;
F1_state.e1 = DFFEAS(F1_state.e1_lut_out, GLOBAL(clk), VCC, , B1_en1, , , , );


--F1_state.e0 is shift32:shift|state.e0 at LC_X21_Y5_N8
--operation mode is normal

F1_state.e0_lut_out = !F1_crcout # !F1_state.e4;
F1_state.e0 = DFFEAS(F1_state.e0_lut_out, GLOBAL(clk), VCC, , B1_en1, , , , );


--B1L94 is control:control1|sel1~248 at LC_X19_Y7_N2
--operation mode is normal

B1L94 = B1_count1[1] & B1_count1[0] & B1_count1[4] & B1_count1[2];


--D1L5 is free:free1|count[2]~533 at LC_X22_Y6_N1
--operation mode is normal

D1L5 = D1_count[2] $ (D1_count[1] & D1_count[0] & !D1_count[3]);


--~GND is ~GND at LC_X18_Y6_N7
--operation mode is normal

~GND = GND;


--ept is ept at PIN_41
--operation mode is input

ept = INPUT();


--clk is clk at PIN_10
--operation mode is input

clk = INPUT();


--reset1 is reset1 at PIN_84
--operation mode is input

reset1 = INPUT();


--dout is dout at PIN_47
--operation mode is output

dout = OUTPUT(E1L2);


--dout1 is dout1 at PIN_57
--operation mode is output

dout1 = OUTPUT(F1_crcout);


--dout2 is dout2 at PIN_56
--operation mode is output

dout2 = OUTPUT(C1_dout);


--dout3 is dout3 at PIN_55
--operation mode is output

dout3 = OUTPUT(D1_dout);


--dout4 is dout4 at PIN_54
--operation mode is output

dout4 = OUTPUT(F1L87);


--din is din at PIN_21
--operation mode is output

din = OUTPUT(GND);


--flag is flag at PIN_48
--operation mode is output

flag = OUTPUT(F1_flag);


--en1 is en1 at PIN_40
--operation mode is output

en1 = OUTPUT(B1_en1);


--en2 is en2 at PIN_68
--operation mode is output

en2 = OUTPUT(B1_en2);


--en3 is en3 at PIN_65
--operation mode is output

en3 = OUTPUT(B1_en3);


--sel1 is sel1 at PIN_42
--operation mode is output

sel1 = OUTPUT(B1_sel1);


--sel2 is sel2 at PIN_79
--operation mode is output

sel2 = OUTPUT(B1_sel2);


--sel3 is sel3 at PIN_24
--operation mode is output

sel3 = OUTPUT(GND);


--clkout is clkout at PIN_71
--operation mode is output

clkout = OUTPUT(GND);




⌨️ 快捷键说明

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