Altera Home Page
Literature Licensing
Buy On-Line Download

  Home   |   Products   |   Support   |   End Markets   |   Technology Center   |   Education & Events   |   Corporate   |   Buy On-Line  
  Knowledge Database   |   Devices   |   Design Software   |   Intellectual Property   |   Design Examples   |   mySupport   |   Reference Designs  

 Products
      MAX/MAX II
      Stratix/Stratix GX
      Nios II
  
 Functionality
      Arithmetic
      Memory
      Bus & I/O
      Logic
      Interfaces & Peripherals
      DSP
      Communications
      PLL & Clocking
  
 Design Entry
      Quartus II Project
      Tcl
      VHDL
      Verilog HDL
      C Code Examples
      DSP Builder
      TimeQuest
   On-Chip Debugging
  
 Simulation Tools
      Mentor Graphics ModelSim
      Cadence NCsim
      Synopsys VCS
  
 Legacy Examples
      Graphic Editor
      AHDL
  

Verilog HDL: Atlantic Loopback

This design example presents a small block that can be used to loop the output from an Atlantic source-slave back to the input of an Atlantic sink-slave. Figure 1 shows a typical application for a loopback of this type. This design example has a 128-bit Atlantic interface, and assumes that the near-side receive and transmit interfaces are both slave interfaces, such as the read- and write-side of a buffer. When the loopback input is not asserted, the far-side transmitter and receiver blocks are interface masters that control the near-side blocks. When the loopback input is asserted, the loopback block itself acts as the interface master, reading data from the near-side receiver, and pushing that data into the near-side transmitter.

Figure 1. Atlantic Loopback Top-Level Diagram

Download the files used in this example:

Table 1 lists and describes the signals.

Table 1. Atlantic Loopback Design Example Signals
Signal Type Description
clk Input Reference clock
loopback Input Loopback control: '0' passes ain to aout, and bin to bout; '1' enables loopback functionality.
ain_dav Input Atlantic sink-master "A input" interface
ain_val Input
ain_sop Input
ain_eop Input
ain_err Input
ain_dat[127..0] Input
ain_mty[3:0] Input
ain_adr[7:0] Input
ain_ena Output
aout_dav Output Atlantic sink-master "A output" interface
aout_val Output
aout_sop Output
aout_eop Output
aout_err Output
aout_dat[127..0] Output
aout_mty[3:0] Output
aout_adr[7:0] Output
aout_ena Input
bin_dav Output Atlantic source-master "B input" interface
bin_sop Input
bin_eop Input
bin_err Input
bin_dat[127..0] Input
bin_mty[3:0] Input
bin_adr[7:0] Input
bin_ena Output
bout_dav Input Atlantic source-master "B output" interface
bout_sop Output
bout_eop Output
bout_err Output
bout_dat[127..0] Output
bout_mty[3:0] Output
bout_adr[7:0] Output
bout_ena Output

Related Links

For more information about using this example in your project, go to:


Feedback

Did this information help you?

If not, please log onto mySupport to file a technical request or enhancement.


These Web Site Design Examples may only be used within Altera Corporation devices and remain the property of Altera. They are being provided on an "as-is" basis and as an accommodation; therefore, all warranties, representations, or guarantees of any kind (whether express, implied or statutory) including, without limitation, warranties of merchantability, non-infringement, or fitness for a particular purpose, are specifically disclaimed. Altera expressly does not recommend, suggest, or require that these examples be used in combination with any other product not provided by Altera.

  Please Give Us Feedback