简体   繁体   English

Specman-几个周期后的期望事件

[英]specman - expect event after several cycles

I have the following events: 我有以下事件:

   event rstn_release_e            is rise (smp.port_rstn$)              @sim;
   event d_dis_feedback_to_spot_e is rise (smp.port_d_dis_feedback$)   @sim;
   event osc_clk_e                 is rise (smp.port_osc_clk$)           @sim;

I have to verify that when r stn_release_e event occurs the event d_dis_feedback_to_spot_e occurs after 0-2 cycles of oscillator clock ( osc_clk_e ). 我必须验证当r stn_release_e事件发生时,事件d_dis_feedback_to_spot_e事件在振荡器时钟( osc_clk_e )的0-2个周期后发生。

I use the following: 我使用以下内容:

expect @rstn_release_e => {[..2]*@osc_clk_e ; @d_dis_feedback_to_spot_e};

The simulation fails because for some reason the above expect "works" according simulation clock instead of oscillator clock 模拟失败,因为由于某种原因,以上期望根据模拟时钟而不是振荡器时钟“工作”

似乎您没有为期望定义采样事件

expect @rstn_release_e => {[..2] ; @d_dis_feedback_to_spot_e} @osc_clk_e;

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 Specman-Monitor无法识别应该提供的事件 - Specman - Monitor doesn't recognize events which it is supposed to provide 餐饮哲学家实施中Thread.join()未能按预期工作 - Thread.join() is not working at expect in Dining Philosophers implementation 几个线程可以在Java中对同一个监视器进行锁定吗? - Can several threads hold a lock on the same monitor in Java? 如何在iOS中监控键盘事件 - how to monitor keyboard event in iOS 无法在aix中创建事件监视器db2detaildeadlock - fail to create event monitor db2detaildeadlock in aix 从事件回调通知时发生Java Swing异常 - Java Swing exception when notifying from an event callback 根据php中的文件夹状态进行文件夹监控和事件触发 - Folder monitoring and event triggering according to folder status in php 如何在C#中通过Windows资源管理器有效监视系统范围的“文件名更改事件” - How to monitor system-wide “file name change event” by windows explorer effectively in c# javamail idle会在一段时间后停止触发消息收藏夹,线程已锁定 - javamail idle stops triggering messagesAdded after a while, thread locked 在notify()之后做很多工作会导致wait()变得忙碌等待吗? - doing lot of work after notify() will cause wait() become busy wait?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM