Very nice tutorial! :) Is it possible to use if statements in the value field of some symbol? Like, if I have voltage pulse generator, and I want the beginning voltage to be parameterized by some variable as Voltage1 = Vin, and then to invert that value for the ending voltage of a pulse, like Voltage2 = if((Vin >= 1.2),0,1.2)? Regards.
I think the "if statement" in general can be done using VerilogA model. But for your example, I think it can be done using transient voltage source with 2 parameters: High Value = Voltage1 & Low Value = Voltage2. So, no need for if statement from the beginning. Please tell me if this answers your question.
@@amratia99 Thank you very much for engaging! So, my question would be, is it possible to enter some coding terms in the value field, like if statement? Because in LTSPICE that is possible, just by entering something like V = {if(Vin==0),1,0} in the value field. As what I would actually have is as DC voltage source that has Voltage = Vin, and then depending on the value of Vin, I want to change a parameter in another instance. If that parameter, for an example, is named polarization, I would like it to be 0 if Vin >= 1.2 and 1 if Vin = 0. I hope i explained it clearly. :)
@@coolwinder It'd be really a good thing to do that in schematic. But if this was that simple, it would have been very famous to use even in the simplest elements' symbol parameters like resistors. But for me, I didn't make a thing like this in schematic before, and when I tried now using SPICE language or SKILL language inside the value field, the simulator gave an error. So, I don't think this is possible in schematic GUIs.
@@amratia99 Then I would need to modify SPICE subcircuit model that I have. So, it would be of great help... Do you know how to import spice model into cadence, that is to make a cell out of spice model? Regards
OMG , you made my day .
Thanks a lot bruh
You are amazing person !
Thanks :D !
great video
How to edit the symbol. suppose i forget to add one pin, then how to ad that pin in the symbol
بارك الله فيك 💗 💗
السلام عليكم ورحمة الله وبركاته بتوفيق إن شاء الله 94 🔔
Thanks this really helped me :D
very helpful
Thanks professor!
Amazing tutorial,can you please tell me how to make Gm-C filter
Thanks, man. I may do a relevant tutorial in the future :D
عظيم 💜
Very nice tutorial! :) Is it possible to use if statements in the value field of some symbol? Like, if I have voltage pulse generator, and I want the beginning voltage to be parameterized by some variable as Voltage1 = Vin, and then to invert that value for the ending voltage of a pulse, like Voltage2 = if((Vin >= 1.2),0,1.2)? Regards.
I think the "if statement" in general can be done using VerilogA model. But for your example, I think it can be done using transient voltage source with 2 parameters: High Value = Voltage1 & Low Value = Voltage2. So, no need for if statement from the beginning.
Please tell me if this answers your question.
@@amratia99 Thank you very much for engaging! So, my question would be, is it possible to enter some coding terms in the value field, like if statement? Because in LTSPICE that is possible, just by entering something like V = {if(Vin==0),1,0} in the value field. As what I would actually have is as DC voltage source that has Voltage = Vin, and then depending on the value of Vin, I want to change a parameter in another instance. If that parameter, for an example, is named polarization, I would like it to be 0 if Vin >= 1.2 and 1 if Vin = 0. I hope i explained it clearly. :)
@@coolwinder
It'd be really a good thing to do that in schematic. But if this was that simple, it would have been very famous to use even in the simplest elements' symbol parameters like resistors.
But for me, I didn't make a thing like this in schematic before, and when I tried now using SPICE language or SKILL language inside the value field, the simulator gave an error.
So, I don't think this is possible in schematic GUIs.
@@amratia99 It seams to me as well that its not possible to use some code inside the value field as in the LTSpice.
@@amratia99 Then I would need to modify SPICE subcircuit model that I have. So, it would be of great help... Do you know how to import spice model into cadence, that is to make a cell out of spice model? Regards