aboutsummaryrefslogtreecommitdiffstats
path: root/spi_master.v
diff options
context:
space:
mode:
authorGravatar Peter McGoron 2022-07-21 01:53:38 -0400
committerGravatar Peter McGoron 2022-07-21 01:53:38 -0400
commita879e31949717c0fc2614079516dc66dd9408d19 (patch)
tree41147bae7cddd2d5860d1c64c7523fe66a5e6476 /spi_master.v
parentmode 00, write from slave to master works (diff)
cleanup, add ready pin to slave
Diffstat (limited to 'spi_master.v')
-rw-r--r--spi_master.v2
1 files changed, 1 insertions, 1 deletions
diff --git a/spi_master.v b/spi_master.v
index f3e67a1..5610119 100644
--- a/spi_master.v
+++ b/spi_master.v
@@ -2,7 +2,7 @@ module spi_master
#(
parameter WID = 24, // Width of bits per transaction.
parameter WID_LEN = 5, // Length in bits required to store WID
- parameter CYCLE_HALF_WAIT = 3, // Half of the wait time of a cycle
+ parameter CYCLE_HALF_WAIT = 1, // Half of the wait time of a cycle
parameter TIMER_LEN = 3, // Length in bits required to store CYCLE_HALF_WAIT
parameter POLARITY = 0, // 0 = sck idle low, 1 = sck idle high
parameter PHASE = 0 // 0 = rising-read falling-write, 1 = rising-write falling-read.