我编写了一些vhdl代码,其中包含了半加法器的实现。这是几行代码,没有bug。
当我用ghdl编译它时,它会为相应的vhdl文件生成.o文件。但是,当我执行ghdl -e filename时,会发生以下错误:
*error: cannot find entity or configuration demo*
*/usr/lib/ghdl/bin/ghdl: compilation error*有人能帮忙吗?提前感谢
发布于 2011-09-17 13:50:22
ghdl -e命令接受实体名,而不是文件名。
我碰巧有个很好的例子。它有一个Makefile,所以只需输入make就可以编译它,然后可以运行tb_adder:http://kapsi.fi/~jpa/stuff/other/ghdl-example.tar.gz
https://stackoverflow.com/questions/7455145
复制相似问题