This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

HALCOGEN: Halcogen: lines inside Dil file move around

Expert 1226 points
Part Number: HALCOGEN

We see lines in our HALCoGen .dil files change position / ordering within the file (where the value in the lines themselves have not changed) when we do common HALCoGen operations, as reported earlier here:

https://e2e.ti.com/support/microcontrollers/hercules/f/312/t/667286

https://e2e.ti.com/support/microcontrollers/hercules/f/312/t/686189

This causes us grief for our change management processes.  We can do a very small change (using the HALCoGen GUI, not trying to modify the .dil file directly), that only impacts a small number of configuration line settings in the .dil file (say, two), but when we use a diff comparison tool to look at the change history of the file, it appears as if _dozens_ of .dil lines have changed.

Similarly, when we update to a newer version of HALCoGen, we're likely to try re-generating code using HALCoGen within making any changes to our actual configuration at all.  From a change-management standpoint, it is very important to us that any resulting changes we might see to the .dil file would be because of genuine meaningful changes stemming from updating the HALCoGen version, and not from spurious line-reordering.

The answers to both of the earlier reports was that this would be reported to the HALCoGen team.

What is the response from the HALCoGen team?  Will this be fixed in the next version of HALCoGen?

--thx

  • Hello,

    I have forwarded your question to our SW expert. He will give you the answer soon. Thanks
  • Hi,

    For HALCoGen, we can only provide support on the generated code, and not on the .dil file structure which is likely to change across HALCoGen versions. We suggest that you write a script to compare the .dil file.

    Thanks,

    Girish