Simulink(Matlab)/FPGA serial communication

Hi,

I have developed a Decoder in verilog and successfully simulated it on an FPGA. I am using Actel's ProASIC3E proto kit. Simulink has an instrument control toolbox which allows one to read and write to the pc serial port. I plan to have the encoder, modulation and demodulation blocks in simulink and want to send the demodulated data to the decoder on fpga through serial and recieve the output. How can I do this? My design is synchronous. It takes 2 bits at every clock cycle which get decoded into 1bit. Also, what's the output voltage/current on the pc serial port? If the connect on the pins directly into one of fpga's input pins on the board.. would I fry it? (I don't have a serial port on the fpga proto board). Is this even possible?

Thanks for the help, Sarah

Reply to
sarah_s
Loading thread data ...

se

ml#Uart_Soft...

Thanks for the reply. Actually, I have ethernet ports as well on my protoboard. Could I use those for communication? Simulink allows communcation to ethernet ports.

Here's my board by the way:

formatting link

Sarah

Reply to
sarah_s

ml#Uart_Soft...

Actually on my board which is here:

formatting link

I have 2 ethernet ports. Could I use those to establish data communciation b/w fpga and PC? Simulink allows one to write/read to ethernet port.

Sarah

Reply to
sarah_s

or

formatting link

here:

formatting link

The webpage says they're "Two CAT5E RJ45 connectors for high-speed LVDS communications", so they're not ethernet ports.

The serial route is pretty straightforward. Read up about RS-232 and the MAX232 chip.

Reply to
mng

ElectronDepot website is not affiliated with any of the manufacturers or service providers discussed here. All logos and trade names are the property of their respective owners.