Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

why do we implement VOIP in FPGA?

Status
Not open for further replies.

mahmoudathab

Member level 1
Joined
Apr 28, 2012
Messages
34
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,286
Activity points
1,495
hi iam considering implementing a VOIP over FPGA but my question is it practical?

what would make the fpga to be so special to have VOIP instead of other devices?
 


moreover can it be done using a spartan 3E? (since it is the only one available)
I presume it's possible, if the VoIP application doesn't need more logic cells than your FPGA has.
 

While you could do VoIP with an FPGA, it wouldn't be my first choice of device!

If it was just for a demonstration/school project and didn't need to interoperate with standards-based equipment (SIP, H.323, etc.) this would be a reasonably straightforward project for an experienced designer (or a horrible nightmare for a beginner):

- Get two FPGA development boards with an Ethernet PHY and AC'97 codec (e.g. Digilent Atlys), or one without an Ethernet PHY and a SPI-to-Ethernet module. Or one without an AC'97 codec and an ADC and DAC suitable for audio signals.
- Configure the AC'97 codec (or the ADC) and read in audio frames (or raw sample data)
- Buffer enough data for one UDP packet, and send it out to Ethernet using a MAC (or your SPI-to-Ethernet module)
- At the same time, listen for incoming UDP packets. Validate that they're on the correct port and so on. Extract the packet payload and send it out to the AC'97 codec (or the DAC)

This would give you a two-way audio link over UDP and Ethernet.
 
While you could do VoIP with an FPGA, it wouldn't be my first choice of device!

If it was just for a demonstration/school project and didn't need to interoperate with standards-based equipment (SIP, H.323, etc.) this would be a reasonably straightforward project for an experienced designer (or a horrible nightmare for a beginner):

- Get two FPGA development boards with an Ethernet PHY and AC'97 codec (e.g. Digilent Atlys), or one without an Ethernet PHY and a SPI-to-Ethernet module. Or one without an AC'97 codec and an ADC and DAC suitable for audio signals.
- Configure the AC'97 codec (or the ADC) and read in audio frames (or raw sample data)
- Buffer enough data for one UDP packet, and send it out to Ethernet using a MAC (or your SPI-to-Ethernet module)
- At the same time, listen for incoming UDP packets. Validate that they're on the correct port and so on. Extract the packet payload and send it out to the AC'97 codec (or the DAC)

This would give you a two-way audio link over UDP and Ethernet.
thanks man :D
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top