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

📄 uart.fit.eqn

📁 在VHDL上编写了UART通信协议
💻 EQN
📖 第 1 页 / 共 2 页
字号:
-- Copyright (C) 1991-2005 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.
--rxdcnt[0] is rxdcnt[0] at LC_X19_Y18_N0
--operation mode is arithmetic

rxdcnt[0]_lut_out = A1L77 $ rxdcnt[0];
rxdcnt[0] = DFFEAS(rxdcnt[0]_lut_out, GLOBAL(clk16), !GLOBAL(A1L151), , !cs, , , !receive, );

--A1L89 is rxdcnt[0]~83 at LC_X19_Y18_N0
--operation mode is arithmetic

A1L89_cout_0 = A1L77 & rxdcnt[0];
A1L89 = CARRY(A1L89_cout_0);

--A1L90 is rxdcnt[0]~83COUT1_99 at LC_X19_Y18_N0
--operation mode is arithmetic

A1L90_cout_1 = A1L77 & rxdcnt[0];
A1L90 = CARRY(A1L90_cout_1);


--rxdcnt[1] is rxdcnt[1] at LC_X19_Y18_N1
--operation mode is arithmetic

rxdcnt[1]_lut_out = rxdcnt[1] $ A1L89;
rxdcnt[1] = DFFEAS(rxdcnt[1]_lut_out, GLOBAL(clk16), !GLOBAL(A1L151), , !cs, , , !receive, );

--A1L92 is rxdcnt[1]~87 at LC_X19_Y18_N1
--operation mode is arithmetic

A1L92_cout_0 = !A1L89 # !rxdcnt[1];
A1L92 = CARRY(A1L92_cout_0);

--A1L93 is rxdcnt[1]~87COUT1 at LC_X19_Y18_N1
--operation mode is arithmetic

A1L93_cout_1 = !A1L90 # !rxdcnt[1];
A1L93 = CARRY(A1L93_cout_1);


--rxdcnt[2] is rxdcnt[2] at LC_X19_Y18_N2
--operation mode is arithmetic

rxdcnt[2]_lut_out = rxdcnt[2] $ (!A1L92);
rxdcnt[2] = DFFEAS(rxdcnt[2]_lut_out, GLOBAL(clk16), !GLOBAL(A1L151), , !cs, , , !receive, );

--A1L95 is rxdcnt[2]~91 at LC_X19_Y18_N2
--operation mode is arithmetic

A1L95_cout_0 = rxdcnt[2] & (!A1L92);
A1L95 = CARRY(A1L95_cout_0);

--A1L96 is rxdcnt[2]~91COUT1_100 at LC_X19_Y18_N2
--operation mode is arithmetic

A1L96_cout_1 = rxdcnt[2] & (!A1L93);
A1L96 = CARRY(A1L96_cout_1);


--rxdcnt[3] is rxdcnt[3] at LC_X19_Y18_N3
--operation mode is normal

rxdcnt[3]_lut_out = rxdcnt[3] $ (A1L95);
rxdcnt[3] = DFFEAS(rxdcnt[3]_lut_out, GLOBAL(clk16), !GLOBAL(A1L151), , !cs, , , !receive, );


--A1L153Q is txd~reg0 at LC_X8_Y18_N0
--operation mode is normal

A1L153Q_lut_out = !sst[2] & (!t_shift[0] & sst[1]);
A1L153Q = DFFEAS(A1L153Q_lut_out, GLOBAL(clk1), !GLOBAL(A1L151), , !cs, , , , );


--ssr[2] is ssr[2] at LC_X12_Y18_N7
--operation mode is normal

ssr[2]_lut_out = A1L109 # A1L78 & !A1L112 & !cs;
ssr[2] = DFFEAS(ssr[2]_lut_out, GLOBAL(clk1), !GLOBAL(A1L151), , , , , , );


--ssr[1] is ssr[1] at LC_X12_Y18_N5
--operation mode is normal

ssr[1]_lut_out = A1L107 # ssr[1] & (cs # A1L112);
ssr[1] = DFFEAS(ssr[1]_lut_out, GLOBAL(clk1), !GLOBAL(A1L151), , , , , , );


--ssr[0] is ssr[0] at LC_X12_Y18_N6
--operation mode is normal

