sep_com Posted December 7, 2015 Report Share Posted December 7, 2015 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? Quote Link to comment Share on other sites More sharing options...
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.