Course : Systemverilog Verification 2 : L4.1 : Clocking Blocks in Systemverilog

preview_player
Показать описание
Join our channel to access 12+ paid courses in RTL Coding, Verification, UVM, Assertions & Coverage
FREE Course : Systemverilog Verification 2 : Lear More TB Constructs

Check playlists for more courses
Using clocking blocks in Systemverilog.
Links to useful systemverilog free tutorials and courses are below.

7. Complete Udemy Systemverilog TB Courses for Free
Рекомендации по теме
Комментарии
Автор

Hi Sir, I have a question about referencing signals within a clocking block which itself is part of modport .

Consider following snippet ::

interface mult_if (input logic clk, reset);
logic [7:0] a, b;
logic [15:0] out;
logic en;
logic ack;

clocking cb @(posedge clk);
default input #1 output #2;
input out, ack;
output a, b, en;
endclocking

modport TB (clocking cb, input clk, reset);
modport RTL (input clk, reset, a, b, en, output out, ack);

endinterface

Assume ' mult_if ' is instantiated in top_tb and then set in config_db to be fetched via driver and monitor .

Within monitor , how should I reference output signals ' a ' / ' b ' / ' en '

Should it be :: vif_intf.TB.cb.a OR vif_intf.cb.a ?

I observe only VCS throws an error when using vif_intf.TB.cb.a whereas all the 3 tools are fine with vif_intf.cb.a

Thanks in advance .

FarhanShaikh-pmbn
Автор

How to handle for inout port with clocking block?

carterlee
Автор

Could you please change your payment method....and include any upi transaction like phonepe or

manojkumarponduru
welcome to shbcf.ru