Skip to content

Latest commit

 

History

History
50 lines (38 loc) · 966 Bytes

README.md

File metadata and controls

50 lines (38 loc) · 966 Bytes

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