pascalkuthe / OpenVAF

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

openvaf preprocessor option has missing LF in the output #97

Open dwarning opened 1 year ago

dwarning commented 1 year 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