LTSpice and Logic - diyAudio
Go Back   Home > Forums > Design & Build > Software Tools

Software Tools SPICE, PCB CAD, speaker design and measurement software, calculators

Please consider donating to help us continue to serve you.

Ads on/off / Custom Title / More PMs / More album space / Advanced printing & mass image saving
Reply
 
Thread Tools Search this Thread
Old 4th August 2012, 11:59 AM   #1
Mooly is offline Mooly  United Kingdom
diyAudio Moderator
 
Mooly's Avatar
 
Join Date: Sep 2007
Default LTSpice and Logic

I wanted to use LTspice for a little circuit using logic but have run into a problem.

The output from the logic gates seems always to be either 1.00 volts or zero. In the "real world" the output would be determined by the supply voltage.

Here's simple circuit to show what I mean. How do I get the output to be a 5 volt or 10 volt (or whatever I want) level.
Attached Images
File Type: jpg Logic.JPG (106.0 KB, 96 views)
File Type: jpg Logic Output.JPG (98.3 KB, 92 views)
__________________
-------------------------------------------------------
Installing and using LTspice. From beginner to advanced.
  Reply With Quote
Old 4th August 2012, 12:21 PM   #2
repycte is offline repycte  Europe
diyAudio Member
 
Join Date: Feb 2011
You have to add "Vhigh=5" (for 5V) in SpiceLine of the component.
  Reply With Quote
Old 4th August 2012, 12:50 PM   #3
Mooly is offline Mooly  United Kingdom
diyAudio Moderator
 
Mooly's Avatar
 
Join Date: Sep 2007
Thanks for that... I'll have play. Never tried using logic before in LTspice.
__________________
-------------------------------------------------------
Installing and using LTspice. From beginner to advanced.
  Reply With Quote
Old 4th August 2012, 01:24 PM   #4
Mooly is offline Mooly  United Kingdom
diyAudio Moderator
 
Mooly's Avatar
 
Join Date: Sep 2007
Brilliant repycte, that works great... thanks.
__________________
-------------------------------------------------------
Installing and using LTspice. From beginner to advanced.
  Reply With Quote
Old 6th August 2012, 01:22 PM   #5
marce is offline marce  United Kingdom
diyAudio Member
 
Join Date: Jun 2007
Location: Blackburn, Lancs
Get better results with a proper digital signal integrity software, but it dosn't come cheap.
  Reply With Quote

Reply


Hide this!Advertise here!
Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
74HC logic or No logic feedingthe Interface Receiver. Mario_JR Digital Source 2 10th July 2011 09:18 PM
Logic vs. emotion PeteMcK The Lounge 381 12th May 2011 07:56 PM
74AC logic V.S. 74HC logic ? fastcat95 Digital Source 0 16th December 2006 04:03 PM
Logic? Grahamt Multi-Way 3 5th November 2004 01:45 AM
logic ? luurmees Parts 2 9th May 2003 09:05 PM


New To Site? Need Help?

All times are GMT. The time now is 02:34 PM.


vBulletin Optimisation provided by vB Optimise (Pro) - vBulletin Mods & Addons Copyright © 2014 DragonByte Technologies Ltd.
Copyright 1999-2014 diyAudio

Content Relevant URLs by vBSEO 3.3.2