Hello,
I am trying to generate SPICE netlist. But the problem is the output netlist only contains 1 line even when I have 2 components which should generate the SPICE netlist. The 2 elements in this simple case are defined by the following code for netlist generation:
$(NetRef) %(1) %(2) $(NAME)?(not_empty(TC1), $(TC1),)?(not_empty(TC2), $(TC2),) \$?(not_empty(sym), sym=$(sym),)
and
$(NetRef) %(1) %(2) $(NAME)?(not_empty(AC magnitude), AC=$(AC magnitude)?(not_empty(AC Phase),\,$(AC Phase),\,0),) \$?(not_empty(sym), sym=$(sym),)
The problem is caused I think by the \$ statement. I need to add this to add comment for the component. If this is not there then it works otherwise not.