⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 test.v

📁 systemverilog程序
💻 V
字号:
program automatic test (arb_if arbif);task reset_test();  begin   $display("Task reset_test: asserting and checking reset");// LAB: Add reset logic  here  endendtasktask request_grant_test();  // Test out bit 0  $display("Task request_grant_test: asserting and checking reset");  ##1 arbif.cb.request <= 2'b01;  @arbif.cb;  @arbif.cb;  @(arbif.cb) a2: assert (arbif.cb.grant == 2'b01);  // LAB: Add your grant test here for the rest of the bitsendtaskinitial begin  repeat (10) @arbif.cb;  reset_test();  request_grant_test();  repeat (10) @arbif.cb;  $finish;endendprogram

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -