Have valid crc when valid signal is present
Previously the crc would be reset after 1 clock cycle while the valid signal was still high. Now the data is preserved in the valid state until the load signal is asserted.
This commit is contained in:
@@ -95,6 +95,7 @@ always_comb begin
|
|||||||
|
|
||||||
VALID: begin
|
VALID: begin
|
||||||
valid = ~load;
|
valid = ~load;
|
||||||
|
next_data = data;
|
||||||
crc_out = data[6:0];
|
crc_out = data[6:0];
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user