wrong inverter output


I created circuit with inverter using nghdl model (eSim_nghl library), adc, dac and voltage source (picture).

The voltage source is in a pulsing mode, so an output should be the same (only inverted).

I have no idea why there is an output like that (5V DC)?

red line - input

blue line - output

Thank you for help.

eSim 14-12-20, 1:46 p.m. moniqal
since your input is a pulsed value, I am fairly certain you should be getting pulses at the input plot also, but due to scale issues, you may not be able to see the difference.
Also note the parameters that appear during kicad to ngspice such as fall delay and rise delay also affect simulation results.
Now that you have uploaded the inverter's vhdl file, I would encourage you to run the Cmosinverter example from Example/Mixed_Signal/ Or you can put a DC source instead of a pulse, and you will see inverted output.
15-12-20, 10:40 a.m. Saurabhb17

Log-in to answer to this question.