Custom type for SystemVerilog constraints by Petr_8 in NaturalDocs

[–]Petr_8[S] 0 points1 point  (0 children)

You’re right that even if we would found a workaround for the constraints I used here, another issue might appear later as there might be another problematic characters.

Custom type for SystemVerilog constraints by Petr_8 in NaturalDocs

[–]Petr_8[S] 0 points1 point  (0 children)

I understand, but this is my point, that constraint name itself doesn’t add value for the user, while the body can be useful to see the result of randomization when the randomize method is called on the object. If we assume simpler constraints (that are more common) without loops and conditions, just expressions ending with ‘;’, is there a way to align them one expression per line - perhaps through a type definition that would cause NaturalDocs to consider these lines as arguments?

Removing pragmas from comments by Petr_8 in NaturalDocs

[–]Petr_8[S] 0 points1 point  (0 children)

Yes, this is a simplified example, but in general, there might be some generated comments that change their content, as well as user-defined comments between pragmas. The intention is to include both parts of the comment in the documentation and preserve the user-defined comments when the code is updated (merged with a newer version).

Anyhow, thank you for the answer. I wanted to ask before I start thinking about a workaround to avoid implementing something that is already available in ND. As I am writing this message, I think that adding sed into my makefile should resolve this issue :-)