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

📄 randn.map.eqn

📁 随机序列发生器,是一个m序列,生成函数都写在里面,位宽为4,可以改变!
💻 EQN
字号:
-- 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.
--A1L8Q is Dout[0]~reg0
--operation mode is normal

A1L8Q_lut_out = A1L01Q # !A1L8Q & !A1L21Q & !A1L41Q;
A1L8Q = DFFEAS(A1L8Q_lut_out, clk, VCC, , , , , , );


--A1L01Q is Dout[1]~reg0
--operation mode is normal

A1L01Q_lut_out = A1L21Q;
A1L01Q = DFFEAS(A1L01Q_lut_out, clk, VCC, , , , , , );


--A1L21Q is Dout[2]~reg0
--operation mode is normal

A1L21Q_lut_out = A1L41Q;
A1L21Q = DFFEAS(A1L21Q_lut_out, clk, VCC, , , , , , );


--A1L41Q is Dout[3]~reg0
--operation mode is normal

A1L41Q_lut_out = A1L51 $ A1L61 $ (A1L01Q & Cin[1]);
A1L41Q = DFFEAS(A1L41Q_lut_out, clk, VCC, , , , , , );


--A1L51 is Dout~91
--operation mode is normal

A1L51 = A1L41Q & Cin[3];


--A1L61 is Dout~92
--operation mode is normal

A1L61 = A1L8Q & (Cin[0] $ (Cin[2] & A1L21Q)) # !A1L8Q & Cin[2] & (A1L21Q);


--clk is clk
--operation mode is input

clk = INPUT();


--Cin[1] is Cin[1]
--operation mode is input

Cin[1] = INPUT();


--Cin[3] is Cin[3]
--operation mode is input

Cin[3] = INPUT();


--Cin[2] is Cin[2]
--operation mode is input

Cin[2] = INPUT();


--Cin[0] is Cin[0]
--operation mode is input

Cin[0] = INPUT();


--Dout[0] is Dout[0]
--operation mode is output

Dout[0] = OUTPUT(A1L8Q);


--Dout[1] is Dout[1]
--operation mode is output

Dout[1] = OUTPUT(A1L01Q);


--Dout[2] is Dout[2]
--operation mode is output

Dout[2] = OUTPUT(A1L21Q);


--Dout[3] is Dout[3]
--operation mode is output

Dout[3] = OUTPUT(A1L41Q);


--out is out
--operation mode is output

out = OUTPUT(A1L8Q);


⌨️ 快捷键说明

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