nunobrum / PyQSPICE

Python Library to operate with QSpice and read simulation output files
GNU General Public License v3.0
7 stars 0 forks source link

Using QschEditor to add new components to netlist #2

Closed mruthyun closed 1 month ago

mruthyun commented 10 months ago

Hello Nunobrum,

I am not sure if this is the right place for a request like these so apologies in advance if this is the wrong place.

I have been very much enjoying running Qspice in batch modes and being able to modify the schematic netlists with different configurations on the fly. I can't seem to figure out if there is a way to add a component not currently existing in the original .qsch file. For example I would like to be able to add a load resistor in batch mode (and then over coarse sweep it) rather than have it in the original schematic.

I appreciate your insight on this.

Thanks Ravi

nunobrum commented 10 months ago

Hi Ravi,There is no dedicated command to add a component. You could still add what you like using the add_instruction() or add_instructions() methods. Another possibility would be to have the load already in the circuit but with a very high resistance (ex:100Meg) and just update its value. Best regards,NunoOn 6 Jan 2024, at 14:21, mruthyun @.***> wrote: Hello Nunobrum, I am not sure if this is the right place for a request like these so apologies in advance if this is the wrong place. I have been very much enjoying running Qspice in batch modes and being able to modify the schematic netlists with different configurations on the fly. I can't seem to figure out if there is a way to add a component not currently existing in the original .qsch file. For example I would like to be able to add a load resistor in batch mode (and then over coarse sweep it) rather than have it in the original schematic. I appreciate your insight on this. Thanks Ravi

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you are subscribed to this thread.Message ID: @.***>

mruthyun commented 8 months ago

Hello

I have been utilizing your qsh editor and python scripts to run batch mode simulations on flattened schematics. I am wondering if this works on hierarchical schematics as well. This would be an extremely valuable step forward to expand my usage but i seem to have issues with this. Just wondering if there is a method to support this

Thanks Ravi

mruthyun commented 8 months ago

Hello,

Just to clarify I am looking for both utilizing verilog blocks and hierarchical symbols in batch mode simulations. It looks like the .dll symbol "Ø" is not recognized

Thanks Ravi

nunobrum commented 8 months ago

Hello Ravi,

I agree that being able to support hierarchical schematics is an important feature. Interestingly, I've started looking into this just a few days ago, However, I can't promise any dates to you. This project is something I do in my idle times. ~ Regarding the symbol "Ø", which editor are you talking about ? SpiceEditor or QschEditor?

Best Regards, Nuno

mruthyun commented 8 months ago

Nuno

Completely understand and already very appreciative of the ability to run batch mode simulations as you have it from qspice. Adding mixed mode blocks and hierarchy in general will make your feature extremely powerful. No need for any promises. How i am trying to leverage your feature is a side project on my own time as well.

As for your question. I used notepad to view the .qsh file and under type i assumed that .dll type is what the root issue was. Hope that clarifies things

Ravi

On Wed, Mar 20, 2024 at 3:44 AM Nuno Brum @.***> wrote:

Hello Ravi,

I agree that being able to support hierarchical schematics is an important feature. Interestingly, I've started looking into this just a few days ago, However, I can't promise any dates to you. This project is something I do in my idle times. ~ Regarding the symbol "Ø", which editor are you talking about ? SpiceEditor or QschEditor?

Best Regards, Nuno

— Reply to this email directly, view it on GitHub https://github.com/nunobrum/PyQSPICE/issues/2#issuecomment-2008963366, or unsubscribe https://github.com/notifications/unsubscribe-auth/ASW7P4UQ3DASOYML5TPRZ6DYZE46NAVCNFSM6AAAAABBPRZU3CVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAMBYHE3DGMZWGY . You are receiving this because you authored the thread.Message ID: @.***>

mruthyun commented 8 months ago

I am not sure this comment is of any help to you but adding just .dll support is i think the best feature to attempt to add first and people can deal with flatten simulations. I will certainly not speak to which issue are harder to tackle but maybe my 2 cents on priority is helpful

Thanks again Ravi

On Wed, Mar 20, 2024 at 6:50 AM Ravi Mruthyunjaya < @.***> wrote:

Nuno

Completely understand and already very appreciative of the ability to run batch mode simulations as you have it from qspice. Adding mixed mode blocks and hierarchy in general will make your feature extremely powerful. No need for any promises. How i am trying to leverage your feature is a side project on my own time as well.

As for your question. I used notepad to view the .qsh file and under type i assumed that .dll type is what the root issue was. Hope that clarifies things

Ravi

On Wed, Mar 20, 2024 at 3:44 AM Nuno Brum @.***> wrote:

Hello Ravi,

I agree that being able to support hierarchical schematics is an important feature. Interestingly, I've started looking into this just a few days ago, However, I can't promise any dates to you. This project is something I do in my idle times. ~ Regarding the symbol "Ø", which editor are you talking about ? SpiceEditor or QschEditor?

Best Regards, Nuno

— Reply to this email directly, view it on GitHub https://github.com/nunobrum/PyQSPICE/issues/2#issuecomment-2008963366, or unsubscribe https://github.com/notifications/unsubscribe-auth/ASW7P4UQ3DASOYML5TPRZ6DYZE46NAVCNFSM6AAAAABBPRZU3CVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAMBYHE3DGMZWGY . You are receiving this because you authored the thread.Message ID: @.***>

nunobrum commented 8 months ago

No worries. I understand your request. Support the QSpice specific compoennts that support DLLs and other proprietary functions. Support the hiearchical designs. I'll do this at the first opportunity.

Cheers, Nuno

nunobrum commented 1 month ago

Hello @mruthyun,

I'm doing a clean-up of pending issues and it seems to me that this one was already solved. Could you please check. I'm closing this one. Feel free to open a new case or reopen this one if you see something wrong.