Need help getting started with verilog. Need to create a FM radio transmitter using NCO and DDS but how do I even start?
My suggestion is to start in 2 places:
- firstly understand that transmitting FM radio (which I take means transmitting in the commercial FM radio band from 88MHz to 108MHz) requires an appropriate license. Unlicensed transmissions can lead to legal problems. If you want to transmit on other ands then you will also need a license or restrict yourself to the ISM bands, limit the power and ensure no interference is being caused
- Secondly start simple and work your way up (that is what I'm doing).
You don't say what sort of experience you have or if you have any FPGA hardware or development boards available.If you are coming from the 'programming' world then thins are very different and (in my experience) it takes a while to get your thinking straight. If you are a hardware engineer then things might be easier but the syntax takes a bit of getting used to.
There are many tutorials out there to help you.
i am using vivado which i guess is part of xilinx. And i believe it should simulate the NCO and DDS.My advice is still the same and, as you have no experience, the part about starting with a simple system applies even more.
What simulator are you using?
Also does the simulator properly simulate the NCO and DDS? If not, then you are on a road to nowhere.
I'd strongly recommend that you get a development board - even a cheap one will do - that has the modules that you want to use. Personally, I have used the Digilent Basys 3 board and it has let me move from the 'flash a LED' (like you I started with no FPGA experience but a rather old Electrical Engineering degree) through 'debounce a switch' and on to using the ADC and creating a UART and Low Pass FIR filer etc.. Still on the learning curve.....
Real hardware will always give more accurate results than a simulator (which in my opinion can also be a source of another set of bugs).