I created a small example. (see attached .qucs)
It contains only a resistor adjustable by a parameter. However, you should be able to extend it.
It is – however – tedious to initialize the array. Maybe its better to switch to C++. The verilog-A-Compiler creates a c++ file, that could be used as a starting point.
Edit: I only read you post now. Seems you figured out already all the obstacles 🙂
- This reply was modified 5 months, 2 weeks ago by Carsten.