macos 在 Mac OS X 上使用什么进行 VHDL/数字逻辑仿真

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/4792317/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-10-21 07:38:59  来源:igfitidea点击:

What to use for VHDL/digital-logic simulation on Mac OS X

macossimulationvhdldigital-logic

提问by Vladimir Keleshev

I suddenly realized that there is no Altera Quartus or Xilins ISE or ModelSim on Mac OS X.

我突然意识到 Mac OS X 上没有 Altera Quartus 或 Xilins ISE 或 ModelSim。

What do people use to at least simulate VHDL and schematic designs on Macs?

人们至少用什么来模拟 Mac 上的 VHDL 和原理图设计?

采纳答案by sinelaw

Try GHDL(alternate link: at ghdl.free.fr).

尝试GHDL(替代链接:在ghdl.free.fr)。

From the site:

从网站:

GHDL is an open-source simulator for the VHDL language. GHDL allows you to compile and execute your VHDL code directly in your PC. Combined with a GUI-based wave viewer and a good VHDL text editor, GHDL is a very powerful tool for writing, testing and simulating your VHDL code.

GHDL is based on the very popular GNU compiler GCC and runs on Linux, Windows and Apple OS X. You can freely download a binary distribution for your OS or try to compile GHDL on your own machine.

GHDL 是 VHDL 语言的开源模拟器。GHDL 允许您直接在 PC 中编译和执行 VHDL 代码。结合基于 GUI 的波形查看器和良好​​的 VHDL 文本编辑器,GHDL 是编写、测试和模拟 VHDL 代码的非常强大的工具。

GHDL 基于非常流行的 GNU 编译器 GCC,可在 Linux、Windows 和 Apple OS X 上运行。您可以免费下载适用于您的操作系统的二进制发行版或尝试在您自己的机器上编译 GHDL。

回答by George

I use aquamacsfor design entry. For verilog I use icarus and gtkwave.

我使用aquamacs进行设计输入。对于 verilog,我使用 icarus 和 gtkwave。

I have not tried GHDL, I have been running a headless linux server via VirtualBoxand running modelsim via ssh with X11 forwarding. That also works for ISE and Quartus.

我没有尝试过 GHDL,我一直在通过VirtualBox运行无头 linux 服务器,并通过 ssh 使用 X11 转发运行 modelsim。这也适用于 ISE 和 Quartus。

Note that for X11 forwarding on the Mac, you have to turn on trusted in your config

请注意,对于 Mac 上的 X11 转发,您必须在配置中打开受信任

X11Forwarding     yes
ForwardX11Trusted yes

or on the command line

或在命令行上

ssh -Y

Let me know how you get on.

让我知道你是怎么办的。

回答by Philippe

What most people use is Parallels (or another virtualisation tool), so that they can use a ModelSim on Parallels, on their Mac. Some people just SSH to a company Linux server that runs the simulator.

大多数人使用的是 Parallels(或其他虚拟化工具),以便他们可以在 Mac 上的 Parallels 上使用 ModelSim。有些人只是通过 SSH 连接到运行模拟器的公司 Linux 服务器。

Another interesting way to go is www.plunify.com. This is a service that runs your simulations in the cloud and emails you the results.

另一个有趣的方法是www.plunify.com。这是一项在云中运行您的模拟并将结果通过电子邮件发送给您的服务。

Finally, I hear there is a commercial VHDL simulator that runs on natively on Mac OS X: DirectVHDL. It has limitations, but it might be good enough to get started.

最后,我听说有一个在 Mac OS X 上本地运行的商业 VHDL 模拟器:DirectVHDL。它有局限性,但它可能足以开始使用。