论文中,随机码m序列不是关键,可以自己写出来,找书上现成的例子,简单点找个16位的。
也可以用VHDL语言描述,
architecture behave ofmcodearray is
begin
p rocess( clk)
begin
if ( clk‘event and clk = ’1’) then ———在时钟上升沿
if ( en = ’1’) then ———如果使能信号
为‘1’时
qout (0) < = ’1’; ———并行输出64
位伪随机序列
qout (1) < = ’0’
⋯⋯⋯⋯⋯⋯⋯⋯.
qout (62) < = ’1’;
qout (63) < = ’0’;
else
for I in 63 downto 0 loop ———当使能信号为‘0’时
qout ( i) < = ’0’; ———并行输出全‘0’
end loop;
end if;
end if;
end p rocess;
end behav;