phone.map.eqn
来自「卡式计费电话电路,用verilogHDL编写,主要完成模拟真实电话的功能」· EQN 代码 · 共 2,423 行 · 第 1/5 页
EQN
2,423 行
--operation mode is arithmetic
D1L99 = CARRY(!D1L79 # !D1_num1[7]);
--D1_num1[4] is account2:inst2|num1[4]
--operation mode is arithmetic
D1_num1[4]_carry_eqn = D1L19;
D1_num1[4]_lut_out = D1_num1[4] $ (!D1_num1[4]_carry_eqn);
D1_num1[4] = DFFEAS(D1_num1[4]_lut_out, B1_clkout, VCC, , , , , D1L401, );
--D1L39 is account2:inst2|num1[4]~612
--operation mode is arithmetic
D1L39 = CARRY(D1_num1[4] & (!D1L19));
--D1_num1[5] is account2:inst2|num1[5]
--operation mode is arithmetic
D1_num1[5]_carry_eqn = D1L39;
D1_num1[5]_lut_out = D1_num1[5] $ (D1_num1[5]_carry_eqn);
D1_num1[5] = DFFEAS(D1_num1[5]_lut_out, B1_clkout, VCC, , , , , D1L401, );
--D1L59 is account2:inst2|num1[5]~616
--operation mode is arithmetic
D1L59 = CARRY(!D1L39 # !D1_num1[5]);
--D1L832 is account2:inst2|reduce_nor~942
--operation mode is normal
D1L832 = D1_num1[6] # D1_num1[7] # !D1_num1[5] # !D1_num1[4];
--D1_num1[8] is account2:inst2|num1[8]
--operation mode is arithmetic
D1_num1[8]_carry_eqn = D1L99;
D1_num1[8]_lut_out = D1_num1[8] $ (!D1_num1[8]_carry_eqn);
D1_num1[8] = DFFEAS(D1_num1[8]_lut_out, B1_clkout, VCC, , , , , D1L401, );
--D1L101 is account2:inst2|num1[8]~620
--operation mode is arithmetic
D1L101 = CARRY(D1_num1[8] & (!D1L99));
--D1_num1[9] is account2:inst2|num1[9]
--operation mode is arithmetic
D1_num1[9]_carry_eqn = D1L101;
D1_num1[9]_lut_out = D1_num1[9] $ (D1_num1[9]_carry_eqn);
D1_num1[9] = DFFEAS(D1_num1[9]_lut_out, B1_clkout, VCC, , , , , D1L401, );
--D1L301 is account2:inst2|num1[9]~624
--operation mode is arithmetic
D1L301 = CARRY(!D1L101 # !D1_num1[9]);
--D1_num1[10] is account2:inst2|num1[10]
--operation mode is arithmetic
D1_num1[10]_carry_eqn = D1L301;
D1_num1[10]_lut_out = D1_num1[10] $ (!D1_num1[10]_carry_eqn);
D1_num1[10] = DFFEAS(D1_num1[10]_lut_out, B1_clkout, VCC, , , , , D1L401, );
--D1L601 is account2:inst2|num1[10]~628
--operation mode is arithmetic
D1L601 = CARRY(D1_num1[10] & (!D1L301));
--D1_num1[11] is account2:inst2|num1[11]
--operation mode is arithmetic
D1_num1[11]_carry_eqn = D1L601;
D1_num1[11]_lut_out = D1_num1[11] $ (D1_num1[11]_carry_eqn);
D1_num1[11] = DFFEAS(D1_num1[11]_lut_out, B1_clkout, VCC, , , , , D1L401, );
--D1L801 is account2:inst2|num1[11]~632
--operation mode is arithmetic
D1L801 = CARRY(!D1L601 # !D1_num1[11]);
--D1L932 is account2:inst2|reduce_nor~943
--operation mode is normal
D1L932 = D1_num1[8] # D1_num1[9] # D1_num1[10] # D1_num1[11];
--D1_num1[12] is account2:inst2|num1[12]
--operation mode is arithmetic
D1_num1[12]_carry_eqn = D1L801;
D1_num1[12]_lut_out = D1_num1[12] $ (!D1_num1[12]_carry_eqn);
D1_num1[12] = DFFEAS(D1_num1[12]_lut_out, B1_clkout, VCC, , , , , D1L401, );
--D1L011 is account2:inst2|num1[12]~636
--operation mode is arithmetic
D1L011 = CARRY(D1_num1[12] & (!D1L801));
--D1_num1[13] is account2:inst2|num1[13]
--operation mode is arithmetic
D1_num1[13]_carry_eqn = D1L011;
D1_num1[13]_lut_out = D1_num1[13] $ (D1_num1[13]_carry_eqn);
D1_num1[13] = DFFEAS(D1_num1[13]_lut_out, B1_clkout, VCC, , , , , D1L401, );
--D1L211 is account2:inst2|num1[13]~640
--operation mode is arithmetic
D1L211 = CARRY(!D1L011 # !D1_num1[13]);
--D1_num1[14] is account2:inst2|num1[14]
--operation mode is arithmetic
D1_num1[14]_carry_eqn = D1L211;
D1_num1[14]_lut_out = D1_num1[14] $ (!D1_num1[14]_carry_eqn);
D1_num1[14] = DFFEAS(D1_num1[14]_lut_out, B1_clkout, VCC, , , , , D1L401, );
--D1L411 is account2:inst2|num1[14]~644
--operation mode is arithmetic
D1L411 = CARRY(D1_num1[14] & (!D1L211));
--D1_num1[15] is account2:inst2|num1[15]
--operation mode is arithmetic
D1_num1[15]_carry_eqn = D1L411;
D1_num1[15]_lut_out = D1_num1[15] $ (D1_num1[15]_carry_eqn);
D1_num1[15] = DFFEAS(D1_num1[15]_lut_out, B1_clkout, VCC, , , , , D1L401, );
--D1L611 is account2:inst2|num1[15]~648
--operation mode is arithmetic
D1L611 = CARRY(!D1L411 # !D1_num1[15]);
--D1L042 is account2:inst2|reduce_nor~944
--operation mode is normal
D1L042 = D1_num1[12] # D1_num1[13] # D1_num1[14] # D1_num1[15];
--D1L142 is account2:inst2|reduce_nor~945
--operation mode is normal
D1L142 = D1L732 # D1L832 # D1L932 # D1L042;
--D1_num1[18] is account2:inst2|num1[18]
--operation mode is arithmetic
D1_num1[18]_carry_eqn = D1L021;
D1_num1[18]_lut_out = D1_num1[18] $ (!D1_num1[18]_carry_eqn);
D1_num1[18] = DFFEAS(D1_num1[18]_lut_out, B1_clkout, VCC, , , , , D1L401, );
--D1L221 is account2:inst2|num1[18]~652
--operation mode is arithmetic
D1L221 = CARRY(D1_num1[18] & (!D1L021));
--D1_num1[19] is account2:inst2|num1[19]
--operation mode is arithmetic
D1_num1[19]_carry_eqn = D1L221;
D1_num1[19]_lut_out = D1_num1[19] $ (D1_num1[19]_carry_eqn);
D1_num1[19] = DFFEAS(D1_num1[19]_lut_out, B1_clkout, VCC, , , , , D1L401, );
--D1L421 is account2:inst2|num1[19]~656
--operation mode is arithmetic
D1L421 = CARRY(!D1L221 # !D1_num1[19]);
--D1_num1[16] is account2:inst2|num1[16]
--operation mode is arithmetic
D1_num1[16]_carry_eqn = D1L611;
D1_num1[16]_lut_out = D1_num1[16] $ (!D1_num1[16]_carry_eqn);
D1_num1[16] = DFFEAS(D1_num1[16]_lut_out, B1_clkout, VCC, , , , , D1L401, );
--D1L811 is account2:inst2|num1[16]~660
--operation mode is arithmetic
D1L811 = CARRY(D1_num1[16] & (!D1L611));
--D1_num1[17] is account2:inst2|num1[17]
--operation mode is arithmetic
D1_num1[17]_carry_eqn = D1L811;
D1_num1[17]_lut_out = D1_num1[17] $ (D1_num1[17]_carry_eqn);
D1_num1[17] = DFFEAS(D1_num1[17]_lut_out, B1_clkout, VCC, , , , , D1L401, );
--D1L021 is account2:inst2|num1[17]~664
--operation mode is arithmetic
D1L021 = CARRY(!D1L811 # !D1_num1[17]);
--D1L242 is account2:inst2|reduce_nor~946
--operation mode is normal
D1L242 = D1_num1[16] # D1_num1[17];
--D1_num1[20] is account2:inst2|num1[20]
--operation mode is arithmetic
D1_num1[20]_carry_eqn = D1L421;
D1_num1[20]_lut_out = D1_num1[20] $ (!D1_num1[20]_carry_eqn);
D1_num1[20] = DFFEAS(D1_num1[20]_lut_out, B1_clkout, VCC, , , , , D1L401, );
--D1L621 is account2:inst2|num1[20]~668
--operation mode is arithmetic
D1L621 = CARRY(D1_num1[20] & (!D1L421));
--D1_num1[21] is account2:inst2|num1[21]
--operation mode is arithmetic
D1_num1[21]_carry_eqn = D1L621;
D1_num1[21]_lut_out = D1_num1[21] $ (D1_num1[21]_carry_eqn);
D1_num1[21] = DFFEAS(D1_num1[21]_lut_out, B1_clkout, VCC, , , , , D1L401, );
--D1L821 is account2:inst2|num1[21]~672
--operation mode is arithmetic
D1L821 = CARRY(!D1L621 # !D1_num1[21]);
--D1_num1[22] is account2:inst2|num1[22]
--operation mode is arithmetic
D1_num1[22]_carry_eqn = D1L821;
D1_num1[22]_lut_out = D1_num1[22] $ (!D1_num1[22]_carry_eqn);
D1_num1[22] = DFFEAS(D1_num1[22]_lut_out, B1_clkout, VCC, , , , , D1L401, );
--D1L031 is account2:inst2|num1[22]~676
--operation mode is arithmetic
D1L031 = CARRY(D1_num1[22] & (!D1L821));
--D1_num1[23] is account2:inst2|num1[23]
--operation mode is arithmetic
D1_num1[23]_carry_eqn = D1L031;
D1_num1[23]_lut_out = D1_num1[23] $ (D1_num1[23]_carry_eqn);
D1_num1[23] = DFFEAS(D1_num1[23]_lut_out, B1_clkout, VCC, , , , , D1L401, );
--D1L231 is account2:inst2|num1[23]~680
--operation mode is arithmetic
D1L231 = CARRY(!D1L031 # !D1_num1[23]);
--D1L342 is account2:inst2|reduce_nor~947
--operation mode is normal
D1L342 = D1_num1[20] # D1_num1[21] # D1_num1[22] # D1_num1[23];
--D1L442 is account2:inst2|reduce_nor~948
--operation mode is normal
D1L442 = D1_num1[18] # D1_num1[19] # D1L242 # D1L342;
--D1_num1[24] is account2:inst2|num1[24]
--operation mode is arithmetic
D1_num1[24]_carry_eqn = D1L231;
D1_num1[24]_lut_out = D1_num1[24] $ (!D1_num1[24]_carry_eqn);
D1_num1[24] = DFFEAS(D1_num1[24]_lut_out, B1_clkout, VCC, , , , , D1L401, );
--D1L431 is account2:inst2|num1[24]~684
--operation mode is arithmetic
D1L431 = CARRY(D1_num1[24] & (!D1L231));
--D1_num1[25] is account2:inst2|num1[25]
--operation mode is arithmetic
D1_num1[25]_carry_eqn = D1L431;
D1_num1[25]_lut_out = D1_num1[25] $ (D1_num1[25]_carry_eqn);
D1_num1[25] = DFFEAS(D1_num1[25]_lut_out, B1_clkout, VCC, , , , , D1L401, );
--D1L631 is account2:inst2|num1[25]~688
--operation mode is arithmetic
D1L631 = CARRY(!D1L431 # !D1_num1[25]);
--D1_num1[26] is account2:inst2|num1[26]
--operation mode is arithmetic
D1_num1[26]_carry_eqn = D1L631;
D1_num1[26]_lut_out = D1_num1[26] $ (!D1_num1[26]_carry_eqn);
D1_num1[26] = DFFEAS(D1_num1[26]_lut_out, B1_clkout, VCC, , , , , D1L401, );
--D1L831 is account2:inst2|num1[26]~692
--operation mode is arithmetic
D1L831 = CARRY(D1_num1[26] & (!D1L631));
--D1_num1[27] is account2:inst2|num1[27]
--operation mode is arithmetic
D1_num1[27]_carry_eqn = D1L831;
D1_num1[27]_lut_out = D1_num1[27] $ (D1_num1[27]_carry_eqn);
D1_num1[27] = DFFEAS(D1_num1[27]_lut_out, B1_clkout, VCC, , , , , D1L401, );
--D1L041 is account2:inst2|num1[27]~696
--operation mode is arithmetic
D1L041 = CARRY(!D1L831 # !D1_num1[27]);
--D1L542 is account2:inst2|reduce_nor~949
--operation mode is normal
D1L542 = D1_num1[24] # D1_num1[25] # D1_num1[26] # D1_num1[27];
--D1_num1[28] is account2:inst2|num1[28]
--operation mode is arithmetic
D1_num1[28]_carry_eqn = D1L041;
D1_num1[28]_lut_out = D1_num1[28] $ (!D1_num1[28]_carry_eqn);
D1_num1[28] = DFFEAS(D1_num1[28]_lut_out, B1_clkout, VCC, , , , , D1L401, );
--D1L241 is account2:inst2|num1[28]~700
--operation mode is arithmetic
D1L241 = CARRY(D1_num1[28] & (!D1L041));
--D1_num1[29] is account2:inst2|num1[29]
--operation mode is arithmetic
D1_num1[29]_carry_eqn = D1L241;
D1_num1[29]_lut_out = D1_num1[29] $ (D1_num1[29]_carry_eqn);
D1_num1[29] = DFFEAS(D1_num1[29]_lut_out, B1_clkout, VCC, , , , , D1L401, );
--D1L441 is account2:inst2|num1[29]~704
--operation mode is arithmetic
D1L441 = CARRY(!D1L241 # !D1_num1[29]);
--D1_num1[30] is account2:inst2|num1[30]
--operation mode is arithmetic
D1_num1[30]_carry_eqn = D1L441;
D1_num1[30]_lut_out = D1_num1[30] $ (!D1_num1[30]_carry_eqn);
D1_num1[30] = DFFEAS(D1_num1[30]_lut_out, B1_clkout, VCC, , , , , D1L401, );
--D1L641 is account2:inst2|num1[30]~708
--operation mode is arithmetic
D1L641 = CARRY(D1_num1[30] & (!D1L441));
--D1_num1[31] is account2:inst2|num1[31]
--operation mode is normal
D1_num1[31]_carry_eqn = D1L641;
D1_num1[31]_lut_out = D1_num1[31] $ (D1_num1[31]_carry_eqn);
D1_num1[31] = DFFEAS(D1_num1[31]_lut_out, B1_clkout, VCC, , , , , D1L401, );
--D1L642 is account2:inst2|reduce_nor~950
--operation mode is normal
D1L642 = D1_num1[28] # D1_num1[29] # D1_num1[30] # D1_num1[31];
--D1L212 is account2:inst2|reduce_nor~4
--operation mode is normal
D1L212 = D1L142 # D1L442 # D1L542 # D1L642;
--D1L82 is account2:inst2|cut_decide~125
--operation mode is normal
D1L82 = D1_decide_reg[1] & (!D1_decide_reg[0]);
--D1L92 is account2:inst2|cut_decide~126
--operation mode is normal
D1L92 = D1_cut_decide # D1L82 & !D1_warn & !D1L9;
--D1L03 is account2:inst2|cut_decide~127
--operation mode is normal
D1L03 = D1_cut_decide # !D1_warn & !D1L8;
--D1L1 is account2:inst2|Decoder~16
--operation mode is normal
D1L1 = D1_decide_reg[0] & (!D1_decide_reg[1]);
--D1L213 is account2:inst2|temp[28]~763
--operation mode is normal
D1L213 = D1_cut_decide # !D1L312 # !D1_warn # !D1_currentState;
--D1L401 is account2:inst2|num1[9]~715
--operation mode is normal
D1L401 = !D1L212 # !D1_state_reg;
--D1L01 is account2:inst2|LessThan~1025
--operation mode is normal
D1L01 = D1L47 & (!D1L57) # !D1L47 & D1L57 & (D1_money[0] $ set_money_low);
--D1L152 is account2:inst2|state_reg~332
--operation mode is normal
D1L152 = D1_decide_reg[0] # D1_decide_reg[1] & D1L9;
--D1L32 is account2:inst2|add~3859
--operation mode is normal
D1L32 = D1L17 $ (D1L37 # D1_money[4] $ set_money_high);
--card is card
--operation mode is input
card = INPUT();
--set_money_low is set_money_low
--operation mode is input
set_money_low = INPUT();
--set_money_high is set_money_high
--operation mode is input
set_money_high = INPUT();
--state is state
--operation mode is input
state = INPUT();
--clk is clk
--operation mode is input
clk = INPUT();
--decide[0] is decide[
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?