ssr[0]_lut_out = !A1L38 & (ssr[0] # A1L111 & !ssr[2]);
ssr[0] = DFFEAS(ssr[0]_lut_out, GLOBAL(clk1), !GLOBAL(A1L151), , !cs, , , , );


--A1L78 is rtl~212 at LC_X13_Y18_N0
--operation mode is normal

A1L78 = !ssr[2] & !ssr[0] & !ssr[1];


--sst[2] is sst[2] at LC_X9_Y18_N7
--operation mode is normal

sst[2]_lut_out = cs & (sst[2]) # !cs & sst[1] & !sst[2] & !A1L80;
sst[2] = DFFEAS(sst[2]_lut_out, GLOBAL(clk1), !GLOBAL(A1L151), , , , , , );


--sst[1] is sst[1] at LC_X9_Y18_N1
--operation mode is normal

sst[1]_lut_out = cs & sst[1] # !cs & !sst[2] & (sst[1] # !wr);
sst[1] = DFFEAS(sst[1]_lut_out, GLOBAL(clk1), !GLOBAL(A1L151), , , , , , );


--A1L75 is rtl~1 at LC_X9_Y19_N2
--operation mode is normal

A1L75 = sst[2] & (sst[1]);


--A1L76 is rtl~2 at LC_X12_Y18_N9
--operation mode is normal

A1L76 = ssr[2] & ssr[0] & !ssr[1];


--t_shift[0] is t_shift[0] at LC_X8_Y18_N1
--operation mode is normal

t_shift[0]_lut_out = t_shift[1] & (!sst[2] & sst[1]);
t_shift[0] = DFFEAS(t_shift[0]_lut_out, GLOBAL(clk1), VCC, , A1L82, , , , );


--A1L151 is txd~1 at LC_X18_Y19_N5
--operation mode is normal

A1L151 = !rst & !cs;


--A1L109 is ssr[2]~591 at LC_X12_Y18_N2
--operation mode is normal

A1L109 = ssr[2] & (cs # ssr[0] & rd);


--A1L79 is rtl~213 at LC_X13_Y18_N8
--operation mode is normal

A1L79 = ssr[2] & (ssr[0]);


--over[0] is over[0] at LC_X13_Y18_N6
--operation mode is normal

over[0]_lut_out = !A1L45 & r_shift[11] & A1L63 & A1L78;
over[0] = DFFEAS(over[0]_lut_out, GLOBAL(clk16), !GLOBAL(A1L151), , A1L42, , , , );


--over[1] is over[1] at LC_X13_Y18_N4
--operation mode is normal

over[1]_lut_out = A1L63 & (A1L45 # !A1L78 # !r_shift[11]);
over[1] = DFFEAS(over[1]_lut_out, GLOBAL(clk16), !GLOBAL(A1L151), , A1L42, , , , );


--A1L110 is ssr[2]~592 at LC_X13_Y18_N3
--operation mode is normal

A1L110 = rd & (over[0] # !ssr[1] # !over[1]);


--A1L111 is ssr[2]~593 at LC_X13_Y18_N9
--operation mode is normal

A1L111 = over[0] $ (over[1]);


--A1L112 is ssr[2]~594 at LC_X13_Y18_N2
--operation mode is normal

A1L112 = A1L79 & (A1L110 # !A1L111 & A1L78) # !A1L79 & !A1L111 & (A1L78);


--A1L107 is ssr[1]~596 at LC_X13_Y18_N1
--operation mode is normal

A1L107 = !over[1] & A1L78 & !cs & over[0];


--A1L38 is Mux~247 at LC_X12_Y18_N3
--operation mode is normal

A1L38 = ssr[2] & ssr[0] & (!rd) # !ssr[2] & (ssr[0] # ssr[1]);


--txdcnt[1] is txdcnt[1] at LC_X12_Y18_N8
--operation mode is normal

txdcnt[1]_lut_out = txdcnt[1] $ (A1L81 & !cs & txdcnt[0]);
txdcnt[1] = DFFEAS(txdcnt[1]_lut_out, GLOBAL(clk1), !GLOBAL(A1L151), , , , , , );


--txdcnt[0] is txdcnt[0] at LC_X12_Y17_N5
--operation mode is normal

txdcnt[0]_lut_out = !txdcnt[0] & (txdcnt[1] # !txdcnt[2] # !txdcnt[3]);
txdcnt[0] = DFFEAS(txdcnt[0]_lut_out, GLOBAL(clk1), !GLOBAL(A1L151), , A1L150, , , , );


--txdcnt[3] is txdcnt[3] at LC_X12_Y17_N2
--operation mode is normal

txdcnt[3]_lut_out = txdcnt[3] & (txdcnt[1] $ txdcnt[0] # !txdcnt[2]) # !txdcnt[3] & txdcnt[1] & txdcnt[0] & txdcnt[2];
txdcnt[3] = DFFEAS(txdcnt[3]_lut_out, GLOBAL(clk1), !GLOBAL(A1L151), , A1L150, , , , );


--txdcnt[2] is txdcnt[2] at LC_X12_Y17_N4
--operation mode is normal

txdcnt[2]_lut_out = txdcnt[1] & (txdcnt[0] $ txdcnt[2]) # !txdcnt[1] & txdcnt[2] & (txdcnt[0] # !txdcnt[3]);
txdcnt[2] = DFFEAS(txdcnt[2]_lut_out, GLOBAL(clk1), !GLOBAL(A1L151), , A1L150, , , , );


--A1L80 is rtl~214 at LC_X12_Y18_N4
--operation mode is normal

A1L80 = txdcnt[0] # txdcnt[1] # !txdcnt[2] # !txdcnt[3];


--t_shift[1] is t_shift[1] at LC_X8_Y18_N8
--operation mode is normal

t_shift[1]_lut_out = sst[2] & (tbuf[0]) # !sst[2] & (sst[1] & t_shift[2] # !sst[1] & (tbuf[0]));
t_shift[1] = DFFEAS(t_shift[1]_lut_out, GLOBAL(clk1), VCC, , A1L82, , , , );


--A1L81 is rtl~215 at LC_X9_Y18_N2
--operation mode is normal

A1L81 = sst[1] & !sst[2];


--A1L82 is rtl~216 at LC_X9_Y18_N3
--operation mode is normal

A1L82 = !cs & rst & (A1L81 # !wr);


--r_shift[7] is r_shift[7] at LC_X17_Y18_N0
--operation mode is normal
--sload is tied to vcc, which is functionally the same as treating the sdata port as the data input.

r_shift[7]_lut_out = GND;
r_shift[7] = DFFEAS(r_shift[7]_lut_out, GLOBAL(clk16), !GLOBAL(A1L151), , A1L57, r_shift[8], , , VCC);


--A1L43 is process4~74 at LC_X18_Y18_N7
--operation mode is normal
--sload is tied to vcc, which is functionally the same as treating the sdata port as the data input.

r_shift[9]_qfbk = r_shift[9];
A1L43 = r_shift[6] $ r_shift[8] $ r_shift[9]_qfbk $ r_shift[7];

--r_shift[9] is r_shift[9] at LC_X18_Y18_N7
--operation mode is normal
--sload is tied to vcc, which is functionally the same as treating the sdata port as the data input.

r_shift[9] = DFFEAS(A1L43, GLOBAL(clk16), !GLOBAL(A1L151), , A1L57, r_shift[10], , , VCC);


--r_shift[3] is r_shift[3] at LC_X17_Y18_N1
--operation mode is normal
--sload is tied to vcc, which is functionally the same as treating the sdata port as the data input.

r_shift[3]_lut_out = GND;
r_shift[3] = DFFEAS(r_shift[3]_lut_out, GLOBAL(clk16), !GLOBAL(A1L151), , A1L57, r_shift[4], , , VCC);


--r_shift[2] is r_shift[2] at LC_X17_Y18_N9
--operation mode is normal

r_shift[2]_lut_out = r_shift[3];
r_shift[2] = DFFEAS(r_shift[2]_lut_out, GLOBAL(clk16), !GLOBAL(A1L151), , A1L57, , , , );


--A1L44 is process4~75 at LC_X18_Y18_N3
--operation mode is normal
--sload is tied to vcc, which is functionally the same as treating the sdata port as the data input.

r_shift[5]_qfbk = r_shift[5];
A1L44 = r_shift[3] $ r_shift[2] $ r_shift[5]_qfbk $ r_shift[4];

--r_shift[5] is r_shift[5] at LC_X18_Y18_N3
--operation mode is normal
--sload is tied to vcc, which is functionally the same as treating the sdata port as the data input.

r_shift[5] = DFFEAS(A1L44, GLOBAL(clk16), !GLOBAL(A1L151), , A1L57, r_shift[6], , , VCC);


--A1L45 is process4~76 at LC_X18_Y18_N2
--operation mode is normal

A1L45 = A1L44 $ (A1L43 $ r_shift[1]);


--r_shift[11] is r_shift[11] at LC_X13_Y18_N5
--operation mode is normal

r_shift[11]_lut_out = tem7 & (tem8 # rxd) # !tem7 & tem8 & rxd;
r_shift[11] = DFFEAS(r_shift[11]_lut_out, GLOBAL(clk16), !GLOBAL(A1L151), , A1L57, , , , );


--receive is receive at LC_X18_Y19_N8
--operation mode is normal

receive_lut_out = receive & (A1L83) # !receive & !rxd & (A1L142);
receive = DFFEAS(receive_lut_out, GLOBAL(clk16), !GLOBAL(A1L151), , !cs, , , , );


--sm2 is sm2 at LC_X18_Y19_N9
--operation mode is normal

sm2_lut_out = A1L100 & (sm2 & (!r_shift[6] # !A1L103) # !sm2 & !A1L103 & !r_shift[6]) # !A1L100 & sm2;
sm2 = DFFEAS(sm2_lut_out, GLOBAL(clk16), !GLOBAL(A1L151), , , , , , );


--A1L83 is rtl~217 at LC_X18_Y18_N4
--operation mode is normal

A1L83 = rxdcnt[0] # rxdcnt[1] # !rxdcnt[2] # !rxdcnt[3];


--A1L63 is rbuf[0]~58 at LC_X18_Y18_N5
--operation mode is normal
--sload is tied to vcc, which is functionally the same as treating the sdata port as the data input.

r_shift[10]_qfbk = r_shift[10];
A1L63 = !A1L83 & receive & !r_shift[10]_qfbk & sm2;

--r_shift[10] is r_shift[10] at LC_X18_Y18_N5
--operation mode is normal
--sload is tied to vcc, which is functionally the same as treating the sdata port as the data input.

r_shift[10] = DFFEAS(A1L63, GLOBAL(clk16), !GLOBAL(A1L151), , A1L57, r_shift[11], , , VCC);


--A1L42 is over[1]~231 at LC_X13_Y18_N7
--operation mode is normal

A1L42 = !cs & (A1L63 # !rd);


--A1L150 is txdcnt[3]~186 at LC_X9_Y18_N4
--operation mode is normal

A1L150 = !cs & sst[1] & !sst[2];


--rbuf[0] is rbuf[0] at LC_X18_Y18_N0
--operation mode is normal

rbuf[0]_lut_out = r_shift[1];
rbuf[0] = DFFEAS(rbuf[0]_lut_out, GLOBAL(clk16), VCC, , A1L62, , , , );


--rbuf[1] is rbuf[1] at LC_X17_Y18_N5
--operation mode is normal

rbuf[1]_lut_out = r_shift[2];
rbuf[1] = DFFEAS(rbuf[1]_lut_out, GLOBAL(clk16), VCC, , A1L62, , , , );


--rbuf[2] is rbuf[2] at LC_X14_Y18_N2
--operation mode is normal

rbuf[2]_lut_out = r_shift[3];
rbuf[2] = DFFEAS(rbuf[2]_lut_out, GLOBAL(clk16), VCC, , A1L62, , , , );


--rbuf[3] is rbuf[3] at LC_X14_Y18_N4
--operation mode is normal

rbuf[3]_lut_out = r_shift[4];
rbuf[3] = DFFEAS(rbuf[3]_lut_out, GLOBAL(clk16), VCC, , A1L62, , , , );


--rbuf[4] is rbuf[4] at LC_X18_Y18_N9
--operation mode is normal
--sload is tied to vcc, which is functionally the same as treating the sdata port as the data input.

rbuf[4]_lut_out = GND;
rbuf[4] = DFFEAS(rbuf[4]_lut_out, GLOBAL(clk16), VCC, , A1L62, r_shift[5], , , VCC);


--rbuf[5] is rbuf[5] at LC_X18_Y18_N8
--operation mode is normal
--sload is tied to vcc, which is functionally the same as treating the sdata port as the data input.

rbuf[5]_lut_out = GND;
rbuf[5] = DFFEAS(rbuf[5]_lut_out, GLOBAL(clk16), VCC, , A1L62, r_shift[6], , , VCC);


--rbuf[6] is rbuf[6] at LC_X14_Y18_N5
--operation mode is normal
--sload is tied to vcc, which is functionally the same as treating the sdata port as the data input.

rbuf[6]_lut_out = GND;
rbuf[6] = DFFEAS(rbuf[6]_lut_out, GLOBAL(clk16), VCC, , A1L62, r_shift[7], , , VCC);


--rbuf[7] is rbuf[7] at LC_X18_Y18_N1
--operation mode is normal
--sload is tied to vcc, which is functionally the same as treating the sdata port as the data input.

rbuf[7]_lut_out = GND;
rbuf[7] = DFFEAS(rbuf[7]_lut_out, GLOBAL(clk16), VCC, , A1L62, r_shift[8], , , VCC);


--t_shift[2] is t_shift[2] at LC_X8_Y18_N4
--operation mode is normal

t_shift[2]_lut_out = sst[2] & (tbuf[1]) # !sst[2] & (sst[1] & t_shift[3] # !sst[1] & (tbuf[1]));
t_shift[2] = DFFEAS(t_shift[2]_lut_out, GLOBAL(clk1), VCC, , A1L82, , , , );


--cnt[0] is cnt[0] at LC_X19_Y18_N5
--operation mode is normal

cnt[0]_lut_out = !cnt[0] & (A1L83 # !receive);

⌨️ 快捷键说明

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