Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

[SOLVED] DAC waveform generation in LTSpice

Status
Not open for further replies.

neddie

Full Member level 5
Full Member level 5
Joined
Feb 23, 2010
Messages
251
Helped
41
Reputation
82
Reaction score
35
Trophy points
1,308
Location
South Africa
Activity points
3,026
Does anybody know haw I can generate an 8bit dac waveform in LTSpice.
Sine wave would be fine , preferably variable frequency.
I'd like to be able to test different filters that could be used after an 8 bit dac.
I'm trying to avoid actually building a DAC in ltspice , just want the output waveform.
You could probably do it with a ridiculously long PWL file , but that is not really practical.
Cheers
Neddie
 

If you read the LTspice documentation and think a bit, you'll figure out how to implement a quantizer in behavioral code.

Hint: there are round(), floor() and ceil() functions available. You can implement effectively any digital signal processing algorithm in PSpice or LTspice.
 


Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top