题目内容

函数定义如下,若有函数调用语句y=factorial(5);则y=。//函数的定义**************************************function[31:0]factorial;input[3:0]operand;reg[3:0]index;beginfactorial=operand?1:0;for(index=2;index<=operand;index=index+1)factorial=index*factorial;endendfunction

A. 15
B. 25
C. 120
D. 600

查看答案
更多问题

在VerilogHDL中,函数的关键词为_________________,任务的关键词为______________。

若时间单位为纳秒,执行完下列语句,生成tick信号的频率为___________赫兹。regtick;always#10tick=~tick;

In Hawthorne's The Scarlet Letter, "A" may stand for __________.

Angel
B. Adultery
C. Able
D. all the above

Which of the following had infuluence on Melville's writing?

A. Shakespearean tragic vision
B. Hawthorne's black vision.
C. Emersonian Transcendentalism
D. All the above

答案查题题库