pascalkuthe / OpenVAF

An innovative Verilog-A compiler
https://openvaf.semimod.de/
GNU General Public License v3.0
113 stars 15 forks source link

openvaf preprocessor option has missing LF in the output #97

Open dwarning opened 7 months ago

dwarning commented 7 months ago

There are programs which have problem to read the parameter section of latest .va files with the common macros like IPRoz, MPRco etc. A workaround would be to use openvaf --print-expansion to generate a preprocessed file. The problem is that everything is fine except for the parameter block which comes in one line, see attached file r3_cmc_expanded.va in line 684. r3_cmc_expanded.va.txt