simulation model for parallel in serial out

dl324

Joined Mar 30, 2015
18,220
I am wondering if we can run simulation using HEF4021B.
Do you want to do a logic simulation? Or circuit simulation?

If you want to do a logic simulation, a logic simulator would be a much better option. In addition to being able to easily check logic levels, you can generate timing diagrams.
 

Thread Starter

engr_david_ee

Joined Mar 10, 2023
358
Yes, I actually want to perform logic simulation using a logic simulator. Which logic simulator can be used ? Please give me suggestion. Thanks in advance.
 

ci139

Joined Jul 11, 2016
1,949
Yes, I actually want to perform logic simulation using a logic simulator. Which logic simulator can be used ? Please give me suggestion. Thanks in advance.
  • logic only - or a mixed (with analog) simulation ?
    • how many power sources ? ← may affect the ¹initialization of the simulation + more
      • are there multiple isolated grounds ? ← requires the Vss for logic to be at the global GND
    • is there any inductors in the circuit/simulation ? ← will slow down or compromise the thing (also ¹ ↑ )

implementing it with ARBITRARY STATE MACHINE might give the best performance - but requires quite good expertise at LTspice
 

ci139

Joined Jul 11, 2016
1,949
the CD4021's model using subcircuit (.asc) which uses netlist (.cir) // -- it's not good to resolve timing/latency issues

assumes the Vss is the global reference ground (GND) and the supply is +5V

cd4021.jpg
 

Attachments

Top