题海让大学四年没有难题
白天模式登陆

题目详情

单选题 integer a; initial begin cool=1; $display("After first assignment, a has value %d",cool); $strobe("When strobe is excuted, a has value %d",cool); cool=3; $display("After second assignment, a has value %d",cool); 关于这段程序产生的输出,说法正确的是( )

A. After first assignment, a has value 1 When strobe is excuted, a has value 3 After second assignment, a has value 3

B. After first assignment, a has value 1 When strobe is excuted, a has value 1 After second assignment, a has value 3

C. After first assignment, a has value 3 When strobe is excuted, a has value 3 After second assignment, a has value 3

D. 以上都不正确

可编程逻辑器件及应用课程封面

学科:可编程逻辑器件及应用

时间:2024-11-03 16:03:01

Copyright © 2022 津ICP备2021001502号