P
parag_paul@hotmail.com
Guest
Does modport limit access to the members too. I mean, in the normal
cases when we are not using a modport for a particular interface, do
the members have any direction inside it ? Or they are just plain
variables . In the below mentioned test case if we had anothe
variable inside the inrteface like reg a;
could we access this a inside the if1 in dut ??
interface memsysInterface(clk);
input clk;
modport dut(input clk);
endinterface
module memsys_test_top;
bit clk;
memsysInterface if1(clk);
memsys dut(if1.dut);
endmodule
module memsys(interface if1);
endmodule
cases when we are not using a modport for a particular interface, do
the members have any direction inside it ? Or they are just plain
variables . In the below mentioned test case if we had anothe
variable inside the inrteface like reg a;
could we access this a inside the if1 in dut ??
interface memsysInterface(clk);
input clk;
modport dut(input clk);
endinterface
module memsys_test_top;
bit clk;
memsysInterface if1(clk);
memsys dut(if1.dut);
endmodule
module memsys(interface if1);
endmodule