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

📄 uart.fit.eqn

📁 在VHDL上编写了UART通信协议
💻 EQN
📖 第 1 页 / 共 2 页
字号:
cnt[0] = DFFEAS(cnt[0]_lut_out, GLOBAL(clk16), !GLOBAL(A1L151), , A1L10, , , , );


--cnt[3] is cnt[3] at LC_X19_Y18_N6
--operation mode is normal

cnt[3]_lut_out = receive & A1L83 & (A1L84 $ cnt[3]) # !receive & (A1L84 $ (cnt[3]));
cnt[3] = DFFEAS(cnt[3]_lut_out, GLOBAL(clk16), !GLOBAL(A1L151), , A1L10, , , , );


--cnt[2] is cnt[2] at LC_X19_Y18_N8
--operation mode is normal

cnt[2]_lut_out = receive & A1L83 & (A1L2 $ cnt[2]) # !receive & (A1L2 $ (cnt[2]));
cnt[2] = DFFEAS(cnt[2]_lut_out, GLOBAL(clk16), !GLOBAL(A1L151), , A1L10, , , , );


--cnt[1] is cnt[1] at LC_X19_Y18_N9
--operation mode is normal

cnt[1]_lut_out = A1L83 & (cnt[1] $ cnt[0]) # !A1L83 & !receive & (cnt[1] $ cnt[0]);
cnt[1] = DFFEAS(cnt[1]_lut_out, GLOBAL(clk16), !GLOBAL(A1L151), , A1L10, , , , );


--A1L56 is r_shift[9]~229 at LC_X17_Y18_N4
--operation mode is normal

A1L56 = !cnt[1] & !cnt[2] & cnt[3];


--A1L57 is r_shift[9]~230 at LC_X17_Y18_N2
--operation mode is normal

A1L57 = !cs & cnt[0] & (A1L56);


--tem8 is tem8 at LC_X18_Y19_N6
--operation mode is normal

