Commit Graph

9 Commits

Author SHA1 Message Date
morgan 0a66f4c343 fix helper PLL glitches
sim: rename collector to phase_collector
sim: add period_collector for gtx tags
sim: trigger helper PLL after period_collector_r
sim: remove cycle slip compensation
sim: generator gtx in time loop
wave_gen: replace square generator with phase accumulator
wave_gen&wrpll: add white_noise generator
docs: remove section & png about cycle slipping and deglitcher failure
2023-12-12 13:32:22 +08:00
morgan da5908e754 sim: improve code style and cleanup
sim & wave_gen: use njit instead of jit(nopython=True)
sim: removing extra == 1
wrapper: remove unused import
2023-12-12 10:27:22 +08:00
morgan 4b098c0a54 add README.md
readme: add quick start and installation docs
readme: add sim limitation with images
2023-12-05 14:58:41 +08:00
morgan 3f6e525108 add notebook examples with 3 PLL modes 2023-12-05 14:58:20 +08:00
morgan 96280ac79a WRPLL simulation wrapper
wrpll: add gtx, base_adpll init
wrpll: config the 3 PLL modes, helper, main & both
wrpll: expose PID terms and sim options
2023-12-05 13:24:22 +08:00
morgan cbc9772efa WRPLL time domain simulation
wave_gen: add square wave with jitter generator
sim: add WRPLL gateware and firmware simulation
sim: add PID for main and helper PLL
sim: add options to choose PLL modes
sim: add cycle slip compensation for helper PLL
sim: optimize execution time with numba jit
2023-12-05 13:23:23 +08:00
morgan 72f47668c9 git: ignore .venv folder 2023-12-05 10:44:16 +08:00
morgan d92214bd4e add python dependencies and update flake
py: add requirements.txt
flake: add pip hook & update to 23.11
flake: add flake lock
2023-12-05 10:41:58 +08:00
morgan 4975093f41 init 2023-11-16 11:53:22 +08:00