
m序列,其中本源函数为x15+x14+1
单bit输出:
`timescale 1ns / 1ps
//////////////////////////////////////////////////////////////////////////////////
// Company:
// Engineer:
//
// Create Date: 2024/10/17 11:56:43
// Design Name:
// Module Name: LFSR15_C001
// Project Name:
// Target Devices:
// Tool Versions:
// Description:
//
// Dependencies:
//
// Revision:
// Revision 0.01 - File Created
// Additional Comments:
//
//////////////////////////////////////////////////////////////////////////////////
module LFSR15_C001(
input clk,
input reset,
output reg [14:0] LFSR = 15'b00000_000000_11111,
output reg pn_out,
output reg [7:0]bit_counter
);
always @(posedge clk)
begin
if (reset)
begin
LFSR = 15'b00000_0

最低0.47元/天 解锁文章
931

被折叠的 条评论
为什么被折叠?



