赛灵思
直播中

王锦霞

7年用户 975经验值
私信 关注
[问答]

请问我可以在流程中调用组件吗?


我可以在流程中调用组件吗?
如图所示
过程(CLK)
开始
u1:任何端口映射(clk,inp1,inp2,out1,out2 ............);
结束过程;
如果没有,我怎么能在进程内或条件下调用端口映射???
谢谢你先进;
--------------------------------------------------
-----------------------------如果你在后面刺伤,知道你在前台--------
--------------------------------------------------
----------------------

以上来自于谷歌翻译


以下为原文

hi
can i call component inside the process
as shown

process(clk)

begin


u1:anything   port map (clk,inp1,inp2,out1,out2............);

end process;

if no how can i call port map inside process or under condition ???

thank you advanced;
-------------------------------------------------------------------------------
If you stabbed in the back, know you are in the foreground
--------------------------------------------------------------------------------

回帖(15)

李森

2019-6-25 07:46:57
>我可以在流程中调用组件
不,这是不允许的。
为什么你认为你想要这样做?
------您是否尝试在Google中输入问题?
如果没有,你应该在发布之前。太多结果?
尝试添加网站:www.xilinx.com

以上来自于谷歌翻译


以下为原文

> can i call component inside the process
 
No, this is not allowed.   Why do you think that you would want to do this?
------Have you tried typing your question into Google?  If not you should before posting.
Too many results?  Try adding site:www.xilinx.com
举报

胡丹丹

2019-6-25 07:57:21
你不用硬件“召唤”任何东西。
您似乎缺少对硬件描述语言以及数字设计的基本理解。
你究竟想做什么?
----------“我们必须学会做的事情,我们从实践中学习。”
- 亚里士多德

以上来自于谷歌翻译


以下为原文

You do not "call" anything in hardware.
 
You seem to be missing a fundamental understanding of hardware description languages and, by extension, digital design.
 
What exactly is it that you are trying to do?
 
----------
"That which we must learn to do, we learn by doing." - Aristotle
举报

余少虹

2019-6-25 08:11:07
对不起,我明白,不要在硬件中调用任何东西,但我希望makecomponent内部条件,如if或when或任何其他条件,我可以这样做?
--------------------------------------------------
-----------------------------如果你在后面刺伤,知道你在前台--------
--------------------------------------------------
----------------------

以上来自于谷歌翻译


以下为原文

sorry
i understand that not call anything in hardware but i wish make
component inside condition such as if or when or any other condition
can i do this ?-------------------------------------------------------------------------------
If you stabbed in the back, know you are in the foreground
--------------------------------------------------------------------------------
举报

黄淳

2019-6-25 08:18:52
sarmad88写道:对不起我明白,不要在硬件中调用任何东西,但我希望makecomponent内部条件,如if或when或任何其他条件,我可以这样做?
霍华德是对的。
你在想软件。
这是硬件设计。
组件在构建时实例化,或者不是。
也许如果你描述一下你想要实现的目标,我们可以引导你走向正确的方向(也许是为了营销事业)?
----------------------------是的,我这样做是为了谋生。

以上来自于谷歌翻译


以下为原文

sarmad88 wrote:
sorry
i understand that not call anything in hardware but i wish make
component inside condition such as if or when or any other condition
can i do this ?
Howard's correct. You're thinking software. This is hardware design.
 
Either the component is instantiated at build time or it's not.
 
Perhaps if you describe what you're trying to accomplish we can steer you in the correct direction (perhaps, to a career in marketing)?
----------------------------Yes, I do this for a living.
举报

更多回帖

发帖
×
20
完善资料,
赚取积分