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

AVALON ST setup how to?

Altera_Forum
Honored Contributor II
960 Views

Hi, studying about SoC FPGAs I tried to do a setup with a crypto core from opencores. Currently I send the key seed data from Linux (userspace) over the H2F bridge to the FPGA where I perform the key expansion. Then I send plain data from HPS to be encrypted in blocks of 128bit, to the FPGA. Finally the encrypted result is returned to Linux on the HPS. So far, I'm using an AVALON MM slave interface for the latter two sendings, i.e. sending the plain data and returning the encrypted data. For curiosity I'd like to compare it now with a setup using AVALON ST instead of the AVALON MM transfers. Since I'm still quite fresh to FPGAs and Embedded in general, I'm now asking how to apply AVALON ST interfaces here, together with Avalon MM for the key data, and in case control commands which I currently transfer via the lightweight h2f bridge (also AVALON MM)? 

 

Questions: 

1) General Achitecture - What would a setup with AVALON ST look like? Which parts do I need here for AVALON ST? Is there some kind of howto for AVALON ST online (VHDL, if possible)? 

 

2) Examples online - Are there similar examples I should have a look at, and I could use as an Idea for the architecture of such a setup? 

 

3) Interfaces - Do I need to use a different type of input/output than /dev/mem? 

Is it possible to stream directly plain data over /dev/mem (Linux) to the FPGA, but if so, where to read out the encrypted data as a stream from the FPGA? 

 

I know, my questions are quite unspecific and general. However I'd be really glad about any helping hint, thanks in advance!!
0 Kudos
0 Replies
Reply