...
- Right click the power source, under "style", choose "PWL FILE="..."".
- Fill in the path to the .dat file, or simply click "Browse" and select the file
- Use Net Name to label your output, i.e. VOUT
- Add analysis command line ".tran 0 4ms"
- Add this line in the SPICE directive: ".wave 'name_the_file.wav' 16 4e6 VOUT".
- 16 is number of bits, ranging from 1 to 32. The higher the bits the slower the simulation
- 4e6 is the sample rate of the simulation. Similarly, the higher the sample rate, the slower the simulation.
Note |
---|
The sample rate of your LTSpice simulation should match the sample rate of your opamp_file.grc fs_in. |