Quantcast
Channel: UVM Forums RSS Feed
Viewing all articles
Browse latest Browse all 756

Could the interface be the type of another parameterized interface class?

$
0
0

The code is :

 

interface block_if_wrapper #(type T=j_interface) (input clk, input rst_n);

    T j_if(clk, rst_n);

endinterface

 

Then there will be an syntax error, but I read the section of 8.25 parameterized classes of the IEEE_Std_1800-2012 Systemverilog, there is no description to show that the interface could not be the type of the other parameterized interface class.

 

Could anyone help to explain that?


Viewing all articles
Browse latest Browse all 756

Trending Articles