这些小活动你都参加了吗?快来围观一下吧!>>
电子产品世界 » 论坛首页 » DIY与开源设计 » 电子DIY » 求助啊 好几天了一直没解决FPGA下载完以后不运行

共15条 1/2 1 2 跳转至

求助啊 好几天了一直没解决FPGA下载完以后不运行

菜鸟
2012-11-22 23:11:52     打赏

我用的vhdl写的一个数码管译码器的程序,下载完以后板子数码管亮了,但是不是正确的结果,我以为程序的问题,于是直接把程序改成点亮四个led亮四个led灭,结果下载完,板子还保持刚才状态,数码管还是那样子,led一点动作都没有 ~
网上说的办法都试了,把压缩去掉,改config——done的上拉电阻都不行,求助啊 下面附上程序和编译下载信息:

LIBRARY IEEE;
USE IEEE.STD_LOGIC_1164.ALL;

ENTITY DECODER IS
 PORT(SEG:OUT STD_LOGIC_VECTOR(7 downto 0));
END DECODER;
ARCHITECTURE BHV OF DECODER IS
BEGIN
 SEG<=not "11110000";
END BHV;


Warning: Changing the configuration scheme reverts dual-purpose pins assignments to default values consistent with the new configuration scheme.
Warning: Changing the configuration scheme reverts dual-purpose pins assignments to default values consistent with the new configuration scheme.
Info: Started Full Compilation at Thu Nov 22 01:17:28 2012 中国标准时间
Info: Ended Full Compilation at Thu Nov 22 01:18:06 2012 中国标准时间
Info: Started Full Compilation at Thu Nov 22 21:04:26 2012 中国标准时间
Info: Ended Full Compilation at Thu Nov 22 21:05:08 2012 中国标准时间
Info: Started Programmer operation at Thu Nov 22 22:34:33 2012
Info: Configuring device index 1
Info: Device 1 contains JTAG ID code 0x020B10DD
Info: Configuration succeeded -- 1 device(s) configured
Info: Successfully performed operation(s)
Info: Ended Programmer operation at Thu Nov 22 22:34:34 2012
Info: Started Programmer operation at Thu Nov 22 22:35:05 2012
Info: Configuring device index 1
Info: Device 1 contains JTAG ID code 0x020B10DD
Info: Configuration succeeded -- 1 device(s) configured
Info: Successfully performed operation(s)
Info: Ended Programmer operation at Thu Nov 22 22:35:06 2012
Info: Started Programmer operation at Thu Nov 22 22:35:11 2012
Info: Configuring device index 1
Info: Device 1 contains JTAG ID code 0x020B10DD
Info: Configuration succeeded -- 1 device(s) configured
Info: Successfully performed operation(s)
Info: Ended Programmer operation at Thu Nov 22 22:35:12 2012
Warning: Changing the configuration scheme reverts dual-purpose pins assignments to default values consistent with the new configuration scheme.
Info: Started Full Compilation at Thu Nov 22 22:40:54 2012 中国标准时间
Info: Ended Full Compilation at Thu Nov 22 22:41:19 2012 中国标准时间
Info: Started Full Compilation at Thu Nov 22 22:46:17 2012 中国标准时间
Info: Ended Full Compilation at Thu Nov 22 22:46:22 2012 中国标准时间
Info: Started Full Compilation at Thu Nov 22 22:47:46 2012 中国标准时间
Info: Ended Full Compilation at Thu Nov 22 22:47:51 2012 中国标准时间
Info: Started Full Compilation at Thu Nov 22 22:48:07 2012 中国标准时间
Info: Ended Full Compilation at Thu Nov 22 22:48:12 2012 中国标准时间
Info: Started Full Compilation at Thu Nov 22 22:48:34 2012 中国标准时间
Info: Ended Full Compilation at Thu Nov 22 22:48:39 2012 中国标准时间
Info: Started Full Compilation at Thu Nov 22 22:50:00 2012 中国标准时间
Info: Ended Full Compilation at Thu Nov 22 22:50:23 2012 中国标准时间
Info: Started Programmer operation at Thu Nov 22 22:50:45 2012
Info: Configuring device index 1
Info: Device 1 contains JTAG ID code 0x020B10DD
Info: Configuration succeeded -- 1 device(s) configured
Info: Successfully performed operation(s)
Info: Ended Programmer operation at Thu Nov 22 22:50:46 2012
Info: Started Programmer operation at Thu Nov 22 22:51:31 2012
Info: Configuring device index 1
Info: Device 1 contains JTAG ID code 0x020B10DD
Info: Configuration succeeded -- 1 device(s) configured
Info: Successfully performed operation(s)
Info: Ended Programmer operation at Thu Nov 22 22:51:32 2012
Warning: Changing the device resets the core voltage and junction temperature range to the default values for the new device. To set the core voltage to a different value, go to the Voltage page.  To set the junction temperature range to a different value, go to the Temperature page.
Warning: Changing the configuration scheme reverts dual-purpose pins assignments to default values consistent with the new configuration scheme.
Info: Started Full Compilation at Thu Nov 22 22:58:11 2012 中国标准时间
Info: Ended Full Compilation at Thu Nov 22 22:58:37 2012 中国标准时间
Info: Started Programmer operation at Thu Nov 22 22:59:27 2012
Info: Configuring device index 1
Info: Device 1 contains JTAG ID code 0x020B10DD
Info: Configuration succeeded -- 1 device(s) configured
Info: Successfully performed operation(s)
Info: Ended Programmer operation at Thu Nov 22 22:59:28 2012
Info: Started Full Compilation at Thu Nov 22 23:00:15 2012 中国标准时间
Info: Ended Full Compilation at Thu Nov 22 23:00:40 2012 中国标准时间
Info: Started Programmer operation at Thu Nov 22 23:01:46 2012
Info: Configuring device index 1
Info: Device 1 contains JTAG ID code 0x020B10DD
Info: Configuration succeeded -- 1 device(s) configured
Info: Successfully performed operation(s)
Info: Ended Programmer operation at Thu Nov 22 23:01:47 2012




