Oct 12

VHDL component configuration 不指定

RickySu , 10:18 , 技术经验 , 评论(1) , 引用(155) , 阅读(2290) , Via 本站原创 | |
如果写了一个component有两个architecture,要选择结构体,那么需要用configuration语句:

在声明好Component后,加一句for语句在所有的声明后面(包括signal的声明),begin的前面(Architecture对应的那个Begin)
For Instance_name : component_name USE Entity WORK.entity_name(architecture_name);

其中entity_name其实就是前面对应的component_name

更详细的,可以参考XST User Guide,在文档中查找"component configuration"
Tags: , ,
brandnew
2008/05/07 11:57
您好:
请问
1存在这种写法符合语法吗
if()then configuration p1;else configuration p2;
使用条件判断进行配置
2configuration是否在综合的时候只生成配置的函数或者元件,没有进行配置的就不生成硬件电路了
谢谢!希望有机会交流交流
我的邮箱:brandnewliangyh@gmail.com
RickySu 回复于 2008/05/12 21:25
对configuration不是很熟。
关于第二个问题,好像是默认情况下用的是最后的一个configuration。未经查证。
分页: 1/16 第一页 1 2 3 4 5 6 7 下页 最后页
发表评论
表情
emotemotemotemotemot
emotemotemotemotemot
emotemotemotemotemot
emotemotemotemotemot
emotemotemotemotemot
打开HTML
打开UBB
打开表情
隐藏
记住我
昵称   密码   游客无需密码
网址   电邮   [注册]