Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Right click the power source, under "style", choose "PWL FILE="..."".
  2. Fill in the path to the .dat file, or simply click "Browse" and select the file
  3. Use Net Name to label your output, i.e. VOUT
  4. Add analysis command line ".tran 0 4ms"
  5. Add this line in the SPICE directive: ".wave 'name_the_file.wav' 16 4e6 VOUT".
  6. 16 is number of bits, ranging from 1 to 32. The higher the bits the slower the simulation
  7. 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.