您好!有谁能帮我弄清楚我的VHDL代码有什么问题?
我的代码是attachemnt。
以下是我尝试合成/生成编程文件时收到的警告列表...
警告:Xst:819 - “C:/VHDL_projek
ti/PS2K/main.vhd”第48行:过程灵敏度列表中缺少以下信号:
警告:Xst:2734 - 属性“use_dsp48”不适用于此技术。
警告:Xst:1710 - FF / Latch(无初始值)在块中的常量值为0。
警告:Xst:1895 - 由于其他FF / Latch修整,FF / Latch(无初始值)在块中具有常量值0。
警告:Xst:1895 - 由于其他FF / Latch修整,FF / Latch(无初始值)在块中具有常量值0。
警告:Xst:1895 - 由于其他FF / Latch修整,FF / Latch(无初始值)在块中具有常量值0。
警告:Xst:1895 - 由于其他FF / Latch修整,FF / Latch(无初始值)在块中具有常量值0。
警告:Xst:1895 - 由于其他FF / Latch修整,FF / Latch(无初始值)在块中具有常量值0。
警告:Xst:1710 - FF / Latch(无初始值)在块中的常量值为0。
警告:Xst:1895 - 由于其他FF / Latch修整,FF / Latch(无初始值)在块中具有常量值0。
警告:Xst:1895 - 由于其他FF / Latch修整,FF / Latch(无初始值)在块中具有常量值0。
警告:Xst:1895 - 由于其他FF / Latch修整,FF / Latch(无初始值)在块中具有常量值0。
警告:Xst:1895 - 由于其他FF / Latch修整,FF / Latch(无初始值)在块中具有常量值0。
警告:Xst:1895 - 由于其他FF / Latch修整,FF / Latch(无初始值)在块中具有常量值0。
警告:参数:288 - 信号reset_IBUF无负载。
PAR不会尝试路由此信号。
警告:参数:283 - 此设计中有1个无负载信号。
此设计将导致Bitgen发出DRC警告。
警告:PhysDesignRules:367 - 信号不完整。
信号
有人可以帮我弄这个吗 ?
我一直在看代码,我没有看到任何错误,但显然我做错了。
1)“过程灵敏度列表中缺少以下信号”
有人告诉我,我需要将数据信号添加到过程灵敏度列表中,这样就解决了。
2)“由于其他FF / Latch修整,块中的常量值为0”
好的,我做错了什么?
我根本不想使用闩锁......
3)“信号reset_IBUF没有负载.PAR不会尝试路由此信号。”
这是什么意思 ?
我的重置信号有什么问题?
为什么不完整?
此代码是我尝试将PS / 2键盘与Spartan 3入门板配合使用。
实体“键盘”执行读取并且它正常工作(当我单独测试时,我在dout信号上得到正确的扫描码(我在LED上看到它))。
rx_done是tick(20ns),表示扫描码已成功读取。
我只是想知道我是否可以以某种方式识别扫描码(在我的第二个过程中我正在比较数据信号并将正确的值与segNext信号相比较)并在7段显示器上显示。
当我开始工作时,我将实现正确的行为(检测所有扫描代码,检测额外的密钥以及按键和按键事件)。
我不确定我是否需要描述其他任何内容,如果我这样做请留下评论:)
感谢您的帮助 !!!!
mycode.vhd 2 KB
以上来自于谷歌翻译
以下为原文
Hello ! Can anyone help me figure out what is wrong with my VHDL code ? My code is in attachemnt.
Here is list of warnings I get when I try to synthesize it/generate programming file ...
WARNING:Xst:819 - "C:/VHDL_projekti/PS2K/main.vhd" line 48: The following signals are missing in the process sensitivity list:WARNING:Xst:2734 - Property "use_dsp48" is not applicable for this technology.WARNING:Xst:1710 - FF/Latch
(without init value) has a constant value of 0 in block .WARNING:Xst:1895 - Due to other FF/Latch trimming, FF/Latch (without init value) has a constant value of 0 in block .WARNING:Xst:1895 - Due to other FF/Latch trimming, FF/Latch (without init value) has a constant value of 0 in block .WARNING:Xst:1895 - Due to other FF/Latch trimming, FF/Latch (without init value) has a constant value of 0 in block .WARNING:Xst:1895 - Due to other FF/Latch trimming, FF/Latch (without init value) has a constant value of 0 in block .WARNING:Xst:1895 - Due to other FF/Latch trimming, FF/Latch (without init value) has a constant value of 0 in block .WARNING:Xst:1710 - FF/Latch (without init value) has a constant value of 0 in block .WARNING:Xst:1895 - Due to other FF/Latch trimming, FF/Latch (without init value) has a constant value of 0 in block .WARNING:Xst:1895 - Due to other FF/Latch trimming, FF/Latch (without init value) has a constant value of 0 in block .WARNING:Xst:1895 - Due to other FF/Latch trimming, FF/Latch (without init value) has a constant value of 0 in block .WARNING:Xst:1895 - Due to other FF/Latch trimming, FF/Latch (without init value) has a constant value of 0 in block .WARNING:Xst:1895 - Due to other FF/Latch trimming, FF/Latch (without init value) has a constant value of 0 in block .WARNING: Par:288 - The signal reset_IBUF has no load. PAR will not attempt to route this signal.WARNING: Par:283 - There are 1 loadless signals in this design. This design will cause Bitgen to issue DRC warnings.WARNING: PhysDesignRules:367 - The signal is incomplete. The signal
Can someone help me with this ? I've been looking at the code and I don't see anything wrong, but obviously I'm doing something wrong.
1) "The following signals are missing in the process sensitivity list"
Someone told me that I need to add data signal to process sensitivity list, so this one is solved.
2) "Due to other FF/Latch trimming, has a constant value of 0 in block"
OK, what am I doing wrong ? I don't want to use latches at all ...
3) "The signal reset_IBUF has no load. PAR will not attempt to route this signal. "
What does this mean ? What is wrong with my reset signal ? Why is it incomplete ?
This code is my attempt at using PS/2 keyboard with Spartan 3 starter board. Entity "keyboard" does the reading and it is working properly (when I test it alone, I get correct scan codes on dout signal (I see it on LEDs)). rx_done is tick (20ns) that signals that scancode has been successfully read.
I just wanted to see if I can somehow recognize the scan codes (in my second process I'm comparing data signal and putting right values to segNext signal) and display something on 7-segment display. When I get this to work, I'll then implement correct behaviour (detecting all scan codes, for extra keys and for key down and key up events).
I'm not sure if I need to describe anything else, if I do please leave me a comment :)
Thank you for your help !!!!
mycode.vhd 2 KB
0