Example Scripts
The Efinity® software includes example scripts to help you get starting with writing your own.
| Location | Script | Description |
|---|---|---|
| project/pt_demo/script | build_ptdemo.py | Creates an interface for the pt_demo project. |
| query_ptdemo.py | Shows how to get information from the existing pt_demo interface design. | |
| build_ptdemo_error_handling.py | Illustrates how to handle critical errors when building an interface design. | |
| project/example_scripts/interface | gpio_pin_assignment.py | Shows how to use the API to import pin assignments from a .csv file. |
| iobank_setting.py | Provides examples on how to set I/O bank voltages and view the settings. | |
| lvds_builder.py | Illustrates how to create various kinds of LVDS pins (Titanium only). | |
| mipi_dphy_design.py | Demonstrates how to configure a 4-lane MIPI D-PHY interface for the Ti60 FPGA. | |
| pll_auto_clock.py | Demonstrates how to use auto clock calculator function. | |
| pll_core_clock.py | Shows how to configure core clock source. | |
| pll_dyn_clock.py | Illustrates how to configure dynamic clock source. | |
| pll_ext_clock_gpio.py | Demonstrates how to configure external clock source. | |
| pll_ext_clock_lvds.py | Shows how to configure an external clock source using LVDS (Titanium only). | |
| pll_manual_clock.py | Shows how to configure the PLL clock manually. | |
| project/example_scripts/ipm | example_fifo.py | Demonstrates how to configure and generate a FIFO IP core using the API. |