Skip to content

Commit

Permalink
minor edits, qpsram
Browse files Browse the repository at this point in the history
  • Loading branch information
sylefeb committed Oct 31, 2023
1 parent d16833d commit 254de73
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions projects/common/qpsram2x.si
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,7 @@ $$end
//
// **IMPORTANT**: If the QPSRAM chip has just been powered up, pulse `init`
// once to initialize the QPI mode, and wait for `busy` to be low again.
// Do not leave init floating!
//
// >>> Otherwise the interface will NOT work <<<
//
Expand Down Expand Up @@ -125,7 +126,6 @@ unit qpsram_ram(

uint32 sendvec(0);

// qpsram_qspi spi<reginputs>(
qpsram_qspi spi(
clk :> ram_clk,
csn :> ram_csn,
Expand Down Expand Up @@ -240,11 +240,11 @@ $$if SIMULATION then
//__display("[%d] qpsram [4] (%x|%x) w:%b in_ready:%b accept_in:%b",cycle,rdata,wdata,wenable,in_ready,accept_in);
$$end
}
case 5: {
stage = 0;
wait = 14;
after = 1;
}
case 5: {
stage = 0;
wait = 14;
after = 1;
}
} // switch

// start sending?
Expand Down

0 comments on commit 254de73

Please sign in to comment.