I want to add this input signal in my hspice code. Here I am doing transient analysis. How can I do it?
Asked
Active
Viewed 115 times
1 Answers
2
Without seeing the schematic and some values it's impossible to tell. You could try to get around using either a behavioural source with int()
, round()
, floor()
, or ceil()
-- if a continuous voltage is applied at the input -- or a PWL()
source, something like: PWL(1 0 +1m 1 2 1 +1m 3 ...)
-- which will not need any input signal. There may be other, more complicated ways, by creating circuits that generate this kind of staircase signal, but since you didn't say anything else, there's not much else to talk about.

a concerned citizen
- 21,167
- 1
- 20
- 40
-
1Thanks a lot. Have done it with PWL source. – Tanvir Hossain Oct 24 '20 at 18:41