forked from M-Labs/artiq
1
0
Fork 0

coredevice/suservo: Adjust T_CYCLE to match gateware

See GitHub #1338.
This commit is contained in:
David Nadlinger 2019-07-17 00:20:22 +01:00
parent f7e10759dc
commit 280915d54f
1 changed files with 1 additions and 1 deletions

View File

@ -12,7 +12,7 @@ WE = 1 << COEFF_DEPTH + 1
STATE_SEL = 1 << COEFF_DEPTH STATE_SEL = 1 << COEFF_DEPTH
CONFIG_SEL = 1 << COEFF_DEPTH - 1 CONFIG_SEL = 1 << COEFF_DEPTH - 1
CONFIG_ADDR = CONFIG_SEL | STATE_SEL CONFIG_ADDR = CONFIG_SEL | STATE_SEL
T_CYCLE = (2*(8 + 64) + 2 + 1)*8*ns T_CYCLE = (2*(8 + 64) + 2)*8*ns # Must match gateware Servo.t_cycle.
COEFF_SHIFT = 11 COEFF_SHIFT = 11