推荐星级:
  • 1
  • 2
  • 3
  • 4
  • 5

SystemVerilog验证方法实例random_generator

更新时间:2019-09-10 06:25:46 大小:4M 上传用户:sun2152查看TA发布的资源 标签:systemverilog 下载积分:1分 评价赚积分 (如何评价?) 打赏 收藏 评论(0) 举报

资料介绍

We have seen how to generate random numbers. But the numbers range from-

(2**32-1) to 2**32. Most of the time, the requirement don't need this range.

For example, take a memory. The address starts from 0 to some 1k or

1m. Cenerating a random address which DUT is not supporting is meaningless.

In verilog there are no constructs to constraint randomization. Fallowingexample demonstrated how to generate random number between 0 to 10. Using

% operation, the remainder of any number is always between 0 to 10.

The above example shows the generation of numbers from 0 to N. Some specification require the range to start from non Zero number. MIN +{$random}

%((MAX-MIN) will generate random numbers between MIN and MAX.


部分文件列表

文件名 大小
SystemVerilog验证方法实例random_generator.pdf 4M

【关注B站账户领20积分】

全部评论(0)

暂无评论

上传资源 上传优质资源有赏金

  • 打赏
  • 30日榜单
  • 21ic下载 打赏310.00元   3天前

    用户:mulanhk

  • 21ic下载 打赏310.00元   3天前

    用户:lanmukk

  • 21ic下载 打赏310.00元   3天前

    用户:zhengdai

  • 21ic下载 打赏240.00元   3天前

    用户:江岚

  • 21ic下载 打赏240.00元   3天前

    用户:潇潇江南

  • 21ic下载 打赏210.00元   3天前

    用户:gsy幸运

  • 21ic下载 打赏70.00元   3天前

    用户:小猫做电路

  • 21ic下载 打赏120.00元   3天前

    用户:jh0355

  • 21ic下载 打赏110.00元   3天前

    用户:jh03551

  • 21ic下载 打赏70.00元   3天前

    用户:liqiang9090

  • 21ic下载 打赏45.00元   3天前

    用户:有理想666

  • 21ic下载 打赏20.00元   3天前

    用户:w178191520

  • 21ic下载 打赏40.00元   3天前

    用户:烟雨

  • 21ic下载 打赏20.00元   3天前

    用户:eaglexiong

  • 21ic下载 打赏20.00元   3天前

    用户:sun2152

  • 21ic下载 打赏20.00元   3天前

    用户:xuzhen1

  • 21ic下载 打赏15.00元   3天前

    用户:kk1957135547

  • 21ic下载 打赏15.00元   3天前

    用户:w993263495

  • 21ic下载 打赏15.00元   3天前

    用户:x15580286248

  • 21ic下载 打赏15.00元   3天前

    用户:w1966891335

  • 小猫做电路 打赏830.00元   3天前

    资料:Protel99SE 电路设计与仿真

推荐下载