_TOP_MENU

Dec 8, 2015

Selective Signal dumping in VPD VCS


Q. How to dump waveform using command line option in VCS ?


initial begin

$vcspluson();

end

If you are trying to dump VCD format, it is very obvious that this file occupies more space because it contains ASCII format (readable).

If you are trying to dump as VCS's own format called VPD, then you have the following control over that.
$vcdplusfile("my_dump.vpd");
$vcdpluson(<level>, <scope>);
ex: $vcdpluson(0, top.dut.sub);
<level> - default is 0. Dumps all the levels.

$vcdplusoff(<level>, <scope>);
ex: $vcdplusoff(2, top.dut.sub.sub_2);
<level> - default is 0. Switch offs the dump upto the specified
levels.

Q. How to dump waveform in VHDL ?

A. I am searching , if you know please put that in comments.


initial begin
$vcdpluson(0,tb);
$fsdbDumpvars;
$dumpfile("file.vcd");
$dumpvars();
end


Dumping of signal value changes in VCD format can be enabled in verilog by including the $dumpvars system task.

In addition to this method, VCS provides a way to enable VCD dumping at compile time.

This can be achieved by including the following switch  at compile time: "+vcs+dumpvars[+filename]"

For example, consider the following case:

cat test.v

module test;

reg clk;
initial begin
clk = 1'b0;
forever #5 clk = ~clk;
end

initial begin
#100 $finish;
end
endmodule


vcs test.v -V -l logfile -R +vcs+dumpvars+test.vcd

The $dumpvars system task is not specified in the verilog code above. Instead, VCD dumping is enabled with the addition of the compile time switch "+vcs+dumpvars+test.vpd".

The result is equivalent to calling the following system tasks:

$dumpvars;
$dumpfile("test.vpd");

If the filename is not specified (ie. only +vcs+dumpvars is used), then the filename defaults to "verilog.dump".

If both the system task ($dumpvars) and the compile-time switch (+vcs+dumpvars) are specified, then the compile-time switch takes precedence.

No additional verilog code is needed when enabling VCD dumping using the compile time switch.

Put your comments ... if you like it.

Thanks

