Altera Home Page
文档资料 许可
在线购买 下载

  主页   |   产品   |   支持   |   最终市场   |   技术中心   |   教育与活动   |   公司介绍   |   在线购买  
  mySupport   |   器件   |   软件   |   IP   |   设计范例   |   参考设计  

 产品
      MAX/MAX II
      Stratix/Stratix GX
      Nios II
  
 功能
      算法
      存储器
      总线及I/O
      逻辑
      接口与外设
      DSP
      通信
      PLL & Clocking
  
 设计输入方法
      Quartus II软件工程
      Tcl
      VHDL
      Verilog HDL
      C Code 范例
      DSP Builder
      TimeQuest
   片内调试
  
 仿真工具
      Mentor Graphics ModelSim
      Cadence NCsim
      Synopsys VCS
  
 旧范例
      图形编辑器
      AHDL
  

Verilog HDL: Atlantic Loopback

This design example presents a small block that can be used to loop the output from an AtlanticTM 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:

The use of this design is governed by, and subject to, the terms and conditions of the Altera Hardware Reference Design License Agreement.

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:

Design Examples Disclaimer

These 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.

  请填写反馈意见