完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
嗨,
我正在研究ISE 14.4中涉及Microblaze处理器的项目。 如果我的顶层模块是一个ISE项目,也请参与EDK,请指导我如何为这样的项目进行功能模拟。 谢谢。 以上来自于谷歌翻译 以下为原文 Hi, I am working on projects involving Microblaze processor in ISE 14.4. Please guide me on how to do a functional simulation for such a project if my top level module is an ISE project, with EDK also involved. Thanks. |
|
相关推荐
27个回答
|
|
是的,通过触发对象,我的意思是GPIO三态。
它们显示00001111.因为它们应设置为00000000以便输出吗? 我已经将testbench中的输入更改为像你提到的5ns。 我附加了显示clk输出和锁定信号的波形。 请在下面找到附件。 谢谢 以上来自于谷歌翻译 以下为原文 Yes, by trigger object, I mean the GPIO tristate. They show 00001111. Because they should be set to 00000000 for output right? I have changed the input in testbench as 5ns like u mentioned. I have attached the waveform which shows the clk output and locked signal also. Kindly find the attachment below. Thanks |
|
|
|
上一个图像不显示三态寄存器值。
所以,我再次附加了快照。是的,通过触发对象,我的意思是GPIO三态。 它们显示00001111.因为它们应设置为00000000以便输出吗? 我已经将testbench中的输入更改为像你提到的5ns。 我已经附加了显示clk输出和锁定信号的波形。请仔细看看。谢谢。 问候, 苏里亚 以上来自于谷歌翻译 以下为原文 The previous image doesn't show the tristate register value. So, I have attached the snapshot again. Yes, by trigger object, I mean the GPIO tristate. They show 00001111. Because they should be set to 00000000 for output right? I have changed the input in testbench as 5ns like u mentioned. I have attached the waveform which shows the clk output and locked signal also. Kindly have a look at the same.Thanks. Regards, Surya |
|
|
|
我提供的信息有3个问题:
1.您附加的模拟器屏幕截图在时间范围内如此之小,以至于无法确定系统内多个时钟周期(即100秒)内发生的情况。 你还没有提到处理器是否真的试图执行任何代码,即内部总线活动。 你能看到Microblaze在任何时候都在做什么吗? 3.如果您对硬件设置正确感到满意,那么您应该检查我无法看到的软件。 也许你可以附上你的C代码..? ----------“我们必须学会做的事情,我们从实践中学习。” - 亚里士多德 以上来自于谷歌翻译 以下为原文 I have 3 issues wth the information you have provided: 1. The simulator screenshots you have attached are so small in timeframe it is impossible to determine what is happening within the system over a period of multiple clock cycles (i.e. 100's). 2. You STILL haven't mentioned whether the processor is actually trying to execute any code, i.e. there is internal bus activity. Can you see that the Microblaze is doing something at any point? 3. If you are satisifed that your hardware is setup correctly, then you should check your software, which I have not been able to see. Perhaps you could attach your C code .. ? ---------- "That which we must learn to do, we learn by doing." - Aristotle |
|
|
|
关于模拟时间范围,同样的事情重复,直到我的模拟周期结束,即我的LED触发寄存器显示00001111,我的LED(8:0)输出显示11110000,直到我指定的模拟周期结束。
我也试过更改我的SDK应用程序,但它对led触发器寄存器和led输出没有影响。 无论我的SDK应用程序如何,分别为led触发寄存器和LED输出获得相同的00001111和11110000值。 我不能断定Microblaze是否正在做任何事情,以及是否有任何内部公交活动。 我该如何检查? 此外,我正在附加SDK应用程序,它现在只是将一个简单的值写入LED,并尝试显示相同的值。 谢谢。 led.c 1 KB 以上来自于谷歌翻译 以下为原文 About the simulation timeframe, the same thing is repeating until my end of simulation period, i.e., my led trigger register shows 00001111, and my leds(8:0) output show 11110000 till the end of the simulation period I specify. I also tried changing my SDK application, but it has no effect on the led trigger register, and led output. The same values of 00001111, and 11110000 are obtained for the led trigger register and led outputs respectively, irrespective of my SDK application. I am not able to conclude if Microblaze is doing anything, and if there is any internal bus activity. How do I check the same? Also, I am attaching the SDK application, which now just writes a simple value into the LEDs, and tries to display the same. Thanks. led.c 1 KB |
|
|
|
我的观点是,如果屏幕截图上的时间尺度如此之小,那么其他人(即那些想要帮助的人)就不可能确定某些事情是否有问题。
作为一般社区,我们需要看到更大的图景,因为我们不了解您的设计,所以我们需要其他视觉线索和线索来挑选可能的失败。 在模拟顶层时,应该可以在模拟器中导航以识别设计的子组件。 其中一个绝对是您尝试写入的GPIO组件。 您可以将此子组件添加到模拟器的查看窗口,并在模拟运行期间查看子组件内的信号(我没有示例,因为我没有使用我的工作计算机,抱歉)。 如果您看到子组件处于活动状态,即时钟正在运行,则总线(AXI或PLB)处于活动状态并寻址该特定子组件等,那么我们将获得更多知识。 如果该子组件没有活动,则Microblaze可能没有像您想象的那样执行代码。 您是否尝试在硬件上调试代码(使用SDK)? 这有助于确定您是否存在设计故障或模拟环境故障。 出于好奇,你怎么知道你附加的C代码包含在仿真设计中? ----------“我们必须学会做的事情,我们从实践中学习。” - 亚里士多德 以上来自于谷歌翻译 以下为原文 My point was that, with such a small timescale on the screenshot, it is not possible for OTHER people (i.e. those who want to help) to determine if something is amiss. We, as the general community, need to see the bigger picture because we don't know your design, so we need other visual cues and clues to pick out possible failings. As you are simulating the top level, it should be possible to navigate in your simulator to identify your design's subcomponents. One of these is most definitely the GPIO component that you are trying to write to. You be able to add this subcomponent to the simulator's viewing window and see the signals inside the subcomponent during simulation runtime (I have no example as I am not using my work computer, sorry). If you see that the subcomponent is active, i.e. clocks are running, the bus (AXI or PLB) is active and addressing that particular subcomponent, etc., then we will have more knowledge. If there is no activity with that subcomponent, the Microblaze is probably not executing the code like you think. Have you tried debugging the code on hardware (using SDK)? This can help determine whether you have a design fault or a simulation environment fault. Just out of curiosity, how do you know that the C code you attached is included in the simulation design? ---------- "That which we must learn to do, we learn by doing." - Aristotle |
|
|
|
你想要我附上一些截图吗?
我的代码在硬件上完美运行。 但它在模拟过程中不起作用,我无法弄清楚,为什么。 因为,对于未来的项目,我需要首先进行模拟,然后在硬件上运行,我开始学习模拟这些涉及LED的基本项目。 另外,我已将elf文件包含在ISE的仿真设计中。 这意味着我的C代码被包含了。谢谢。 以上来自于谷歌翻译 以下为原文 Would you like me to attach some more screenshots? My code runs on the hardware perfectly. But it doesn't work during simulation, which I am not able to figure out, why. Since, for future projects, I need to simulate first and then run on hardware I started learning simulation with basic projects like these involving LEDs. Also, I have included the elf file in the simulation design of ISE. So that means my C code is incuded. Thanks. |
|
|
|
如果它在硬件中工作但在模拟中不起作用,那么听起来ELF与XMP没有关联以进行模拟。
如果在设计层次结构窗口中右键单击ELF并选择ELF / XMP关联行,是否可以在弹出的窗口中看到正确的ELF与正确的SIMULATION处理器以及IMPLEMENTATION相关联? ----------“我们必须学会做的事情,我们从实践中学习。” - 亚里士多德 以上来自于谷歌翻译 以下为原文 If it works in hardware but not in simulation then it sounds like the ELF is not associated with the XMP for simulation. If you right-mouse click on the ELF in the design hierarchy window and choose the ELF/XMP Associations line, can you see in the window that pops up that the correct ELF is definitely associated with the correct processor for SIMULATION as well as IMPLEMENTATION? ---------- "That which we must learn to do, we learn by doing." - Aristotle |
|
|
|
是的,在右键单击ELF并检查ELF / XMP关联文件后,我可以看到正确的elf与正确的处理器相关联,以便实现和模拟。
以上来自于谷歌翻译 以下为原文 Yes, after right clicking on the ELF, and checking the ELF/XMP associations file, I can see that the correct elf is associated with the correct processor for implementation as well as simulation. |
|
|
|
只有小组成员才能发言,加入小组>>
2388 浏览 7 评论
2804 浏览 4 评论
Spartan 3-AN时钟和VHDL让ISE合成时出现错误该怎么办?
2270 浏览 9 评论
3338 浏览 0 评论
如何在RTL或xilinx spartan fpga的约束文件中插入1.56ns延迟缓冲区?
2440 浏览 15 评论
有输入,但是LVDS_25的FPGA内部接收不到数据,为什么?
768浏览 1评论
请问vc707的电源线是如何连接的,我这边可能出现了缺失元件的情况导致无法供电
551浏览 1评论
求一块XILINX开发板KC705,VC707,KC105和KCU1500
386浏览 1评论
1975浏览 0评论
692浏览 0评论
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2024-11-29 00:40 , Processed in 1.246563 second(s), Total 61, Slave 55 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191 工商网监 湘ICP备2023018690号