Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

VHDL 1

Status
Not open for further replies.

Hasan22

Technical User
Nov 24, 2010
1
0
0
GB
Well ; I need to created a data generator to send packets ( as Start bits,Header,Data,Parity,Checksum,)I use a 50MHZ divided to 4Hz clock ; Can anyone tell me how to star to write this type of a generator please

I need to send 1010 as the Start bit
and an 8 bit string as the header
24 bit data
4 bit parity
8 bit check

How do i select inputs and outputs and signals ?
Do I have to use a finite state machine here ?
I would be glad if someone can give me an idea or sample code for the above

Thanks!

 
Hi Hasan how are you getting on now?
I would say you do not have to use a FSM here but it would make things much easier and the readability would be improved. you can then use FSM as a controller.

good luck.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top