It is because for VDD and VSS I've used global VDD and VSS device from the library.but for the global sub! I've found one global device from the library and used it, because when I've checked the property it is global, just changed the value to sub!.I don't have other any idea how to make global sub! than this way.
I think that things are becoming more complicated...
What do you mean with this?
I've found one global device from the library and used it
I suppose that this global device is subc.Is this true or not?
In any case,if it is from a library then you should better not change things that are default.Stay and live with them if you want less or no trouble ;-)
dgnani gave a good contribution.Is each individual cell (inv,nand) with it's own subc LVS clean?
If yes then the problem is located to the interface of those two cells.
Additionaly,in this image
https://obrazki.elektroda.pl/12_1314225641.jpg you uploaded i see a subc in the top level schematic.This is not needed there,since there are not devices in the top-level design that need connection to substrate.Remove it.
Another idea is to create a simple a test case to see what is going on...one transistor and one subc.Nothing else.Is this LVS clean?
Ofcourse don't change any parameter of subc.
If you don't mind,what tool do you use for your design?The above images don't seem to be extracted from Cadence environment...