F6EEQ Posted September 17, 2013 Report Share Posted September 17, 2013 I don't remember where i found the link (somewhere in this forum!!) to a XILINX power point about a Frequency generator with MicroBlaze SOC. The presentation seems most interesting but i've been unable to find the VHDL sketches related to this project.On the presentation it is said to download it but there is no link, and I tried on XILINX site without any success. Could someone help me? Thanks. Link to comment Share on other sites More sharing options...
Jack Gassett Posted September 17, 2013 Report Share Posted September 17, 2013 There is this frequency generator project using the DCM. This uses an undocumented feature of the DCM in the Spartan 3E, the Spartan 6 expands on this feature and includes it in the official datasheet. You can control the frequency generated by the DCM in real time. I also worked on a frequency generator a couple years ago, I had it generating perfect sine, cos, square, and saw waves through a delta-sigma DAC. I'm looking to see if I can dig it up, I want to convert it to a wishbone core and release for the ZPUino. Jack. Link to comment Share on other sites More sharing options...
F6EEQ Posted September 17, 2013 Author Report Share Posted September 17, 2013 Hi Jack! it's exactly this one (your first link).The schematic is interesting because it explain how you may synthetize a frequency, something like an AD9850 but relatively easy to set-up.That's why I wanted to get the whole doc, because with the schemeatic it's a little bit difficult (at least for me) to go much further. I had also a look at your second link.In my ham radio tests, I do not use VHF, but I concentrate on HF, so a 30MHz generator is perfect for me. Would be nice to get some more insight view. Well I'm amazed how you can answer to all these questions, and you or Alvie or Hamster always have the right answer.Thanks to all. Link to comment Share on other sites More sharing options...
Jack Gassett Posted September 18, 2013 Report Share Posted September 18, 2013 Thank you. That particular project always stuck in my head because I always intended to do something with it myself. Jack. Link to comment Share on other sites More sharing options...
F6EEQ Posted September 18, 2013 Author Report Share Posted September 18, 2013 Well I will work on it too, may be with a ZAP because it seems to be easier to set up than the pico/microblaze. But I'm still wondering how to get the files (page 6 of the presentation: Design files). May be they are only available with the starter kit? Link to comment Share on other sites More sharing options...
F6EEQ Posted September 18, 2013 Author Report Share Posted September 18, 2013 Finally I found all what I needed on XILINX site. Just type "s3esk_frequency_generator.zip" in XILINX site search and you get everything: VHDL, details about µblaze calculations... Still need to understand, but at least this is a very good start! Link to comment Share on other sites More sharing options...
Jack Gassett Posted September 18, 2013 Report Share Posted September 18, 2013 For future reference, the zip package can be downloaded from this page. Scroll down to the frequency generator project. Jack. Link to comment Share on other sites More sharing options...
Jack Gassett Posted September 18, 2013 Report Share Posted September 18, 2013 If you want to use this technique in ZPUino and ZAP IDE the best approach is probably to use one of these Wishbone templates to create a wishbone core that implements a DCM and places the necessary control signals under register control. Jack. Link to comment Share on other sites More sharing options...
F6EEQ Posted October 6, 2013 Author Report Share Posted October 6, 2013 Hi Jack, I had time to have a deep look at the VHD files for the Xilinx freq generator.I understood roughly how this works and how the interface is made between the Microblaze and the VHD via signals definition and the use of ports and UCF. Now my question is about ZPU and implementation in FPGA. As far as I could understand, you have two different sketches: One is the quite normal VHDL implementation with all ports, signals, clocks...Then you must add the processor part with his own program.This program can be made by using the ARDUINO like soft. But when you wish to implement it, how do you load at the same time in the FPGA chip the VHDL sketch and the "ARDUINO" sketch? I tried to find some hint in the ZP doc on the wiki, but couldn't find what I was looking for. I hope I've been clear enough, but I'm sure I miss something, but I do not know what :( Thanks in advance for all the contributors. Link to comment Share on other sites More sharing options...
F6EEQ Posted October 6, 2013 Author Report Share Posted October 6, 2013 After some tries I think I succeeded loading ZAP sketch in the PP but nothing happens. I found the right com portI've burned the botloader (some leds light and the RX/TX leds light also). It is said (in the lower window) that this load is successfull. After I load in the IDE the Logic Start sketch, push "load" (in French this is "televerser") with the the arrow .The RX/TX leds do not light, but answer is Board: Unknown board @ 96000000 Hz (0xa4041700)Programming completed successfully in 41.70 seconds. But nothing happens, no light, no led... Well, I probably did something wrong but what?Is there some VHDL code to add somewhere? and UCF? Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.