I'm designing a series of arithmetic circuits for a Digital Design class. I must use Electric VLSI for layout and LTSpice from simulation. Since I'm builnd circuits with a lot of inputs (up to 64 for the 32x32 multiplier) I'm trying to automate the simulation process, I wish to:
- Generate a list of input vector using Matlab
- Import the as a .vec file
- Evaluate the average power consumption
Is there a tutorial/resource on this? The best I could find are
And even ther the only example I could find reads:
Since the 1st and 2nd commands are options I tried to launch the simulation only by adding the .trans command, the .vec one and my model file for devices, but no luck. I'm missing something.
I think I understood how to write a .vec file, but not how to embed it into an actual simulation.
For a simple full-adder I'd use:
How to set up the Spice command to execute the digital simulation given this input? Is there a better reference/place I can look for?
Best regards, Andrea