mirror of
https://github.com/jhshi/openofdm.git
synced 2024-12-19 05:38:10 +00:00
fix viterbi decoder logging issue
This commit is contained in:
parent
fe93170efc
commit
2747d431f9
@ -334,7 +334,7 @@ always @(posedge clock) begin
|
|||||||
$fflush(deinterleave_erase_out_fd);
|
$fflush(deinterleave_erase_out_fd);
|
||||||
end
|
end
|
||||||
|
|
||||||
if ((dot11_inst.state == S_MPDU_DELIM || dot11_inst.state == S_DECODE_DATA || dot11_inst.state == S_MPDU_PAD) && dot11_inst.conv_decoder_out_stb) begin
|
if ((dot11_inst.state == S_MPDU_DELIM || dot11_inst.state == S_DECODE_DATA || dot11_inst.state == S_MPDU_PAD) && dot11_inst.conv_decoder_out_stb && dot11_inst.ofdm_decoder_inst.reset==0) begin
|
||||||
$fwrite(conv_out_fd, "%d %b\n", iq_count, dot11_inst.conv_decoder_out);
|
$fwrite(conv_out_fd, "%d %b\n", iq_count, dot11_inst.conv_decoder_out);
|
||||||
$fflush(conv_out_fd);
|
$fflush(conv_out_fd);
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user