Forum Discussion
hbl
New Contributor
2 years agoAdding SV interface to PD _hw.tcl
Trying to define a SV interface in PlatformDesigner _hw.tcl file but I keep getting error message about port/interface! The SV interface declaration was loaded using: add_fileset_file system_bus_if....
sstrell
Super Contributor
2 years agoDid you try "readdata" or "writedata" instead of just "data"? If you have no ports defined correctly in the interface, that might explain why you get the interface does not exist error. There has to be at least one signal/port in an interface.
hbl
New Contributor
2 years agoNot sure what you are referring to. The bus_if signal (not port) is called data (see below). How's this going to affect the SV definition?
interface bus_if
logic [7:0] data;
endinterface