The ST2MM Bridge provides the user with an Avalon ST sink interface through which memory mapped read and write transactions may be requested. These MM requests are then communicated into the Qsys system through an Avalon MM master interface. Read data that is returned for read requests is passed back to the user through an Avalon ST source interface.
This component is published along with 3 example simulation test benches that illustrate variations of how the component may be instantiated. The archive contains all the source material to build all of the hardware projects required to execute the examples in ModelSim. There is also a PDF file that documents how this component is intended to operate.
Download the archive for this example and place it in a directory on your system that does not include spaces in the path name. The entire path name of this directory must not contain spaces, so on Windows systems you should avoid putting this in the "My Documents" folder, or on your "Desktop" since these locations are subdirectories of the "Documents and Settings" path, and that would mean that these locations inherit the spaces in that part of the path name.
In order to extract the archives after downloading them, it is recommended that you run the "tar xzf <filename>" command from a bash shell. For linux users you should have ready access to a bash shell. For windows users, you may need to install the Altera development tools to gain access to a bash shell. On Windows it is recommended that you install the complete Altera ACDS development tools which includes the Nios II EDS development tools. Once these tool chains are properly installed on your workstation, you can launch a bash shell by running:
"Start -> Programs -> Altera -> Nios II EDS X.x -> Nios II X.x Command Shell"
Once you are in the bash shell, you can "cd" into the directory containing the archives that you've downloaded, and running the following command to extract them:
tar xzf <archive_filename>
Note that if you use some other archiving software to extract these archives, like WinZip, you may lose the execution privileges on some of the shell scripts within the archives that are used to perform various activities associated with building and using the example. If this happens, you can restore execute privileges from within a bash shell with the command "chmod +x <filename>". It is recommended that you avoid this situation by using "tar" to extract the archives from within a bash shell and avoid using any Windows oriented archive utilities with these archives.
Building the example.
Once the archive is extracted, you should locate a readme.txt file in the top level of the archive directory. Read the contents of that file for additional information about building and running the example.
The current version of this example was tested with the Altera ACDS 11.1sp2 development tools.