mirror of
https://github.com/antonblanchard/microwatt.git
synced 2026-01-28 04:37:45 +00:00
Fix another reset issue in spi_rxtx
counter was X state after reset, initialize it. Signed-off-by: Anton Blanchard <anton@linux.ibm.com>
This commit is contained in:
committed by
Anton Blanchard
parent
39c826aa46
commit
a0eb4eec17
@@ -177,6 +177,7 @@ begin
|
||||
sck_send <= '0';
|
||||
sck_recv <= '0';
|
||||
clk_div <= 0;
|
||||
counter := 0;
|
||||
elsif counter = clk_div then
|
||||
counter := 0;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user