[ Home  |  FAQ-Related Q&As  |  General Q&As  |  Answered Questions ]


    Search the Q&A Archives


Hi I'm new to verilog I wanted to create a pattern...

<< Back to: FAQ: Comp.lang.verilog Frequently Asked Questions (with answers)

Question by verilog keen
Submitted on 1/31/2006
Related FAQ: FAQ: Comp.lang.verilog Frequently Asked Questions (with answers)
Rating: Not yet rated Rate this question: Vote
Hi I'm new to verilog
I wanted to create a pattern generator
which will get start and odd as input signals in addiction to clock and generate 2 outputs (10 bit) when odd=1 at every clock pulse viz
out1 with series like 0,2,8,10,16
out2 with series like 4,6,12,14,20
or
outputs when odd is 0 at every clock pulse viz
out1 with series like 1,3,9,11,17
out2 with series like 5,7,13,15,21

It looks quite simple with odd and even things but to generate the series whose output is to be transfered every clock pulse makes is difficult to use for or while loop for me,I tried with FSM and am working on it now,can anybody provide me with helping hand


Your answer will be published for anyone to see and rate.  Your answer will not be displayed immediately.  If you'd like to get expert points and benefit from positive ratings, please create a new account or login into an existing account below.


Your name or nickname:
If you'd like to create a new account or access your existing account, put in your password here:
Your answer:

FAQS.ORG reserves the right to edit your answer as to improve its clarity.  By submitting your answer you authorize FAQS.ORG to publish your answer on the WWW without any restrictions. You agree to hold harmless and indemnify FAQS.ORG against any claims, costs, or damages resulting from publishing your answer.

 

FAQS.ORG makes no guarantees as to the accuracy of the posts. Each post is the personal opinion of the poster. These posts are not intended to substitute for medical, tax, legal, investment, accounting, or other professional advice. FAQS.ORG does not endorse any opinion or any product or service mentioned mentioned in these posts.

 

<< Back to: FAQ: Comp.lang.verilog Frequently Asked Questions (with answers)


[ Home  |  FAQ-Related Q&As  |  General Q&As  |  Answered Questions ]

© 2008 FAQS.ORG. All rights reserved.