关键词: 求助     几天     一直     解决     下载     以后     运行     Star    

工程师
2012-11-22 23:47:11     打赏
2楼
是不是没有把不用的引脚设置成三态

高工
2012-11-22 23:54:00     打赏
3楼
版主教程上设置的是Input  tri

高工
2012-11-23 00:24:54     打赏
4楼
1) 楼主还没开进程贴,这个贴就是吗?
2)下载斑竹的测试代码
3)你一直没有提到管脚的配置,不会还没做配置吧
4)楼上的2条也很重要,

菜鸟
2012-11-23 00:39:40     打赏
5楼
哦 不好意思 由于大三课满,实在是忙得要命,就连午饭时间都有实验课要上,所以时间很少。刚把板子焊完没几天。
在全程仿真之后没有错误,管脚也分配了,检查了好几遍,管脚号没错,下载也100%,就是不运行啊~~
这个,可以算进程贴吗~~?问题是有进程,没进度啊

高工
2012-11-23 01:31:49     打赏
6楼
错误是没有,可有几个很致命的warning。另外你引脚分配怎么做得?

高工
2012-11-23 01:59:53     打赏
7楼
你先排除一下你管教分配问题,如果确定管教没问题的话,在你用JTAG模式下载后是不能掉电的,JTAG下载好掉电后下载进去的东西会被清空,等于没下载,如果希望使用掉电保留你可以选择AS模式。祝成功

高工
2012-11-23 05:55:12     打赏
8楼
这还真不知道,为啥jtag下载不能持久保存?

院士
2012-11-23 08:10:14     打赏
9楼
要么睡得真晚,要么起得太早,这都是什么作息时间啊

高工
2012-11-23 09:16:40     打赏
10楼
用教程里面的测试程序试试吧,排除程序问题,注意管脚分配!

共15条 1/2 1 2 跳转至

回复

匿名不能发帖!请先 [ 登陆 注册 ]