??? 09/28/07 15:03 Read: times |
#145070 - Yes Responding to: ???'s previous message |
Jan said:
Do you want to achieve an adaptive dit/dah (and intermark/intercharacter space, which you did not mention) discrimination threshold? Yes. (That's what I meant when I said I wanted it to handle input at any reasonable speed, and to automatically track slow changes in speed.) Oh, this is computationally more intensive than trivial, perhaps a task for a mcu rather than hard logic... You are probably right. I did this whole thing a long time ago, and that solution did involve a lot of arithmetic. Remember, though, the goal now is not really to build a Morse code decoder; it's to learn about Verilog and FPGAs. As I said, I have a couple of ideas that use hard logic for the threshold detector. If they don't work, then I will take the next step and embed a processor into the FPGA. Xilinx has a very simple core called "Picoblaze" that should do the job easily. They give it away for free, along with an assembler if I remember correctly. Using a processor would change the design completely, of course, but that would be okay. I would certainly learn even more by ripping up one design and starting over with a different one! (c: -- Russ |