mirror of
https://github.com/openhwgroup/cvw.git
synced 2025-04-22 12:57:23 -04:00
Fixed clock edge for Design Compiler compatibility
This commit is contained in:
parent
e69d962e50
commit
a166b522e5
1 changed files with 1 additions and 1 deletions
|
@ -207,7 +207,7 @@ module spi_controller (
|
|||
// Aligned EXACTLY ON THE MIDDLE of the leading and trailing edges.
|
||||
// Sweeeeeeeeeet...
|
||||
assign InvertClock = ^SckMode;
|
||||
always_ff @(posedge ~PCLK) begin
|
||||
always_ff @(negedge PCLK) begin
|
||||
if (~PRESETn | TransmitStart) begin
|
||||
ShiftEdge <= 0;
|
||||
SampleEdge <= 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue