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

📄 uart.map.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]
--operation mode is arithmetic

rxdcnt[0]_lut_out = A1L85 $ rxdcnt[0];
rxdcnt[0] = DFFEAS(rxdcnt[0]_lut_out, clk16, !A1L156, , !cs, , , !receive, );

--A1L97 is rxdcnt[0]~83
--operation mode is arithmetic

A1L97 = CARRY(A1L85 & rxdcnt[0]);


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

rxdcnt[1]_carry_eqn = A1L97;
rxdcnt[1]_lut_out = rxdcnt[1] $ (rxdcnt[1]_carry_eqn);
rxdcnt[1] = DFFEAS(rxdcnt[1]_lut_out, clk16, !A1L156, , !cs, , , !receive, );

--A1L99 is rxdcnt[1]~87
--operation mode is arithmetic

A1L99 = CARRY(!A1L97 # !rxdcnt[1]);


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

rxdcnt[2]_carry_eqn = A1L99;
rxdcnt[2]_lut_out = rxdcnt[2] $ (!rxdcnt[2]_carry_eqn);
rxdcnt[2] = DFFEAS(rxdcnt[2]_lut_out, clk16, !A1L156, , !cs, , , !receive, );

--A1L101 is rxdcnt[2]~91
--operation mode is arithmetic

A1L101 = CARRY(rxdcnt[2] & (!A1L99));


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

rxdcnt[3]_carry_eqn = A1L101;
rxdcnt[3]_lut_out = rxdcnt[3] $ (rxdcnt[3]_carry_eqn);
rxdcnt[3] = DFFEAS(rxdcnt[3]_lut_out, clk16, !A1L156, , !cs, , , !receive, );


--txd is txd
txd = OUTPUT(A1L157);


--ri is ri
ri = OUTPUT(A1L93);


--ti is ti
ti = OUTPUT(A1L83);


--err is err
err = OUTPUT(A1L84);


--data[0] is data[0]
data[0] = BIDIR(A1L16);


--data[1] is data[1]
data[1] = BIDIR(A1L20);


--data[2] is data[2]
data[2] = BIDIR(A1L24);


--data[3] is data[3]
data[3] = BIDIR(A1L28);


--data[4] is data[4]
data[4] = BIDIR(A1L32);


--data[5] is data[5]
data[5] = BIDIR(A1L36);


--data[6] is data[6]
data[6] = BIDIR(A1L40);


--data[7] is data[7]
data[7] = BIDIR(A1L44);


--A1L158Q is txd~reg0
--operation mode is normal

A1L158Q_lut_out = !sst[2] & !t_shift[0] & (sst[1]);
A1L158Q = DFFEAS(A1L158Q_lut_out, clk1, !A1L156, , !cs, , , , );


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

ssr[2]_lut_out = A1L114 # A1L86 & !cs & !A1L117;
ssr[2] = DFFEAS(ssr[2]_lut_out, clk1, !A1L156, , , , , , );


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

ssr[1]_lut_out = A1L112 # ssr[1] & (cs # A1L117);
ssr[1] = DFFEAS(ssr[1]_lut_out, clk1, !A1L156, , , , , , );


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

ssr[0]_lut_out = !A1L46 & (ssr[0] # !ssr[2] & A1L116);
ssr[0] = DFFEAS(ssr[0]_lut_out, clk1, !A1L156, , !cs, , , , );


--A1L86 is rtl~212
--operation mode is normal

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


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

sst[2]_lut_out = sst[2] & cs # !sst[2] & !cs & sst[1] & !A1L88;
sst[2] = DFFEAS(sst[2]_lut_out, clk1, !A1L156, , , , , , );


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

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


--A1L83 is rtl~1
--operation mode is normal

A1L83 = sst[2] & sst[1];


--A1L84 is rtl~2
--operation mode is normal

A1L84 = ssr[2] & ssr[0] & (!ssr[1]);


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

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


--clk1 is clk1
clk1 = INPUT();


--cs is cs
cs = INPUT();


--rst is rst
rst = INPUT();


--A1L156 is txd~1
--operation mode is normal

A1L156 = !cs & !rst;


--rd is rd
rd = INPUT();


--A1L114 is ssr[2]~591
--operation mode is normal

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


--A1L87 is rtl~213
--operation mode is normal

A1L87 = ssr[2] & ssr[0];


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

over[0]_lut_out = !A1L53 & A1L86 & r_shift[11] & A1L71;
over[0] = DFFEAS(over[0]_lut_out, clk16, !A1L156, , A1L50, , , , );


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

over[1]_lut_out = A1L71 & (A1L53 # !r_shift[11] # !A1L86);
over[1] = DFFEAS(over[1]_lut_out, clk16, !A1L156, , A1L50, , , , );


--A1L115 is ssr[2]~592
--operation mode is normal

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


--A1L116 is ssr[2]~593
--operation mode is normal

A1L116 = over[1] $ over[0];


--A1L117 is ssr[2]~594
--operation mode is normal

A1L117 = A1L87 & (A1L115 # A1L86 & !A1L116) # !A1L87 & (A1L86 & !A1L116);


--A1L112 is ssr[1]~596
--operation mode is normal

A1L112 = A1L86 & over[0] & !cs & !over[1];


--A1L46 is Mux~247
--operation mode is normal

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


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

txdcnt[1]_lut_out = txdcnt[1] $ (!cs & A1L89 & txdcnt[0]);
txdcnt[1] = DFFEAS(txdcnt[1]_lut_out, clk1, !A1L156, , , , , , );


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

txdcnt[0]_lut_out = !txdcnt[0] & (txdcnt[1] # !txdcnt[2] # !txdcnt[3]);
txdcnt[0] = DFFEAS(txdcnt[0]_lut_out, clk1, !A1L156, , A1L155, , , , );


--txdcnt[3] is txdcnt[3]
--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, clk1, !A1L156, , A1L155, , , , );


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

txdcnt[2]_lut_out = txdcnt[1] & (txdcnt[2] $ txdcnt[0]) # !txdcnt[1] & txdcnt[2] & (txdcnt[0] # !txdcnt[3]);
txdcnt[2] = DFFEAS(txdcnt[2]_lut_out, clk1, !A1L156, , A1L155, , , , );


--A1L88 is rtl~214
--operation mode is normal

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


--wr is wr
wr = INPUT();


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

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


--A1L89 is rtl~215
--operation mode is normal

A1L89 = sst[1] & (!sst[2]);


--A1L90 is rtl~216
--operation mode is normal

A1L90 = rst & !cs & (A1L89 # !wr);


--r_shift[9] is r_shift[9]
--operation mode is normal

r_shift[9]_lut_out = r_shift[10];
r_shift[9] = DFFEAS(r_shift[9]_lut_out, clk16, !A1L156, , A1L65, , , , );


--r_shift[8] is r_shift[8]
--operation mode is normal

r_shift[8]_lut_out = r_shift[9];
r_shift[8] = DFFEAS(r_shift[8]_lut_out, clk16, !A1L156, , A1L65, , , , );


--r_shift[7] is r_shift[7]
--operation mode is normal

r_shift[7]_lut_out = r_shift[8];
r_shift[7] = DFFEAS(r_shift[7]_lut_out, clk16, !A1L156, , A1L65, , , , );


--r_shift[6] is r_shift[6]
--operation mode is normal

r_shift[6]_lut_out = r_shift[7];
r_shift[6] = DFFEAS(r_shift[6]_lut_out, clk16, !A1L156, , A1L65, , , , );


--A1L51 is process4~74
--operation mode is normal

A1L51 = r_shift[9] $ r_shift[8] $ r_shift[7] $ r_shift[6];


--r_shift[1] is r_shift[1]
--operation mode is normal

r_shift[1]_lut_out = r_shift[2];
r_shift[1] = DFFEAS(r_shift[1]_lut_out, clk16, !A1L156, , A1L65, , , , );


--r_shift[5] is r_shift[5]
--operation mode is normal

r_shift[5]_lut_out = r_shift[6];
r_shift[5] = DFFEAS(r_shift[5]_lut_out, clk16, !A1L156, , A1L65, , , , );


--r_shift[4] is r_shift[4]
--operation mode is normal

r_shift[4]_lut_out = r_shift[5];
r_shift[4] = DFFEAS(r_shift[4]_lut_out, clk16, !A1L156, , A1L65, , , , );


--r_shift[3] is r_shift[3]
--operation mode is normal

r_shift[3]_lut_out = r_shift[4];
r_shift[3] = DFFEAS(r_shift[3]_lut_out, clk16, !A1L156, , A1L65, , , , );


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

r_shift[2]_lut_out = r_shift[3];
r_shift[2] = DFFEAS(r_shift[2]_lut_out, clk16, !A1L156, , A1L65, , , , );


--A1L52 is process4~75
--operation mode is normal

A1L52 = r_shift[5] $ r_shift[4] $ r_shift[3] $ r_shift[2];


--A1L53 is process4~76
--operation mode is normal

A1L53 = A1L51 $ r_shift[1] $ A1L52;


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

r_shift[11]_lut_out = tem8 & (rxd # tem7) # !tem8 & rxd & tem7;
r_shift[11] = DFFEAS(r_shift[11]_lut_out, clk16, !A1L156, , A1L65, , , , );


--receive is receive
--operation mode is normal

receive_lut_out = receive & A1L91 # !receive & (A1L147 & !rxd);
receive = DFFEAS(receive_lut_out, clk16, !A1L156, , !cs, , , , );


--sm2 is sm2
--operation mode is normal

sm2_lut_out = A1L105 & (sm2 & (!A1L108 # !r_shift[6]) # !sm2 & !r_shift[6] & !A1L108) # !A1L105 & sm2;
sm2 = DFFEAS(sm2_lut_out, clk16, !A1L156, , , , , , );


--A1L91 is rtl~217
--operation mode is normal

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


--r_shift[10] is r_shift[10]
--operation mode is normal

r_shift[10]_lut_out = r_shift[11];
r_shift[10] = DFFEAS(r_shift[10]_lut_out, clk16, !A1L156, , A1L65, , , , );


--A1L71 is rbuf[0]~58
--operation mode is normal

A1L71 = receive & sm2 & !A1L91 & !r_shift[10];


--clk16 is clk16
clk16 = INPUT();


⌨️ 快捷键说明

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