Menu

#91 PWL-no liiterals- problems

open
2
2022-12-24
2022-12-24
No

Hi Holger,
I was talking with you about the ir2101 model and its problems in ngspice, but I would like to propose if it is possible, the new implementation of the PWL function to avoid this errors:
PWL-ERROR: prepare_PTF_PWL, not a constant
type = 3
Error: PWL(expr, points...) only literal points are supported
PWL-ERROR: prepare_PTF_PWL, not a constant
type = 3
Error: PWL(expr, points...) only literal points are supported
PWL-ERROR: prepare_PTF_PWL, not a constant
type = 3
Error: PWL(expr, points...) only literal points are supported
PWL-ERROR: prepare_PTF_PWL, not a constant
type = 3
Error: PWL(expr, points...) only literal points are supported
PWL-ERROR: prepare_PTF_PWL, not a constant
type = 3
Error: PWL(expr, points...) only literal points are supported
PWL-ERROR: prepare_PTF_PWL, not a constant
type = 3
Error: PWL(expr, points...) only literal points are supported
PWL-ERROR: prepare_PTF_PWL, not a constant
type = 4
Error: PWL(expr, points...) only literal points are supported
PWL-ERROR: prepare_PTF_PWL, not a constant
type = 4
Error: PWL(expr, points...) only literal points are supported
PWL-ERROR: prepare_PTF_PWL, not a constant
type = 3
Error: PWL(expr, points...) only literal points are supported
PWL-ERROR: prepare_PTF_PWL, not a constant
type = 3
Error: PWL(expr, points...) only literal points are supported
PWL-ERROR: prepare_PTF_PWL, not a constant
type = 3
Error: PWL(expr, points...) only literal points are supported
PWL-ERROR: prepare_PTF_PWL, not a constant
type = 3
Error: PWL(expr, points...) only literal points are supported
PWL-ERROR: prepare_PTF_PWL, not a constant
type = 3
Error: PWL(expr, points...) only literal points are supported
PWL-ERROR: prepare_PTF_PWL, not a constant
type = 3
Error: PWL(expr, points...) only literal points are supported
PWL-ERROR: prepare_PTF_PWL, not a constant
type = 4
Error: PWL(expr, points...) only literal points are supported
PWL-ERROR: prepare_PTF_PWL, not a constant
type = 4
Error: PWL(expr, points...) only literal points are supported
Error on line 0 or its substitute:
b.xu5.x_gd_template.x_hin_vcc_d.btable_new_9 xu5.x_gd_template.x_hin_vcc_d.table_new_9 0 v=pwl(v(in1,vcc_driver) , 0,0 , 5.000000000000000e-01 1.01,0 , 5.000000000000000e-01 1.02, 1.000000000000000e-03 , 10 5.000000000000000e-01 , 100 1.000000000000000e-03 )
parameter value out of range or the wrong type
I attach the file with the model of a new driver with the same problem. I can attach a example project where this model is used.
Thanks in advance,
Carlos

1 Attachments

Discussion


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.