//`timescale 1ns/1ns; module D_FF(q,d,clk,reset); output q; input d,clk,reset; reg q; always@(posedge reset or negedge clk) if(reset) q<=1'b0; else q<=d; endmodule module T_FF(q,clk,reset); output q; input clk,reset; wire d; D_FF dff0(q,d,clk,reset); not n1(d,q); endmodule module ripple_carry_counter(q,clk,reset); output [3:0] q; input clk,reset; T_FF tff0(q[0],clk,reset); T_FF tff1(q[1],q[0],reset); T_FF tff2(q[2],q[1],reset); T_FF tff3(q[3],q[2],reset); endmodule // module stimulus; reg clk; reg reset; wire[3:0] q; ripple_carry_counter r1(q,clk,reset); initial clk=1'b0; always #5 clk=~clk; initial begin reset=1'b1; #15 reset=1'b0; #180 reset=1'b1; #10 reset=1'b0; #20 $finish; end initial $monitor($time," Output q=%d",q); //$dumpfile("stimulus.dump"); //$dumpvars(0, stimulus.clk); //$dumpvars(1, stimulus.reset); //$dumpvars(2, stimulus.q[0]); //$dumpvars(3, stimulus.q[1]); //$dumpvars(4, stimulus.q[2]); //$dumpvars(5, stimulus.q[3]); endmodule
运行效果,正好是一个脉冲加一。
2011年7月26日 01:45
还以为是实物,受惊了……
2011年7月26日 07:58
@λ: ...工艺不够,没能做成品呀~
2021年8月08日 01:36
Thanks for a very interesting blog. What else may I get that kind of info written in such a perfect approach? I’ve a undertaking that I am simply now operating on, and I have been at the look out for such info. 123movie
2021年8月16日 23:05
Thank you because you have been willing to share information with us. we will always appreciate all you have done here because I know you are very concerned with our. visit here
2021年8月17日 14:06
I am very much pleased with the contents you have mentioned. I wanted to thank you for this great article. 먹튀검증
2021年8月18日 16:28
I’m going to read this. I’ll be sure to come back. thanks for sharing. and also This article gives the light in which we can observe the reality. this is very nice one and gives indepth information. thanks for this nice article... 123movies websites
2021年8月18日 20:57
No doubt this is an excellent post I got a lot of knowledge after reading good luck. Theme of blog is excellent there is almost everything to read, Brilliant post. soaptoday
2021年8月19日 20:54
Positive site, where did u come up with the information on this posting? I'm pleased I discovered it though, ill be checking back soon to find out what additional posts you include. soap 2 day
2021年8月20日 18:12
I was reading some of your content on this website and I conceive this internet site is really informative ! Keep on putting up. A-esthetic.co.uk
2021年8月23日 16:34
This is my first time i visit here. I found so many interesting stuff in your blog especially its discussion. From the tons of comments on your articles, I guess I am not the only one having all the enjoyment here keep up the good work thong tac cong quan long bien
2021年8月23日 21:47
Thanks for the blog loaded with so many information. Stopping by your blog helped me to get what I was looking for. paypal smm panel
2021年8月24日 16:02
Hey, this day is too much good for me, since this time I am reading this enormous informative article here at my home. Thanks a lot for massive hard work. Dentitox Pro Reviews
2021年8月25日 18:26
Im no expert, but I believe you just made an excellent point. You certainly fully understand what youre speaking about, and I can truly get behind that.
2021年8月28日 20:34
Excellent article. Very interesting to read. I really love to read such a nice article. Thanks! keep rocking. satta
2021年8月29日 23:51
Nice post. I was checking constantly this blog and I am impressed! Extremely helpful information specially the last part I care for such info a lot. I was seeking this particular information for a very long time. Thank you and good luck. trading signals download
2021年8月30日 03:37
This blog website is pretty cool! How was it made ! Different Search Engines
2021年8月30日 20:01
I really like your writing style, great information, thankyou for posting. matka chart
2021年8月31日 23:37
I like your post. It is good to see you verbalize from the heart and clarity on this important subject can be easily observed... matka
2021年9月04日 16:52 Friend, this web site might be fabolous, i just like it. kalyan satta
2021年9月05日 20:37
I found that site very usefull and this survey is very cirious, I ' ve never seen a blog that demand a survey for this actions, very curious... voyance par tel
2021年9月06日 22:49
Thanks for providing recent updates regarding the concern, I look forward to read more. water based PU
2021年9月07日 20:33
I wanted to thank you for this great read!! I definitely enjoying every little bit of it I have you bookmarked to check out new stuff you post
2021年9月07日 21:27
i am until the call off of time greatly surprised by means of the amount of recommend understandable in financial credit score to this situation. What you presented became ably researched and adroitly worded in an effort to collect your stand within the location of this across to every and the entire single one one your readers.
2021年9月08日 18:01
Love to read it,Waiting For More new Update and I Already Read your Recent Post its Great Thanks. Netzwerken
2021年9月08日 21:47
Thank you for very usefull information.. 250 dofollow blog comments
2021年9月11日 21:57
Thanks for sharing us. 바둑이게임
2021年9月12日 14:43
reat things you’ve always shared with us. Just keep writing this kind of posts.The time which was wasted in traveling for tuition now it can be used for studies.Thanks
2021年9月13日 18:08
howdy, your websites are really good. I appreciate your work.
2021年9月14日 20:54 A great content material as well as great layout. Your website deserves all of the positive feedback it’s been getting. I will be back soon for further quality contents. in this link
2021年9月14日 22:52
I felt very happy while reading this site. This was really very informative site for me. I really liked it. This was really a cordial post. Thanks a lot!. แอพคาสิโน
2021年9月15日 16:31
best publicize! this is a every percentage of easy to apply weblog that i can definitively come steerage to greater epoch this yr! thanks for informative proclaim.
2021年9月26日 18:22
I am very much pleased with the contents you have mentioned. I wanted to thank you for this great article.
2021年9月28日 18:55
Excellent .. Amazing .. I’ll bookmark your blog and take the feeds also…I’m happy to find so many useful info here in the post, we need work out more techniques in this regard, thanks for sharing.
2021年9月30日 15:14
Thank you for taking the time to publish this information very useful!
2021年10月02日 19:05
I was surfing net and fortunately came across this site and found very interesting stuff here. Its really fun to read. I enjoyed a lot. Thanks for sharing this wonderful information.
2021年10月02日 23:33
Nice post mate, keep up the great work, just shared this with my friendz
2021年10月02日 23:48
The first phase the preparation should, theoretically, be uninfluenced by the intended intensity and duration of the sound which is subsequently produced. In fact, however, so quickly are the three phases accomplished that the pianist rarely has capacity to think, in performance, of each phase separately.
2021年10月04日 21:44
Love to read it,Waiting For More new Update and I Already Read your Recent Post its Great Thanks. voyance sans attendre
2021年10月08日 15:21
This is my first time visit to your blog and I am very interested in the articles that you serve. Provide enough knowledge for me. Thank you for sharing useful and don't forget, keep sharing useful info: online transcription services
2021年10月09日 19:10
You’ve got some interesting points in this article. I would have never considered any of these if I didn’t come across this. Thanks!. คาสิโนออนไลน์ฟรีเงิน
2021年10月10日 16:59
Nice post. I was checking constantly this blog and I am impressed! Extremely helpful information specially the last part I care for such info a lot. I was seeking this particular information for a very long time. Thank you and good luck. 먹튀폴리스
2021年10月11日 12:41
I am definitely enjoying your website. You definitely have some great insight and great stories. sherlock holmes coat
2021年10月12日 19:00
Hello I am so delighted I located your blog, I really located you by mistake, while I was watching on google for something else, Anyways I am here now and could just like to say thank for a tremendous post and a all round entertaining website. Please do keep up the great work. North American Bancard Agent Program
2021年10月18日 15:04
Thanks for every other informative site. The place else may just I get that kind of information written in such an ideal means? I have a venture that I’m just now operating on, and I have been on the look out for such information.
2021年10月26日 02:52
This was a really great contest and hopefully I can attend the next one. It was alot of fun and I really enjoyed myself.. voyance telephone
2021年10月27日 13:52
This particular is usually apparently essential and moreover outstanding truth along with for sure fair-minded and moreover admittedly useful My business is looking to find in advance designed for this specific useful stuffs… best bike for teenage girl
2021年11月06日 03:53
Thank you very much for writing such an interesting article on this topic. This has really made me think and I hope to read more. pkv games online
2021年11月13日 19:32
You there, this is really good post here. Thanks for taking the time to post such valuable information. Quality content is what always gets the visitors coming.
2021年11月20日 17:55
I'm glad I found this web site, I couldn't find any knowledge on this matter prior to.Also operate a site and if you are ever interested in doing some visitor writing for me if possible feel free to let me know, im always look for people to check out my web site
2021年11月28日 22:50
I definitely enjoying every little bit of it. It is a great website and nice share. I want to thank you. Good job! You guys do a great blog, and have some great contents. Keep up the good work
2022年7月13日 23:08
<p>
Your texts on this subject are correct, see how I wrote this site is really very good. <a href="https://minecraftsketchbros.eu/sharpness-1000-1-19">Sharpness 1000 sword</a></p>
2022年7月13日 23:09
For true fans of this thread I will address is a free online! Sharpness 1000 sword 1.19
2022年8月31日 03:15
I have bookmarked your blog, the articles are way better than other similar blogs.. thanks for a great blog! formation gestion d'entreprise
2022年10月20日 18:39
Really awesome article. It has been a pleasure reading it, i just want to tell you that I appreciate what you do. If you want to take a look on what I do and how my work looks then you can check out my website. It is mainly about the Tech Stuff and I would really appreciate it if you do. Here it is: <a href="https://minecraftwild.com">Minecraft Wild</a>
2022年10月29日 23:46
I got too much interesting stuff on your blog. I guess I am not the only one having all the enjoyment here! Keep up the good work. gramhir
2022年11月22日 23:49 Thanks for this great post, i find it very interesting and very well thought out and put together. I look forward to reading your work in the future. Satta king
2022年11月27日 17:41
This is my first time i visit here and I found so many interesting stuff in your blog especially it's discussion, thank you. deep web
2023年9月05日 17:57
Thanks for taking the time to discuss this, I feel strongly about it and love learning more on this topic. If possible, as you gain expertise, would you mind updating your blog with more information? It is extremely helpful for me. EuroTogel Login