完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
扫一扫,分享给好友
大家好,
免责声明:请耐心等待,因为我是新手。我也在搜索网(包括这个论坛),并没有找到解决我遇到的问题的方法。 我有一个带有64MB DDR ram(xc3s500e fg320 -4)的s3e套件,我想使用这个内存。 我正在运行ISE Webpack 10.1(并且考虑到我目前的连接 - 无法下载更新的版本)和MIG 2.1版。 我已经用MIG生成了大约21种不同的设计,但它们都没有工作(过去的2-1 / 2周)。 我已经尝试过参考板设计,但那些也没有用。 让我澄清一下:参考设计还包括一个位文件。 这在我的电路板上不起作用(没有一个led指示灯亮)。 所以我更改了UCF文件中的一些设置(例如将时钟设置为LOC C9等)并运行了ise_flow批处理脚本,我似乎遇到了很多约束错误。 我已经尝试过ISE的清理项目选项,但仍然没有用。 我尝试了MIG的新设计选项,并选择了0和3组来生成设计(也尝试了2和3)。 顺便说一句,在清理生成的代码之后(删除sys_clkb,将cntrl0_rst_dqs_div_in / out更改为cntrl0_rst_dqs_div,reset = active high等),此选项不会给我错误,我实际上能够生成一个位文件.Trace报告 我可以运行的最好的设计是78MHz(我假设我没有运行考虑这是我能做的最好的设计 - 虽然我不确定)。 另外,我认为运行SDRAM的最小值是77MHz。 我现在的设计(78MHz一个)运行时只点亮init_done,cntrl0_ddr_ras / cas_n和cntrl0_ddr_we_n led。 顺便说一下,我成功生成一个位文件的所有设计都表现出同样的行为。 cntrl0_led_error_output1和cntrl0_data_valid_out led都没有亮起。 所以我决定从顶层模块输出另外两个信号并将它们连接到示波器 - 这些信号是DCM生成的clk_0和clk90_0。 纳达! 示波器上没有活动 - 这意味着DCM不生成时钟。 我不知道为什么因为ucf文件将C9显示为具有LVCMOS25标准的“sys_clk”(可以吗?)并且该时钟被路由到IBUFG,IBUFG生成sys_clk_ibuf,而sys_clk_ibuf又连接到DCM作为输入。 NET“sys_clk”IOSTANDARD = LVCMOS25; NET“sys_clk”LOC =“C9”; #bank 0NET“sys_clk”PERIOD = 20.0ns HIGH 50%; 这整个过程非常令人沮丧,我希望有人在那里,做到了,并为我提供了解决方案。 我正在使用verilog(不熟悉VHDL)和这个整个HW的新东西(这是SW的一个受欢迎的硬件入口)。我和下一个人一样享受挑战,但这是令人讨厌的! 我不知道里面发生了什么,甚至不知道SDRAM是否被射击或.... 我知道我做错了但我不知道是什么(但是,我很惊讶Xilinx会发布一些不起作用的东西 - 来自软件,我不知道有人会怎么做 - 这当然导致我 相信我做错了什么)。 我欢迎任何事! 建议,提示,建议,侮辱,嘲笑 - 我只想让这个工作。 感谢阅读,如果可以的话,请帮忙。 缺口 以上来自于谷歌翻译 以下为原文 Hi all, Disclaimer: Please bear with me as I am new to this.I have also scoured the net (this forum included) and have not found a solution to the problems I'm having. I have a s3e kit with 64MB DDR ram (xc3s500e fg320 -4) and I would like to use this ram. I am running ISE Webpack 10.1 (and given the connection I have at the moment - its impossible to download a newer version) and MIG version 2.1. I have generated about 21 different designs with MIG but none of them are working (the past 2-1/2 weeks). I have tried the reference board designs and those haven't worked either. Let me clarify: The reference design also includes a bit file. This does not work on my board (none of the led's are on). So I changed a few settings in the UCF file (e.g setting the clock to LOC C9 etc) and ran the ise_flow batch script and I seem to get a lot of constraint errors. I've tried the cleanup project option from ISE but still, doesnt work. I tried the new design option from MIG and selected banks 0 and 3 to generate the design (also tried 2 and 3). Incidentally, after cleaning up the generated code a little bit (removing sys_clkb, changing cntrl0_rst_dqs_div_in/out to just cntrl0_rst_dqs_div, reset = active high etc) this option does not give me the errors and I am actually able to generate a bit file.Trace reports the best I can run the design is 78MHz (which I'm assuming Im not running at considering this is the best I can do given the design - I dont know for sure though). Plus, I think the minimum I can run the SDRAM is 77MHz. The design I have now (the 78MHz one) when run only lights up the init_done, cntrl0_ddr_ras/cas_n and cntrl0_ddr_we_n led. BTW, all the designs I've successfully generated a bit file for exhibit this very same behavior. Neither the cntrl0_led_error_output1 nor the cntrl0_data_valid_out led's are lit up. So I decided to output two more signals from the top level module and connected them to an oscilloscope - these signals are the clk_0 and clk90_0 generated by the DCM. Nada!! There is no activity on the oscilloscope - which means the DCM is not generating the clocks. I have no idea why since the ucf file shows C9 as my "sys_clk" with a standard of LVCMOS25 (Is that okay?) and that clock is routed to a IBUFG which generates sys_clk_ibuf which in turn is connected to the DCM as an input. NET "sys_clk" IOSTANDARD = LVCMOS25; NET "sys_clk" LOC = "C9" ; #bank 0 NET "sys_clk" PERIOD = 20.0ns HIGH 50%; This whole experience is extremely frustrating and I'm hoping that someone has been there, done that and has a solution for me. I am using verilog (not familiar with VHDL) and pretty new to this whole HW thing (what a welcome entry to HW from SW).I enjoy a challenge as much as the next guy but this is bewidlering! I dont know what is going on inside there and dont even know if the SDRAM is shot or not or .... I know I'm doing something very wrong but I dont know what (however, I'm pretty surprised that Xilinx would release something that does not work - coming from software, I dont know how anyone would do that - which of course leads me to believe that I am doing something wrong). I welcome anything! Suggestions, tips, advice, insults, ridicules - I would just like to get this to work. Thanks for reading and if you can, please help. Nick |
|
相关推荐
23个回答
|
|
John,这整个主题一直在围绕这样一个事实:我不能让MIG输出在板上工作(不是因为没有尝试......)。
我想象一下 在这种情况下,您可以访问工作的Xilinx演示代码。 你的意思是MIG的输出。 我最近联系了Digilent,他们建议我使用MicroBlaze让DDR工作,考虑到我没有打算在我的项目中使用它,这非常烦人。 无论如何,如果你有一个Spartan 3e套件,我真的很感激你,如果你可以试验DDR,看看你是否可以让它工作。 似乎没有其他人在使用DDR时遇到任何麻烦,但我必须做错事。 有没有人得到DDR运行(没有使用MicroBlaze)如果是这样,你能把你的ucf文件发给我。 太感谢了。 缺口../ 以上来自于谷歌翻译 以下为原文 John, this whole thread has been revolving around the fact that I can not get the MIG output to work on the board (not for lack of trying..). I imagine that by In that case, you have access to the working Xilinx demo code. you mean the output from MIG. I recently contacted Digilent and they advised me to use MicroBlaze to get the DDR to work, which is quite annoying considering I had no intentions of using that for my project. Anyway, if you have a Spartan 3e kit, I would really appreciate it if you could experiment with DDR to see if you can get it to work. It seems like no-one else is having any troubles with DDR but me so I must be doing something wrong. Has anyone gotten the DDR to run (w/out using MicroBlaze) and if so, would you please send me your ucf file. Thanks a million. Nick../ |
|
|
|
你肯定有一段艰难的时光不是你。
如果有任何安慰,DDR和高速存储器接口通常会推动设计师。 这是MIG出现的原因之一,有很多不同的规则可以观察到快速有效的设计工作。 我建议您回到您的电路板供应商,找出他们为什么没有使用DDR工作(可能有原因)。 我还建议你买一块带有工作设计的电路板来评估电路板。 以上来自于谷歌翻译 以下为原文 Your certainly having a tough time of it arn't you. If it 's any consolation, DDR and high speed memory interfaces in general push the designer. it's one of the reasons MIG came out, there are so amny different rules to observe to get a fast and efficient desing working. I'd suggest that you either go back to your board supplier, and find out why they have not go the DDR working ( there might be a reason ). I'd also suggest that you get a board that does have working designs supplied with it to evaluate the board. |
|
|
|
您想知道为什么Spartan3e入门板上几乎所有其他芯片都有参考设计,但不是mt46v32m16?
我的意思是,它们覆盖闪存芯片,它们覆盖CPLD,它们覆盖RS232接口等,但不包括SDRAM芯片。 好吧,写下你自己的,你会很快找出原因。 这不是一项微不足道的任务,如果你已经完成了,你只会学到很多陷阱。 我会这样说,这不是你将在周末完成的项目。 在我开始工作之前,我个人几乎放弃了。 我已经发布了一个设计,用于在opencores.org上的Spartan3e Starter Board上与mt46v32m16进行接口,对于那些只想继续使用它并且不了解状态机时序奇迹的人。 或许你可以,你可以扩展基本设计。 它的URI是: http://opencores.org/project,sdram_controller 以上来自于谷歌翻译 以下为原文 You wonder why there are reference designs for almost every other chip on the Spartan3e Starter Board, but NOT the mt46v32m16? I mean, they cover the flash chip, they cover the CPLD, they cover the RS232 interface, etc, but not that SDRAM chip. Well, write your own, and you'll quickly figure out why. It's not a trivial task, and there are a fair amount of gotchas that you only learn about if you've done it. I'll put it this way, it's not a project you're going to complete over a weekend. I personally almost gave up before I got mine working. I've published a design for interfacing with the mt46v32m16 on the Spartan3e Starter Board on opencores.org, for those of you who just want to get on with it and not learn the wonders of state machine timing. Or maybe you do and you can expand upon the basic design. The URI for it is: http://opencores.org/project,sdram_controller |
|
|
|
嗨,大家好,
你可能已经找到了解决方案。 不过,看起来您已经使用参考设计位文件直接对S3套件进行了编程。 我认为这个位文件是通过SMA连接器loc =“A10”为时钟源生成的,而不是板载时钟loc =“C9”。 这至少是设计中包含的ucf的情况。 我最近遇到了同样的问题,但尚未完全测试它。 另一件事,我得到了12个错误的“翻译失败”问题。 你能告诉我如何解决这个问题。 我解决了这一次(不知道怎么做?)但是当我使用ISE 11的MIG 3.0时我又得到了它。我把这个问题发布为“MIG Translate Failed”和一个“思想如此”的解决方案,我不太确定 现在。 干杯, Ajad 以上来自于谷歌翻译 以下为原文 Hi guys, You have probably figured out the solution already. Nevertheless, it looks like you have directly programmed your S3 kit with the reference design bit file. I think this bit file is generated for clock source through SMA connector loc="A10" and not the onboard clock loc="C9". This is the case for at least the ucf included with the design. I recently went through the same problem but haven't tested completely with it, yet. Another thing, I am getting a "Translate Failed" problem with 12 errors. Can you enlighten me how to remove this problem. I solved this once (not sure how??) but I am getting it again when using MIG 3.0 of ISE 11. I have posted the problem as "MIG Translate Failed" and a "thought-so" solution which I am not so sure now. Cheers, Ajad |
|
|
|
只有小组成员才能发言,加入小组>>
2423 浏览 7 评论
2824 浏览 4 评论
Spartan 3-AN时钟和VHDL让ISE合成时出现错误该怎么办?
2294 浏览 9 评论
3374 浏览 0 评论
如何在RTL或xilinx spartan fpga的约束文件中插入1.56ns延迟缓冲区?
2465 浏览 15 评论
有输入,但是LVDS_25的FPGA内部接收不到数据,为什么?
1186浏览 1评论
请问vc707的电源线是如何连接的,我这边可能出现了缺失元件的情况导致无法供电
589浏览 1评论
求一块XILINX开发板KC705,VC707,KC105和KCU1500
452浏览 1评论
2006浏览 0评论
731浏览 0评论
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2024-12-24 04:41 , Processed in 1.397091 second(s), Total 83, Slave 67 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191 工商网监 湘ICP备2023018690号