Programmable Devices
CPLDs, FPGAs, SoC FPGAs, Configuration, and Transceivers
21600 Discussions

AVST_CLK Timing Constraints for CPU-Based Bitbanging

sl242
Novice
511 Views

Hi,

In our current product line, we use Cyclone and Arria FPGAs which are configured via Passive Serial mode directly from the host CPU. The implementation uses a simple SPI interface and a few GPIOs. This approach has proven to be both fast and reliable, with minimal hardware requirements.

Due to an end-of-life situation with our current CPU, we are planning to update our platform. As part of this redesign, we are also considering replacing the Cyclone/Arria FPGAs with Agilex devices to stay current.

However, we've discovered that Passive Serial mode is no longer supported on Agilex devices. We're now looking for an alternative method to configure the FPGA directly from the CPU, ideally without requiring additional components.

As far as we understand, the only comparable "passive" configuration mode on Agilex is via the Avalon-ST (AVST) interface. Unfortunately, our new CPU platform does not have dedicated hardware support (like SPI) for this. The only feasible way to drive AVST would be by bitbanging the signals in software.

We are confident we can meet the minimum timing requirements of the AVST interface, but we cannot guarantee a perfectly constant AVST_CLK frequency due to CPU load and scheduling.

Will an AVST_CLK signal with minor frequency variation (caused by bitbanging) cause issues during configuration? Or does the configuration logic in the FPGA/SDM strictly require a stable, free-running clock?

Best Regards

Labels (1)
0 Kudos
1 Solution
Farabi
Employee
456 Views

Hello,


If you are using AVST mode, the clk requirement only need to make sure setup and hold time for data and clk is met. There is no strict requirement for clock frequency or skew.


regards,

Farabi


View solution in original post

0 Kudos
2 Replies
Farabi
Employee
457 Views

Hello,


If you are using AVST mode, the clk requirement only need to make sure setup and hold time for data and clk is met. There is no strict requirement for clock frequency or skew.


regards,

Farabi


0 Kudos
sl242
Novice
448 Views
0 Kudos
Reply