I have a large (>2MByte) HDL source file. When I edit and save it in Vivado code editor, the end of the file is truncated.
It appears that Vivado is truncating the text of the file at 2MB.
This issue affects files that are greater than 2MBytes in size (generally between 50,000 and 80,000 lines).
This issue originates from the partner tools that the Vivado Code Editor is built with. We have informed the partner company and will integrated into Vivado when available.
In Vivado versions 2016.1 to 2018.2, files over 2MB can be opened for viewing in Vivado Code Editor but should not be edited and saved.