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.
For Vivado 2016.x and Vivado 2017.x, files over 2MB can be opened for viewing in Vivado Code Editor but should not be edited and saved.