Skip to content

Module for load configuration from ClockBuilderPro to Si5340 PLL via i2c interface

Notifications You must be signed in to change notification settings

RDSik/si5340-config-loader

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

95 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Usage

Doc

Si5341, Si5340 Reference Manual

Dependencies

cocotb, pytest, python, chocolatey, winget

Installation

Download python and git:

Clone repository:

git clone https://github.com/RDSik/si5340-config-loader.git
cd si5340-config-loader

Download packages:

pip install six
pip install hdlmake
pip install cocotb
pip install pytest

Download make (add to PATH system variable the Make bin folder: C:\Program Files (x86)\GnuWin32\bin):

winget install GnuWin32.make

Create config.mem file

cd src
py config_parser.py .\Si5340-RevD-Si5340-Registers.txt

Simulation

Using cocotb (with 64 bit Python use 64 bit Modelsim):

py -m venv myenv
.\myenv\Scripts\activate.ps1
cd .\sim\si5340_config_loader_tb
py -m pytest test.py
deactivate