m序列的verilog实现
摘要:
module mxulie( clk, rst, ena, m_out, load ); input clk; input rst; input ena; output reg m_out; output reg load;reg [11:0] shift;always @(posedge clk) begin if(!rst) begin m_out <= 1'b0; load <= 1'b0; shift <= 12'b1111_1111_1111; end else begin if(ena) begin //shift[0] <= ( s 阅读全文
posted @ 2012-04-01 13:24 chenfengfei 阅读(2813) 评论(0) 推荐(2) 编辑