In general, attempts to smooth out period to period resources will _____ the scheduled time and _____ project costs.
A.Increase, decrease.
B.Increase, increase
C.Increase, increase or decrease.
D.Decrease, decrease.
E.Decrease, increase.
第1题:
5、Timer One库函数中,设置中断回调函数的语句是? A. Timer1.initialize(Period) B. Timer1.attactInterrupt(timerIsr) C. Timer1.setPeriod(Period) D. Timer1.restart()
第2题:
基于initial语句产生普通时钟信号, parameter clk_period = 10; reg clk; initial begin clk = 0; ________________; end
A.always #(clk_period/2) clk = ~clk
B.forever #(clk_period/2) clk = ~clk
C.always #(clk_period) clk = ~clk
D.forever #(clk_period) clk = ~clk
第3题:
在端口PHI1创建时钟周期为10,上升在5.0,下降在9.5
A.create_clock “PHI1” –period 10 –waveform {5.0 9.5}
B.create_clock “PHI1” period 10 –waveform {5.0 9.5}
C.create_clock “PHI1” period 10 waveform {5.0 9.5}
D.create_clock “PHI1” –period 10 –waveform {1 2}
第4题:
8、基于initial语句产生普通时钟信号, parameter clk_period = 10; reg clk; initial begin clk = 0; ________________; end
A.always #(clk_period/2) clk = ~clk
B.forever #(clk_period/2) clk = ~clk
C.always #(clk_period) clk = ~clk
D.forever #(clk_period) clk = ~clk
第5题:
以下代码用于产生固定数目为clk_cnt的时钟信号。 parameter clk_cnt = 5, clk_period = 2; reg clk; initial begin clk = 0; repeat(clk_cnt) #(clk_period/2) clk = ~clk; End
第6题:
以下关于VDB函数的语法正确的是()。
A.VDB(cost,salvage,life,period,factor)
B.VDB(cost,salvage,life,period,month)
C.VDB(cost,salvage,life,per)
D.VDB(cost,salvage,life,start-period,end-period,factor,no-switch)