码迷,mamicode.com
首页 > 其他好文 > 详细

Verification之PSL之Quick guide

时间:2015-06-03 21:23:40      阅读:121      评论:0      收藏:0      [点我收藏+]

标签:

 

3  External assertion files

  Syntax

1 vunit name (hierarchical_HDL_design_unit)
2 {
3   default clock is <clock_decl>;
4   <PSL_stmts_and/or_HDL_decls_and_stmts>;
5   ...
6 }

  Example

1 vunit check_dram_controller(dram_control(RTL))
2 {
3   default clock is rising_edge(clk);
4   sequence refresh_seq is {(cas and ras and we)[*2];   
5   (not cas and not ras)};
6   ...
7 }

 

Verification之PSL之Quick guide

标签:

原文地址:http://www.cnblogs.com/mengdie/p/4550130.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!