代码拉取完成,页面将自动刷新
/* NOTE: unfinished code */
/* FEC is composed of 2 portions, reed solomon and
* convolution code, applied in that order. On
* non-subchannelized data, RS is bypassed */
`include "rs.v"
`include "cc.v"
module fec
#(
parameter w = 1
)(
input reset, clk,
input [w-1:0] in_bits,
input in_valid,
output [w-1:0] out_bits,
output out_valid,
/* config */
input enable_rs,
input [1:0] cc_rate
);
/** RS **/
reg [w-1:0] rs_in_bits;
reg rs_in_valid;
wire [w-1:0] rs_out_bits;
wire rs_out_valid;
rs #(.w(w)) rs1 (reset, clk,
rs_in_bits,
rs_in_valid,
rs_out_bits,
rs_out_valid
);
/** **/
/** CC **/
reg [w-1:0] cc_in_bits;
reg cc_in_valid;
wire [w-1:0] cc_out_bits;
wire cc_out_valid;
cc #(.w(w)) cc1 (reset, clk,
cc_in_bits,
cc_in_valid,
cc_out_bits,
cc_out_valid,
cc_rate
);
/** **/
always @(posedge clk or posedge reset) begin
if (reset) begin
end else begin
end
end
always @(negedge clk or posedge reset) begin
if (reset) begin
end else begin
end
end
endmodule
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。