这些小活动你都参加了吗?快来围观一下吧!>>
电子产品世界 » 论坛首页 » DIY与开源设计 » 电子DIY » 请教一下,Altera FPGA中外部芯片中的IO管脚应该如何进行管脚约束?

共6条 1/1 1 跳转至

请教一下,Altera FPGA中外部芯片中的IO管脚应该如何进行管脚约束?

菜鸟
2012-11-18 21:07:44     打赏

预先为DS1302芯片考虑的
 
DS1302芯片的DATA是个双向数据线,在FPGA内打算使用三态

在Quartu 12.0 的帮助查到了关于TRI的描述

TRI Primitive  

The TRI primitive is a tri-state buffer with an input, output, and output enable signal. If the output enable input to the TRI buffer is high, the output is driven by the Input.

The output enable defaults to VCC.

If the output enable of a TRI buffer is connected to VCC or a logic function that minimizes to true, a TRI buffer may be converted into a SOFT buffer during logic synthesis. For supported device(Cyclone, Cyclone II, Stratix, and Stratix GX) families, some configurations of TRI primitives and other logic are automatically converted into OPNDRN buffers.

When you use a TRI buffer, you must observe the following rules in addition to the rules listed in Primitive/Port Interconnections:

  • A TRI buffer may drive only one BIDIR pin. You must use a BIDIR pin if feedback is included after the TRI buffer.

  • If a TRI buffer feeds logic, it must also feed a BIDIR pin unless it is part of a tri-state bus. If it feeds a BIDIR pin it may not feed any other outputs.

  • The TRI primitive cannot be used in Verilog as TRI is a reserved word in the Verilog language. Use the ALT_OUTBUF_TRI primitive instead, or use the equivalent behavioral Verilog, for example:
    assign out = oe ? in : 1'bZ;

    但目前还不知道如何进行管脚约束?




关键词: 请教     一下     Altera     外部     芯片     中的     管脚         

院士
2012-11-18 21:52:59     打赏
2楼
这个无人知道?

助工
2012-11-18 22:03:11     打赏
3楼

把英文看懂就行了,要用到特殊的引脚


菜鸟
2012-11-19 08:44:01     打赏
4楼
有没有实际的例子?

我现在没找到在约束文件里,怎么约束。

谢谢

助工
2012-11-27 16:53:50     打赏
5楼

期待中。。。。。


菜鸟
2012-11-28 23:09:41     打赏
6楼
暂时还没有找到呢。。。

共6条 1/1 1 跳转至

回复

匿名不能发帖!请先 [ 登陆 注册 ]