143 comments:

  1. I absolutely love your site.. Excellent colors & theme.

    Did you make this amazing site yourself? Please reply back as I’m trying to create my own blog
    and would love to find out where you got this from or just what the theme is called.
    Kudos!

    ReplyDelete
  2. This comment has been removed by a blog administrator.

    ReplyDelete
  3. This comment has been removed by a blog administrator.

    ReplyDelete
  4. This comment has been removed by a blog administrator.

    ReplyDelete
  5. This comment has been removed by a blog administrator.

    ReplyDelete
  6. This comment has been removed by a blog administrator.

    ReplyDelete
  7. This comment has been removed by a blog administrator.

    ReplyDelete
  8. This comment has been removed by a blog administrator.

    ReplyDelete
  9. This comment has been removed by a blog administrator.

    ReplyDelete
  10. This comment has been removed by a blog administrator.

    ReplyDelete
  11. This comment has been removed by a blog administrator.

    ReplyDelete
  12. This comment has been removed by a blog administrator.

    ReplyDelete
  13. This comment has been removed by a blog administrator.

    ReplyDelete
  14. This comment has been removed by a blog administrator.

    ReplyDelete
  15. This comment has been removed by a blog administrator.

    ReplyDelete
  16. This comment has been removed by a blog administrator.

    ReplyDelete
  17. This comment has been removed by a blog administrator.

    ReplyDelete
  18. This comment has been removed by a blog administrator.

    ReplyDelete
  19. This comment has been removed by a blog administrator.

    ReplyDelete
  20. This comment has been removed by a blog administrator.

    ReplyDelete
  21. This comment has been removed by a blog administrator.

    ReplyDelete
  22. This comment has been removed by a blog administrator.

    ReplyDelete
  23. This comment has been removed by a blog administrator.

    ReplyDelete
  24. This comment has been removed by a blog administrator.

    ReplyDelete
  25. This comment has been removed by a blog administrator.

    ReplyDelete
  26. This comment has been removed by a blog administrator.

    ReplyDelete
  27. This comment has been removed by a blog administrator.

    ReplyDelete
  28. This comment has been removed by a blog administrator.

    ReplyDelete
  29. This comment has been removed by a blog administrator.

    ReplyDelete
  30. This comment has been removed by a blog administrator.

    ReplyDelete
  31. This comment has been removed by a blog administrator.

    ReplyDelete
  32. This comment has been removed by a blog administrator.

    ReplyDelete
  33. This comment has been removed by a blog administrator.

    ReplyDelete
  34. Everything is very open with a clear clarification of the issues.

    It was really informative. Your website is very helpful.

    Many thanks for sharing!

    ReplyDelete
  35. This comment has been removed by a blog administrator.

    ReplyDelete
  36. This comment has been removed by a blog administrator.

    ReplyDelete
  37. This comment has been removed by a blog administrator.

    ReplyDelete
  38. This comment has been removed by a blog administrator.

    ReplyDelete
  39. This comment has been removed by a blog administrator.

    ReplyDelete
  40. This comment has been removed by a blog administrator.

    ReplyDelete
  41. This comment has been removed by a blog administrator.

    ReplyDelete
  42. This comment has been removed by a blog administrator.

    ReplyDelete
  43. This comment has been removed by a blog administrator.

    ReplyDelete
  44. This comment has been removed by a blog administrator.

    ReplyDelete
  45. This comment has been removed by a blog administrator.

    ReplyDelete
  46. This comment has been removed by a blog administrator.

    ReplyDelete
  47. This comment has been removed by a blog administrator.

    ReplyDelete
  48. This comment has been removed by a blog administrator.

    ReplyDelete
  49. This comment has been removed by a blog administrator.

    ReplyDelete
  50. This comment has been removed by a blog administrator.

    ReplyDelete
  51. This comment has been removed by a blog administrator.

    ReplyDelete
  52. This comment has been removed by a blog administrator.

    ReplyDelete
  53. This comment has been removed by a blog administrator.

    ReplyDelete
  54. This comment has been removed by a blog administrator.

    ReplyDelete
  55. This comment has been removed by a blog administrator.

    ReplyDelete
  56. This comment has been removed by a blog administrator.

    ReplyDelete
  57. This comment has been removed by a blog administrator.

    ReplyDelete
  58. This comment has been removed by a blog administrator.

    ReplyDelete
  59. This comment has been removed by a blog administrator.

    ReplyDelete
  60. This comment has been removed by a blog administrator.

    ReplyDelete
  61. This comment has been removed by a blog administrator.

    ReplyDelete
  62. This comment has been removed by a blog administrator.

    ReplyDelete
  63. This comment has been removed by a blog administrator.

    ReplyDelete
  64. This comment has been removed by a blog administrator.

    ReplyDelete
  65. This comment has been removed by a blog administrator.

    ReplyDelete
  66. This comment has been removed by a blog administrator.

    ReplyDelete
  67. This comment has been removed by a blog administrator.

    ReplyDelete
  68. This comment has been removed by a blog administrator.

    ReplyDelete
  69. This comment has been removed by a blog administrator.

    ReplyDelete
  70. This comment has been removed by a blog administrator.

    ReplyDelete
  71. This comment has been removed by a blog administrator.

    ReplyDelete
  72. This comment has been removed by a blog administrator.

    ReplyDelete
  73. Good site you've got here.. It’s difficult to find good quality
    writing like yours nowadays. I honestly appreciate individuals like
    you! Take care!!

    ReplyDelete
  74. Hi, I do believe this is a great blog. I stumbledupon it ;) I am going to revisit once again since i have bookmarked it.

    Money and freedom is the best way to change, may you be rich and continue to
    guide others.

    ReplyDelete
  75. You have made some decent points there. I looked on the net to learn more about the issue and found most individuals will go along with your views on this web site.

    ReplyDelete
  76. Howdy! This article could not be written any better!
    Looking at this post reminds me of my previous roommate!
    He constantly kept preaching about this. I am going to forward this post to him.

    Pretty sure he will have a good read. Many thanks for sharing!

    ReplyDelete
  77. I blog often and I really appreciate your content.
    The article has really peaked my interest. I will book mark your website and keep checking for
    new details about once a week. I subscribed to your Feed
    as well.

    ReplyDelete
  78. An intriguing discussion is definitely worth comment. I think that you
    should write more about this topic, it may not be a taboo matter but generally people don't discuss such
    issues. To the next! Cheers!!

    ReplyDelete
  79. A fascinating discussion is definitely worth comment. I believe
    that you should publish more about this issue, it might not be a taboo matter but generally folks don't talk about such topics.
    To the next! Cheers!!

    ReplyDelete
  80. I wanted to thank you for this great read!! I definitely enjoyed every bit of
    it. I have got you bookmarked to look at new things you post…

    ReplyDelete
  81. Hello! I could have sworn I’ve been to this site before but after going through a few of the posts I realized it’s new to me.
    Nonetheless, I’m definitely delighted I found
    it and I’ll be book-marking it and checking back often!

    ReplyDelete
  82. Great post. I'm going through some of these issues as well..

    ReplyDelete
  83. I like it when folks come together and share ideas. Great website, keep it up!

    ReplyDelete
  84. An interesting discussion is worth comment. I do believe that you ought to publish more on this subject, it might not be a taboo matter but typically people do not speak about these subjects.
    To the next! Cheers!!

    ReplyDelete
  85. I was able to find good info from your blog articles.

    ReplyDelete
  86. You're so awesome! I don't suppose I've truly read through a single thing like this before.
    So good to discover someone with a few genuine thoughts on this topic.
    Seriously.. thanks for starting this up. This website is one
    thing that's needed on the internet, someone with a
    little originality!

    ReplyDelete
  87. Howdy! This blog post could not be written much better!
    Going through this article reminds me of my previous roommate!
    He constantly kept preaching about this. I most certainly will send this information to him.
    Fairly certain he's going to have a good read. Many thanks for sharing!

    ReplyDelete
  88. An impressive share! I've just forwarded this onto a coworker who was doing a little research on this.
    And he actually bought me lunch due to the fact that I found it for
    him... lol. So allow me to reword this.... Thank YOU for the meal!!
    But yeah, thanks for spending time to talk about
    this subject here on your web site.

    ReplyDelete
  89. I really like looking through an article that will make men and women think.
    Also, thanks for allowing me to comment!

    ReplyDelete
  90. I really like it whenever people get together
    and share thoughts. Great blog, stick with it!

    ReplyDelete
  91. You need to be a part of a contest for one of the greatest blogs on the net.

    I will recommend this site!

    ReplyDelete
  92. Excellent article! We are linking to this particularly great article on our site.
    Keep up the great writing.

    ReplyDelete
  93. When I initially commented I seem to have clicked on the -Notify me when new comments
    are added- checkbox and now every time a comment is added I get four emails with the same comment.

    Is there a way you are able to remove me from that service?

    Thanks a lot!

    ReplyDelete
  94. This is a topic that's near to my heart... Many thanks! Where are your contact details though?

    ReplyDelete
  95. Hello there! I simply would like to offer you a big
    thumbs up for the excellent information you've got right here on this post.
    I'll be coming back to your blog for more soon.

    ReplyDelete
  96. I was more than happy to discover this page. I wanted to thank
    you for ones time for this particularly fantastic read!!

    I definitely loved every bit of it and i also have you book marked to see new things on your website.

    ReplyDelete
  97. Great site you've got here.. It’s difficult to find high quality writing like
    yours nowadays. I truly appreciate people like you!
    Take care!!

    ReplyDelete
  98. This is a topic that's close to my heart... Many thanks! Where are your contact details though?

    ReplyDelete
  99. You are so cool! I don't think I have read a single thing like this before.
    So nice to discover another person with a few genuine thoughts on this subject.

    Seriously.. many thanks for starting this up. This web site is one thing that is required on the internet, someone with some originality!

    ReplyDelete
  100. I blog quite often and I really thank you for your content.
    Your article has really peaked my interest. I'm going to
    book mark your site and keep checking for new details about once per week.
    I subscribed to your RSS feed too.

    ReplyDelete
  101. This is a good tip especially to those fresh to the blogosphere.

    Brief but very precise info… Many thanks for sharing this
    one. A must read article!

    ReplyDelete
  102. Hello! I just would like to give you a big thumbs up
    for the great information you've got here on this post.
    I'll be coming back to your blog for more soon.

    ReplyDelete
  103. Very good article. I am experiencing many of these issues as well..

    ReplyDelete
  104. After I originally commented I seem to have
    clicked on the -Notify me when new comments are added- checkbox and now
    each time a comment is added I recieve four emails with the same comment.

    Is there a means you can remove me from that service?
    Thanks!

    ReplyDelete
  105. Everything is very open with a very clear clarification of the issues.
    It was really informative. Your site is useful.
    Thank you for sharing!

    ReplyDelete
  106. I'd like to thank you for the efforts you have put in penning this site.
    I really hope to see the same high-grade content by you later on as well.
    In fact, your creative writing abilities has encouraged me to get my
    very own blog now ;)

    ReplyDelete
  107. I really like it whenever people come together and share opinions.
    Great blog, stick with it!

    ReplyDelete
  108. Can I just say what a relief to discover someone that truly knows what
    they're talking about online. You certainly understand how to bring an issue to light and make it important.
    More and more people ought to read this and understand this side of the story.
    I was surprised that you aren't more popular since you most certainly possess the gift.

    ReplyDelete
  109. Everything is very open with a really clear clarification of the challenges.
    It was definitely informative. Your website is very useful.
    Thank you for sharing!

    ReplyDelete
  110. Very good information. Lucky me I came across your blog by
    chance (stumbleupon). I have book marked it for later!

    ReplyDelete
  111. I have to thank you for the efforts you have put in writing this website.
    I really hope to check out the same high-grade blog posts from you in the future as
    well. In fact, your creative writing abilities has encouraged me to get my own site now ;)

    ReplyDelete
  112. Spot on with this write-up, I honestly believe that
    this amazing site needs much more attention. I’ll probably be returning to read more,
    thanks for the advice!

    ReplyDelete
  113. Way cool! Some extremely valid points! I appreciate you writing this article and
    the rest of the website is really good.

    ReplyDelete
  114. Greetings! Very helpful advice within this article!
    It is the little changes which will make the greatest
    changes. Thanks a lot for sharing!

    ReplyDelete
  115. When I initially left a comment I appear to have clicked on the -Notify me
    when new comments are added- checkbox and now each time a comment is added I receive 4 emails with the same comment.
    Perhaps there is a means you are able to remove me from that service?
    Kudos!

    ReplyDelete
  116. I blog frequently and I truly appreciate your content.

    This article has truly peaked my interest. I am going to bookmark your site
    and keep checking for new details about once a week.
    I opted in for your Feed as well.

    ReplyDelete
  117. Hi, I do think this is an excellent website.

    I stumbledupon it ;) I may return once again since i have bookmarked it.
    Money and freedom is the best way to change,
    may you be rich and continue to help other people.

    ReplyDelete
  118. Good info. Lucky me I found your site by accident (stumbleupon).
    I've bookmarked it for later!

    ReplyDelete
  119. After I initially commented I appear to have clicked the -Notify me when new comments are added- checkbox and now every time a comment is added I get
    4 emails with the exact same comment. Perhaps there is a way you can remove me from that service?

    Cheers!

    ReplyDelete
  120. Right here is the perfect site for everyone who really wants to understand this topic.
    You know a whole lot its almost tough to argue with
    you (not that I really would want to…HaHa).
    You definitely put a new spin on a subject which has been written about for a long time.
    Excellent stuff, just wonderful!

    ReplyDelete
  121. An impressive share! I've just forwarded this
    onto a friend who had been doing a little homework on this.
    And he in fact bought me dinner because I found it for
    him... lol. So allow me to reword this.... Thank YOU for the meal!!
    But yeah, thanks for spending the time to talk about this matter here on your blog.

    ReplyDelete
  122. Pretty! This was an incredibly wonderful article. Thanks for providing this info.

    ReplyDelete
  123. Great web site you've got here.. It’s difficult to find excellent writing like
    yours these days. I honestly appreciate people like you!

    Take care!!

    ReplyDelete
  124. I'm more than happy to discover this website. I want to to thank you for ones time
    for this particularly wonderful read!! I definitely loved every part of it and I have you book-marked to
    see new stuff on your blog.

    ReplyDelete
  125. Great web site you have got here.. It’s difficult to find good
    quality writing like yours nowadays. I honestly appreciate people like you!
    Take care!!

    ReplyDelete
  126. I really like it when individuals get together and share opinions.
    Great site, stick with it!

    ReplyDelete
  127. I have to thank you for the efforts you've put in penning this site.
    I'm hoping to view the same high-grade content by you in the future as well.
    In truth, your creative writing abilities has inspired me to get my very own site
    now ;)

    ReplyDelete
  128. I love looking through a post that will make people think.
    Also, many thanks for allowing me to comment!

    ReplyDelete
  129. I blog often and I really thank you for your information. Your article
    has really peaked my interest. I am going to book mark your blog and keep checking for new details about once per week.
    I subscribed to your RSS feed too.

    ReplyDelete
  130. This is the perfect webpage for anyone who wants
    to understand this topic. You know a whole lot its almost tough to argue with you (not that I actually would want to…HaHa).
    You certainly put a brand new spin on a subject that has
    been discussed for a long time. Great stuff, just
    wonderful!

    ReplyDelete
  131. I truly love your blog.. Very nice colors & theme.
    Did you develop this amazing site yourself? Please
    reply back as I’m planning to create my own blog and would like
    to learn where you got this from or just what the theme is called.
    Kudos!

    ReplyDelete
  132. Pretty! This has been a really wonderful article. Thank you for supplying these details.

    ReplyDelete
  133. Everything is very open with a precise explanation of the challenges.
    It was definitely informative. Your site is very
    helpful. Thanks for sharing!

    ReplyDelete
  134. This blog was... how do I say it? Relevant!! Finally I have
    found something that helped me. Appreciate it!

    ReplyDelete
  135. I absolutely love your blog.. Excellent colors & theme.
    Did you build this site yourself? Please reply back as I’m hoping to create my very own website and would
    love to know where you got this from or exactly what the theme is called.
    Thank you!

    ReplyDelete
  136. I blog frequently and I seriously appreciate your content.
    Your article has really peaked my interest. I'm going to bookmark your blog and keep checking for new information about once per week.

    I subscribed to your RSS feed too.

    ReplyDelete
  137. Your style is really unique in comparison to other folks I have read stuff from.
    Many thanks for posting when you've got the opportunity, Guess I will just bookmark this web site.

    ReplyDelete
  138. I enjoy looking through an article that can make people
    think. Also, thanks for permitting me to comment!

    ReplyDelete
  139. This blog was... how do you say it? Relevant!!
    Finally I've found something which helped me. Thanks!

    ReplyDelete
  140. This website was... how do you say it? Relevant!! Finally I
    have found something that helped me. Many thanks!

    ReplyDelete
  141. There's certainly a great deal to know about this subject.
    I really like all the points you've made.

    ReplyDelete
  142. After I originally commented I appear to have clicked on the -Notify me when new comments are added-
    checkbox and now each time a comment is added I recieve 4 emails with the same comment.

    Perhaps there is a means you are able to remove me from that
    service? Thank you!

    ReplyDelete