tem8_lut_out = A1L142 & (cs & (tem8) # !cs & rxd) # !A1L142 & (tem8);
tem8 = DFFEAS(tem8_lut_out, GLOBAL(clk16), !GLOBAL(A1L151), , , , , , );


--tem7 is tem7 at LC_X18_Y19_N0
--operation mode is normal

tem7_lut_out = cnt[3] & tem7 # !cnt[3] & (A1L140 & (rxd) # !A1L140 & tem7);
tem7 = DFFEAS(tem7_lut_out, GLOBAL(clk16), !GLOBAL(A1L151), , , , , , );


--A1L142 is tem8~89 at LC_X19_Y18_N4
--operation mode is normal

A1L142 = !cnt[2] & !cnt[1] & !cnt[0] & cnt[3];


--A1L99 is sm2~374 at LC_X17_Y18_N6
--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[1]_qfbk = r_shift[1];
A1L99 = r_shift[1]_qfbk & r_shift[10];

--r_shift[1] is r_shift[1] at LC_X17_Y18_N6
--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[1] = DFFEAS(A1L99, GLOBAL(clk16), !GLOBAL(A1L151), , A1L57, r_shift[2], , , VCC);


--A1L100 is sm2~375 at LC_X18_Y19_N7
--operation mode is normal

A1L100 = receive & !cs & !A1L83 & A1L99;


--A1L101 is sm2~376 at LC_X17_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[4]_qfbk = r_shift[4];
A1L101 = r_shift[2] & (r_shift[3] # !r_shift[4]_qfbk) # !r_shift[2] & !r_shift[4]_qfbk & r_shift[3];

--r_shift[4] is r_shift[4] at LC_X17_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[4] = DFFEAS(A1L101, GLOBAL(clk16), !GLOBAL(A1L151), , A1L57, r_shift[5], , , VCC);


--A1L102 is sm2~377 at LC_X17_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[8]_qfbk = r_shift[8];
A1L102 = r_shift[4] & (r_shift[7] & r_shift[8]_qfbk # !sm2) # !r_shift[4] & !sm2 & (r_shift[7] # r_shift[8]_qfbk);

--r_shift[8] is r_shift[8] at LC_X17_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[8] = DFFEAS(A1L102, GLOBAL(clk16), !GLOBAL(A1L151), , A1L57, r_shift[9], , , VCC);


--A1L103 is sm2~378 at LC_X17_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.

r_shift[6]_qfbk = r_shift[6];
A1L103 = A1L102 & (r_shift[5] & A1L101 # !r_shift[6]_qfbk) # !A1L102 & !r_shift[6]_qfbk & (r_shift[5] # A1L101);

--r_shift[6] is r_shift[6] at LC_X17_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.

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


--A1L77 is rtl~13 at LC_X19_Y18_N7
--operation mode is normal

A1L77 = cnt[2] & cnt[1] & cnt[0] & cnt[3];


--A1L62 is rbuf[0]~7 at LC_X18_Y18_N6
--operation mode is normal

A1L62 = !A1L45 & !cs & rst & A1L63;


--t_shift[3] is t_shift[3] at LC_X9_Y18_N8
--operation mode is normal

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


--A1L10 is cnt[3]~238 at LC_X18_Y19_N2
--operation mode is normal

A1L10 = !cs & (receive # !rxd);


--A1L84 is rtl~218 at LC_X18_Y19_N3
--operation mode is normal

A1L84 = cnt[1] & cnt[2] & cnt[0];


--A1L2 is add~278 at LC_X18_Y19_N1
--operation mode is normal

A1L2 = cnt[1] & (cnt[0]);


--A1L140 is tem7~93 at LC_X18_Y19_N4
--operation mode is normal

A1L140 = cnt[0] & !cs & cnt[2] & cnt[1];


--t_shift[4] is t_shift[4] at LC_X9_Y18_N9
--operation mode is normal

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


--t_shift[5] is t_shift[5] at LC_X8_Y18_N9
--operation mode is normal

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


--t_shift[6] is t_shift[6] at LC_X8_Y18_N2
--operation mode is normal

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


--t_shift[7] is t_shift[7] at LC_X8_Y18_N6
--operation mode is normal

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


--t_shift[8] is t_shift[8] at LC_X9_Y18_N0
--operation mode is normal

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


--t_shift[9] is t_shift[9] at LC_X9_Y18_N6
--operation mode is normal

t_shift[9]_lut_out = A1L81 & (t_shift[10]) # !A1L81 & (A1L129 $ (A1L128));
t_shift[9] = DFFEAS(t_shift[9]_lut_out, GLOBAL(clk1), VCC, , A1L82, , , , );


--t_shift[10] is t_shift[10] at LC_X9_Y18_N5
--operation mode is normal

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


--A1L128 is t_shift~481 at LC_X9_Y17_N6
--operation mode is normal

A1L128 = tbuf[1] $ tbuf[2] $ tbuf[3] $ tbuf[0];


--A1L129 is t_shift~482 at LC_X8_Y18_N5
--operation mode is normal

A1L129 = tbuf[6] $ tbuf[7] $ tbuf[5] $ tbuf[4];


--tbuf[0] is tbuf[0] at LC_X9_Y17_N5
--operation mode is normal

tbuf[0] = GLOBAL(wr) & (tbuf[0]) # !GLOBAL(wr) & A1L14;


--tbuf[1] is tbuf[1] at LC_X9_Y17_N3
--operation mode is normal

tbuf[1] = GLOBAL(wr) & (tbuf[1]) # !GLOBAL(wr) & A1L17;


--tbuf[2] is tbuf[2] at LC_X9_Y17_N1
--operation mode is normal

tbuf[2] = GLOBAL(wr) & (tbuf[2]) # !GLOBAL(wr) & A1L20;


--tbuf[3] is tbuf[3] at LC_X9_Y17_N7
--operation mode is normal

tbuf[3] = GLOBAL(wr) & (tbuf[3]) # !GLOBAL(wr) & A1L23;


--tbuf[4] is tbuf[4] at LC_X8_Y18_N3
--operation mode is normal

tbuf[4] = GLOBAL(wr) & (tbuf[4]) # !GLOBAL(wr) & A1L26;


--tbuf[5] is tbuf[5] at LC_X8_Y18_N7
--operation mode is normal

tbuf[5] = GLOBAL(wr) & (tbuf[5]) # !GLOBAL(wr) & A1L29;


--tbuf[6] is tbuf[6] at LC_X9_Y10_N2
--operation mode is normal

tbuf[6] = GLOBAL(wr) & (tbuf[6]) # !GLOBAL(wr) & A1L32;


--tbuf[7] is tbuf[7] at LC_X12_Y15_N2
--operation mode is normal

tbuf[7] = GLOBAL(wr) & tbuf[7] # !GLOBAL(wr) & (A1L35);


--A1L14 is data[0]~7 at PIN_Y15
--operation mode is bidir

A1L14 = data[0];

--data[0] is data[0] at PIN_Y15
--operation mode is bidir

data[0]_tri_out = TRI(rbuf[0], !rd);
data[0] = BIDIR(data[0]_tri_out);


--A1L17 is data[1]~6 at PIN_AB15
--operation mode is bidir

A1L17 = data[1];

--data[1] is data[1] at PIN_AB15
--operation mode is bidir

data[1]_tri_out = TRI(rbuf[1], !rd);
data[1] = BIDIR(data[1]_tri_out);


--A1L20 is data[2]~5 at PIN_AB16
--operation mode is bidir

A1L20 = data[2];

--data[2] is data[2] at PIN_AB16
--operation mode is bidir

data[2]_tri_out = TRI(rbuf[2], !rd);
data[2] = BIDIR(data[2]_tri_out);


--A1L23 is data[3]~4 at PIN_AA15
--operation mode is bidir

A1L23 = data[3];

--data[3] is data[3] at PIN_AA15
--operation mode is bidir

data[3]_tri_out = TRI(rbuf[3], !rd);
data[3] = BIDIR(data[3]_tri_out);


--A1L26 is data[4]~3 at PIN_AA16
--operation mode is bidir

A1L26 = data[4];

--data[4] is data[4] at PIN_AA16
--operation mode is bidir

data[4]_tri_out = TRI(rbuf[4], !rd);
data[4] = BIDIR(data[4]_tri_out);


--A1L29 is data[5]~2 at PIN_T15
--operation mode is bidir

A1L29 = data[5];

--data[5] is data[5] at PIN_T15
--operation mode is bidir

data[5]_tri_out = TRI(rbuf[5], !rd);
data[5] = BIDIR(data[5]_tri_out);


--A1L32 is data[6]~1 at PIN_W16
--operation mode is bidir

A1L32 = data[6];

--data[6] is data[6] at PIN_W16
--operation mode is bidir

data[6]_tri_out = TRI(rbuf[6], !rd);
data[6] = BIDIR(data[6]_tri_out);


--A1L35 is data[7]~0 at PIN_V15
--operation mode is bidir

A1L35 = data[7];

--data[7] is data[7] at PIN_V15
--operation mode is bidir

data[7]_tri_out = TRI(rbuf[7], !rd);
data[7] = BIDIR(data[7]_tri_out);


--txd is txd at PIN_F17
--operation mode is output

txd = OUTPUT(!A1L153Q);


--ri is ri at PIN_K20
--operation mode is output

ri = OUTPUT(!A1L78);


--ti is ti at PIN_D16
--operation mode is output

ti = OUTPUT(A1L75);


--err is err at PIN_K16
--operation mode is output

err = OUTPUT(A1L76);


--clk1 is clk1 at PIN_L3
--operation mode is input

clk1 = INPUT();


--cs is cs at PIN_K14
--operation mode is input

cs = INPUT();


--rst is rst at PIN_L22
--operation mode is input

rst = INPUT();


--rd is rd at PIN_N16
--operation mode is input

rd = INPUT();


--wr is wr at PIN_M2
--operation mode is input

wr = INPUT();


--clk16 is clk16 at PIN_L2
--operation mode is input

clk16 = INPUT();


--rxd is rxd at PIN_E14
--operation mode is input

rxd = INPUT();


--ad is ad at PIN_G16
--operation mode is input

ad = INPUT();



⌨️ 快捷键说明

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