The Designer's Guide Community
Forum
Welcome, Guest. Please Login or Register. Please follow the Forum guidelines.
Apr 20th, 2024, 12:30am
Pages: 1
Send Topic Print
How to save digital signal in mixed-signal simulating using spectreVerilog (Read 6671 times)
wendyyang100
New Member
*
Offline



Posts: 7

How to save digital signal in mixed-signal simulating using spectreVerilog
May 14th, 2014, 8:15am
 
Hi all,

I am new to here, and I am doing some analog and mix-mode design now.

I try to save digital signals ( all the digital signal in the design, not just the output of digital part) in the verilog code as follows:
 initial
 begin
  $dumpfile( "wave.vcd");
  $dumpvars( 0, digital);
 end

But I found the saved waveform only have initial value, all that after initialization don't exist.

The analog part works well, and the output of the digital part is right send to analog part. Thus, I guess the fault located in the saving.

How do you save the digital signals using verilog?
How to fix this problem?

Thank your for your patience~

Wendy
Back to top
 
 
View Profile   IP Logged
wendyyang100
New Member
*
Offline



Posts: 7

Re: How to save digital signal in mixed-signal simulating using spectreVerilog
Reply #1 - May 18th, 2014, 9:00pm
 
Please some body reply me how to view the internal digital signal when using spectreVerilog.
Thanks a lot.
Back to top
 
 
View Profile   IP Logged
Geoffrey_Coram
Senior Fellow
******
Offline



Posts: 1998
Massachusetts, USA
Re: How to save digital signal in mixed-signal simulating using spectreVerilog
Reply #2 - Mar 26th, 2015, 7:03am
 
Since your saving is done in an "initial" block, why are you surprised that you only get initial values?
Back to top
 
 

If at first you do succeed, STOP, raise your standards, and stop wasting your time.
View Profile WWW   IP Logged
wendyyang100
New Member
*
Offline



Posts: 7

Re: How to save digital signal in mixed-signal simulating using spectreVerilog
Reply #3 - Mar 29th, 2015, 10:10am
 
Hi! Thanks for your reply.

In my opinion, the initial block tells the simulator to start dump signals. Not just for the initial moment.

Could you please tell me how do you dump your results?

Thanks for your kind help. I was too happy to find an answer, and found I made a mistake when posting, so I modified this again...


Geoffrey_Coram wrote on Mar 26th, 2015, 7:03am:
Since your saving is done in an "initial" block, why are you surprised that you only get initial values?
Back to top
 
 
View Profile   IP Logged
Ken Kundert
Global Moderator
*****
Offline



Posts: 2384
Silicon Valley
Re: How to save digital signal in mixed-signal simulating using spectreVerilog
Reply #4 - Mar 30th, 2015, 12:00pm
 
This can be tool specific. Tell us more about your situation.

-Ken
Back to top
 
 
View Profile WWW   IP Logged
Pages: 1
Send Topic Print
Copyright 2002-2024 Designer’s Guide Consulting, Inc. Designer’s Guide® is a registered trademark of Designer’s Guide Consulting, Inc. All rights reserved. Send comments or questions to editor@designers-guide.org. Consider submitting a paper or model.