RS232 from http://www.lothar-miller.de.

Guest #5301976
Rate this post
• ▲ useful
▼ not useful
hi all
i find my self back into vhdl, after 2-3 years. i feel quite rusty and 
in need of a push. i want to test a uart link on hardware(ProAsic3). 
Have been using the coreIP from Actel with no problems, but need 
something faster, and came across the code in
http://www.lothar-miller.de/s9y/categories/42-RS232. I am attaching two 
simulations using that uart. preSynth and postSynth.
My tb, reads a hex number from a file (60 bits = 6 bytes with start/stop 
bits), and then shifts the bits onto the RX line of the uart. System 
clock is 100MHz and tested on both 9600 and 115200 baud rates with same 
results.
PreSynth simulation is fine. Correct reception and packing of bytes onto 
a frame.
PostSynth simulation...need a push. cant see my error. loads of Xx..
Note that the PostSynth  simulation is very zoomed (see the RESETn 
initial toggle)

ps. i run the tool chain all the way, achieving a final speed of 
>100MHz, which is promising

Thanks
Attached files:

Reply

Note: the original post is older than 6 months. Please don't ask any new questions in this thread, but start a new one.

Formatting
  • [c]C-Code[/c]
  • [vhdl]VHDL-Code[/vhdl]
  • [code]code in other languages, ASCII drawings[/code]
  • [math]formula (LaTeX syntax)[/math]
  • [[Title]] – link to an article
  • Link to another post: right-click its post ID (#8078628), copy the address, paste it into the text

More about formatting

Post long source code as an attachment, not in the text.

Already registered? Log in

Not shown to anyone. We send you a link; your post appears once you confirm it there.

By submitting you create a free account and accept the terms of use.