Verilog code for AND gate with test bench




Circuit Diagram With TT





 

module andgate (a, b, y);
input a, b;
output y;
assign y = a & b;
endmodule
 

TestBench 

module andgate_tb;
 wire t_y;
 reg t_a, t_b;
 andgate my_gate( .a(t_a), .b(t_b), .y(t_y) );
 initial begin    
$monitor(t_a, t_b, t_y);
t_a = 1'b0;
t_b = 1'b0;

#5
t_a = 1'b0;
t_b = 1'b1;

#5
t_a = 1'b1;
t_b = 1'b0;

#5
t_a = 1'b1;
t_b = 1'b1;

end
endmodule

 



Comments

  1. I was diagnosed with COPD with 55-60% lung capacity. My doctor just said all the crying , stomping your feet will not change it so just accept it and basically patted me on the back and sent me home to die. I was devastated and was afraid to do anything. I stopped riding my bike, I was afraid to do anything that would cause any exertion. It consumed my thoughts with every breath and the fear of what to expect was almost more than I could deal with. So I couldn't get myself all time I decided to find a herbal cure online and I came acrose Doctor Itua on how he cure several people suffering from Hiv, and Herpes I gave him a call on this Number +2348149277967 also chat on whatsapp he gave me all the details about the cure i paid him for the medicine after 5 working days i receieve my herbal medicine ,I use it for two weeks that is how I get Cured and today I'm living healthy and fine I give him thanks also promise him to testify about his work,He Can also cure the following diseases..Copd,Herpes,Alzheimer's disease,carcinoma.Asthma,Allergic diseases.Parkinson's ,Epilepsy,Cancer,Fibromyalgia,Hiv,Hepatitis,diabetes,Coeliac disease,Infertility, Asthma.Contact...drituaherbalcenter@gmail.com..Whatsapp Number...+2348149277976

    ReplyDelete
    Replies


    1. Am jeremiah, I am testifying about a great hebal man that cured my wife of hepatitis B and liver cirhosis. his name is Dr oniha. My wife was diagnose of hepatities two years ago, i almost spent all i had then, until i saw dr oniha recommendation online, and i call him, then he told me how to get the herb. You can call him on +2347089275769 or email him at dronihaspell@yahoo.com

      Delete
  2. I’m Mark Russ , I contracted HIV in 2009, I was told by my doctor that
    there’s no possible cure for HIV. I started taking my ARV’s, My CD4 was 77
    and viral load was 112,450. I saw a website of Dr. Imoloa also I saw a lot
    of testimonials about him on how he uses herbal medicine to cure HIV. I
    contacted him and told him my problems, He sent me the herbal medicine and
    I took it for 7 days after then I went for check-up and I was cured. The
    medicine has NO SIDE EFFECT, there’s no special diet when taking the
    medicine. He also cure DIABETES, EX BACK, ALS, HEPATITIS B, CANCER, HERPES
    1) If you want your ex back.
    (2) If you always have bad dreams.
    (3) You want to be promoted in your
    office.
    (4) You want women/men to run after
    you.
    (5) If you want your own children
    (6) You want to be rich.
    (7) You want to tie your husband/wife to
    be
    yours forever.
    (8) If you need financial assistance.
    (9) How you been scammed and you
    (10) and if you ant your herpes cure back
    want to recover you lost money
    (11) CANCER,
    (12) DIABETES,
    (13) HIV&AIdS,
    (14) URINARY TRACT INFECTION,
    (15) CANCER,
    (16) IMPOTENCE,
    (17) BARENESS/INFERTILIY
    (18) DIARRHEA
    (19) ASTHMA..
    Also contact him with the above.
    and lots more. You can reach him on drimoloaherbalmademedicine@gmail.com or
    Whatsapp +2347081986098 all thanks to dr imoloa he is really a great man .

    ReplyDelete
  3. All thanks to Dr. Imoloa if not for him I don't know what will have become of me today. I married my husband who was HIV positive like myself. We accepted it as fate since there is no cure. Two years after our marriage my life was torn apart when our family doctor diagnosed me of genital herpes virus I know it was from my ex whom I have dated years back. I became very worried because I don't know what will be my husband judgment when he finds out. I searched everywhere both on internet for cure but no success until my husband started suspecting but still he wasn't sure. I don't want to loose my marriage I prayed everyday with hope that there is a cure. I searched without rest blogs, websites, everything google says about herpes and cure and peoples comments one evening after work I was surfing the internet on herpes cure I saw a friend who was giving testimony on how DR. Imoloa have helped cured her of her herpes virus I immediately contacted her to confirm if her testimony was real. She told me it was. She also told me about African Herbs and Herbalist and Dr imoloa. She then gave me Dr. imoloa contact, which I contacted him immediately. He told me about his Herbal Medicines and how he has helped many people get healthy with fruits and vegetables and also cured many with his Roots and traditional Herbs, I was interested. He prepared and sent me Herbal medicine for both HERPES & HIV through DHL I used this medicines for both HERPES and HIV carefully as was prescribed by him for 1week and 4days without my husband notice. I waited for a month then went for medical test in a different hospital and I was both herpes and HIV negative I felt reborn. I showed my husband my result and told him everything including DR imoloa. He contacted DR imoloa who also sent him HIV Herbal Medicine. He used this Medicines for just 8days, then we both went to our family doctor who confirmed my husband HIV negative and me still negative. Our family doctor, Dr Paul is a good Christian and often advice his patients to use natural remedy. Based on confidential he do introduce some of his patients to DR imoloa for Herbal cure. If you are sick and want the right Herbal Medicine contact DR imoloa on drimolaherbalmademedicine@gmail.com. you can also reach him on whatssap- +2347081986098. GOD bless you dr imoloa, you are really a great man.

    ReplyDelete
  4. Dr. Imoloa has really made me so much believe in him by getting me cured with his herbal treatment. i really appreciate you Dr.imoloa for bringing back happiness to my life again. thank you so much,friends join me to thank him for what he has actually done for me i pray to you all for a good life and good health, and most especially to you Dr. imoloa Thanks

    I have been suffering from (HERPES SIMPLEX VIRUS) disease for the past four years and had constant pain, especially in my knees. During the first year,I had faith in God that i would be healed someday.This disease started circulating all over my body and i have been taking treatment from my doctors, few months ago i came on search on the internet if i could get any information concerning the cure of this disease, on my search i saw a testimony of someone who has been healed from (HERPES SIMPLEX VIRUS) by this Man Dr imoloa and she drop the email address of this man and advise we should contact him for any sickness that he would be of help, so i wrote to Dr. Sam telling him about my (HERPES Virus) well after all the procedures and remedy given to me by this man few weeks later i started experiencing changes all over me. I am now here to testify that i am no longer a herpes patient, I have experience a total transformation in my life,for all herpes patients get your herbal medicine to cure your sickness. And there has being rapid improvement in my health, I no longer feel pains and I wake up each morning feeling revived. So friends my advise is if you have such sickness or any other at all,you can contact him on drimolaherbalmademedicine@gmail.com, you can still reach him on whatssap- +2347081986098
    CANCER
    EPILEPSY.
    GENPILENCIN.
    HIV AIDS.
    DIABETICS
    STROKE.
    EXPANDS OF PENIS BREAST
    H.P.V TYPE 1 TYPE 2 TYPE 3 AND TYPE 4. TYPE 5.
    HUMAN PAPAILOMA VIRUS.
    HERPES.
    SYPHILIS.
    HEPATITIS A B and C.


    ReplyDelete
  5. I want to share my testimony on how i get cure of my HERPES GENITAL with the help of Doctor idahosa, i have being suffering for this disease for a very long time now.i have try several means to get rid of of the (HERPES) disease for the last five years and had constant pain, especially in my knees. During the first year,I had faith in God that i would be healed someday.This disease started circulate all over my body and i have been taking treatment from my doctor, few weeks ago i came on search on the internet if i could get any information concerning the prevention of this disease, on my search i saw a testimony of someone who has been healed from (Hepatitis B and Cancer) by this Man Dr idahosa and she also gave the email address of this man and advise we should contact him for any sickness that he would be of help, so i wrote to Dr idahosa telling him about my (HERPES Virus) he told me not to worry that i was going to be cured!! hmm i never believed it,, well after all the procedures and remedy given to me by this man few weeks later i started experiencing changes all over me as the Doctor assured me that i am cured,after some time i went to my doctor to confirmed if i have be finally healed behold it was TRUE, So friends my advise is if you have such sickness or any other at all you can email Dr idahosa ondridahosasolutioncenter@gmail.com sir i am indeed grateful for the help i will forever recommend you to my friends and to share this to every one that have any of this sickness you can call his whatssAp via +2348134261542

    ReplyDelete

  6. THIS IS HOW I GOT CURED FROM HIV VIRUS!!!

    I am Success Afred .A. i was diagnosed of HIV Virus in 2017 and I have tried
    all I can to get cured but all to no avail, until i saw a post in a health
    forum about a herbalist man who prepare herbal medication to cure all kind
    of diseases including HIV virus, at first i doubted if it was real but
    decided to give it a try, when i contact this herbalist via his email and
    he prepared a HIV herbal cure and sent it to me via fed-ex delivery
    company service, when i received this herbal cure, he gave me step by
    directions on how to apply it, when i applied it as instructed, i was
    totally cured of this deadly disease within 14
    days of usage, I am now free from the deadly disease called HIV virus, all
    thanks to Dr Uduka. Contact this great herbal spell caster via his email:
    [drudukaspiritualtemple@gmail.com] or whatsapp
    him on +2349067340424

    Dr.Uduka cure all kinds of sickness or diseases such as:

    1. HERPES VIRUS
    2. LASSA FEVER
    3. GONORRHEA
    4. HIV/AIDS
    5. LOW SPERM COUNT
    6. MENOPAUSE DISEASE
    7. EPILEPSY
    8. Hypertension
    9. CANCER
    10. Kidney problems
    11. PREGNANCY PROBLEM
    12. SHORT SIGHTEDNESS PROBLEM
    14. Male menopause
    15. Menopause – male
    16. Menopause – peri
    17. Menstruation problems
    18. Mercury Poisoning
    19. Migraine
    20. Miscarriage
    21. Stroke etc

    ReplyDelete


  7. Am jeremiah, I am testifying about a great hebal man that cured my wife of hepatitis B and liver cirhosis. his name is Dr oniha. My wife was diagnose of hepatities two years ago, i almost spent all i had then, until i saw dr oniha recommendation online, and i call him, then he told me how to get the herb. You can call him on +2347089275769 or email him at dronihaspell@yahoo.com

    ReplyDelete
  8. Hello everyone, I am here to share a testimony on how my HIV was cure by a herbal doctor with the help of herbal medicine and herbal soap, As we all know medically, there is no solution or cure for HIV and the cost for Medication is very expensive. Someone introduced me to a man (Native Medical Practitioner) I showed the man all my Tests and Results and I told him i have already diagnosed with HIV and have spent thousands of Money on medication. I said I will like to try him cause someone introduced me to him. He asked me sorts of questions and I answered him correctly. To cut the story short, He gave me some medicinal soaps and some herbs and he thought me how am going to use them all. At first I was skeptical but I just gave it a try. I was on his Medication for 2 weeks and I used all the soaps and herbs according to his prescription. That he will finish the rest himself. And I called him 3 days after, I arrived and I told him what is the next thing he said, he has been expecting my call. He told me to visit my doctor for another test. Honestly speaking, i never believe all he was saying until after the test when my doctor mention the statement that am, HIV negative and the doctor started asking me how come about the cure, And I make a promise to dr alexsherbalhome that if I’m heal I will testify his good work in my life, if there is anyone out there who may need the help of dr alexsherbalhome you can call and WhatsApp him on:+22557066460

    ReplyDelete

  9. I have been suffering from (HERPES) disease for the last four years and had constant pain, especially in my knees. During the first year, I had faith in God that I would be healed someday.This disease started to circulate all over my body and I have been taking treatment from my doctor, a few weeks ago I came on search on the internet if I could get any information concerning the prevention of this disease, on my search I saw a testimony of someone who has been healed from (Hepatitis B and Cancer) by this Man Dr. Silver and she also gave the email address of this man and advise we should contact him for any sickness that he would be of help, so I wrote to Dr. Silver telling him about my (HERPES Virus) he told me not to worry that I was going to be cured!! hmm i never believed it,, well after all the procedures and remedy given to me by this man few weeks later I started experiencing changes all over me as the Dr. assured me that I have cured, after some time i went to my doctor to confirmed if I have been finally healed behold it was TRUE, So friends my advice is if you have such sickness or any other at all you can email Dr. Silver (drsilverhealingtemple@gmail.com) sir I am indeed grateful for the help I will forever recommend you to my friends!!! with your lovely Email Address ( drsilverhealingtemple@gmail.com

    ReplyDelete
  10. WHAT A GREAT MIRACLE THAT I HAVE EVER SEE IN MY LIFE. My names are Clara David I’m a citizen of USA, My younger sister was sicking of breast cancer and her name is Sandra David I and my family have taking her to all kind of hospital in USA still yet no good result. I decided to make search for cancer cure so that was how I find a lady called peter Lizzy she was testifying  to the world about the goodness of a herbal man who has the roots and herbs to cure all kind of disease and the herbal man email was there. So I decided to contact the herbal man @herbalist_sakura for my younger sister help to cure her breast cancer. I contacted him and told him my problem he told me that I should not worry that my sister cancer will be cure, he told me that there is a medicine that he is going to give me that I will cook it and give it to my sister to drink for one week, so I ask how can I receive the cure that I am in USA, he told me That I will pay for the delivery service. The courier service can transport it to me so he told me the amount I will pay, so my dad paid for the delivery fee. two days later I receive the cure from the courier service so I used it as the herbal man instructed me to, before the week complete my sister cancer was healed and it was like a dream to me not knowing that it was physical I and my family were very happy about the miracle of Doctor so my dad wanted to pay him 5 million us dollars the herbal man did not accept the offer from my dad, but I don't know why he didn't accept the offer, he only say that I should tell the world about him and his miracle he perform so am now here to tell the world about him if you or your relative is having any kind of disease that you can't get from the hospital please contact dr.sakuraspellalter@gmail.com or whats app him +2348110114739  you can follow him up on Instagram @herbalist_sakura for the cure, he will help you out with the problem. And if you need more information about the doctor you can mail me davidclara223@gmail.com 

    ReplyDelete
  11. There are some natural remedies that can be used in the prevention and eliminate diabetes totally. However, the single most important aspect of a diabetes control plan is adopting a wholesome life style Inner Peace, Nutritious and Healthy Diet, and Regular Physical Exercise. A state of inner peace and self-contentment is essential to enjoying a good physical health and overall well-being. The inner peace and self contentment is a just a state of mind.People with diabetes diseases often use complementary and alternative medicine. I diagnosed diabetes in 2010. Was at work feeling unusually tired and sleepy. I borrowed a cyclometer from a co-worker and tested at 760. Went immediately to my doctor and he gave me prescriptions like: Insulin ,Sulfonamides,Thiazolidinediones but Could not get the cure rather to reduce the pain but bring back the pain again. i found a woman testimony name Comfort online how Dr Akhigbe cure her HIV  and I also contacted the doctor and after I took his medication as instructed, I am now completely free from diabetes by doctor Akhigbe herbal medicine.So diabetes patients reading this testimony to contact his email     drrealakhigbe@gmail.com   or his Number   +2348142454860   He also use his herbal herbs to diseases like:SPIDER BITE, SCHIZOPHRENIA, LUPUS,EXTERNAL INFECTION, COMMON COLD, JOINT PAIN, EPILEPSY,STROKE,TUBERCULOSIS ,STOMACH DISEASE. ECZEMA, PROGENITOR, EATING DISORDER, LOWER RESPIRATORY INFECTION,  DIABETICS,HERPES,HIV/AIDS, ;ALS,  CANCER , MENINGITIS,HEPATITIS A AND B,ASTHMA, HEART DISEASE, CHRONIC DISEASE. NAUSEA VOMITING OR DIARRHEA,KIDNEY DISEASE. HEARING  LOSSDr Akhigbe is a good man and he heal anybody that comes to him. here is email    drrealakhigbe@gmail.com    and his Number +2349010754824

    ReplyDelete
  12. 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. Gate code

    ReplyDelete

Post a Comment

Ad

Popular posts from this blog

VHDL Code for AND gate With Test Bench

VHDL code for Half adder with Test Bench

VHDL code for Full Adder With Test bench