Dual Supply Voltage

001_3v5vSpice : Dual Supply Voltage

Minimum Required Version: Harmony 4.12.2.C

This example demonstrates the use of multiple connect modules to interface between analog subcircuits with different interface voltages and a digital module. The example source files include digital testbench test.v, a SPICE deck spice.in with the definitions of two subcircuits that have different interface characteristics and the two connect module definition files elec3v.v and elec5v.v. Refer to the Harmony Users Manual Appendix G: Extensions to Support Multi Level Voltage Designs for detailed information regarding multiple connect modules. The Harmony mixed-signal simulator will simulate this multiple voltage circuit. The design hierarchary will be displayed in Harmony's design Explorer and the digital and analog signals are displayed in the waveform Analyzer.

Simulate the circuit with Harmony

  • Start Harmony and open the 3v5vSpice.spjx project. The Harmony window title should now display the <project_path>/3v5vSpice.spjx.
  • Push the Go toolbar button to run the simulation.
  • Open the explorer window and observe the connect modules associated with the SPICE subcircuit F3 are BiElec3Volt and the F5 subcircuit uses BiElec5Volt.
  • Open the Analyzer to view the simulation output waveforms. Observe the three volt signal amplitude of the three volt subcircuit (F3) signals IN3V and OUT3V and the five volt signal amplitude of the five volt subcircuit (F5) signals IN5V and OUT5V.