VHDL simulation on MacOS X
You are viewing an old revision of this post, from October 26, 2013 @ 09:41:23. See below for differences between this version and the current revision.
While actually programming a CPLD is not possible on Mac, you’re able to compile and simulate: I installed GHDL from here:
http://ghdl.free.fr/site/pmwiki.php?n=Main.Download
ghdl lets you analyze and elaborate a VHDL design + test bench from the command line. Then you can view the simulation as waveforms with gtkwave:
http://gtkwave.sourceforge.net/gtkwave.zip
Documentation for ghdl (once installed) is in file:///usr/local/ghdl/doc/ghdl.html
this guide was also useful for me to set things up: http://dcse.die.upm.es/Grupo42/ManualGHDL_v1.1.pdf
see the script ./simulate_Ram_control.sh in the synkie svn repository for how to invoke the simulation from the command line.
I commented out the line that launches gtkwave because you have to launch gtkwave only once, then when you recompile a corrected version you’ll only have to select “Reload Waveform” from the Edit menu. I’m pretty sure this same thing should be possible to do in ModelSim but I just couldn’t figure this shit out.
But cow can actually just double click on the generated .ghw file to see the waveforms.
End of Ram Initialisation and first Read/Write cycles
Module Info
Inputs: | |
---|---|
Outputs: | |
Power Draw on +5V: | N/A |
Power Draw on -5V: | N/A |
Frequency Response: |
Schematic & PCB
Observations
No observations yet
Revisions:
- October 26, 2013 @ 09:41:23 [Current Revision] by Michael
- October 26, 2013 @ 09:41:23 by Michael
- October 25, 2013 @ 18:19:41 by Michael
Changes:
There are no differences between the October 26, 2013 @ 09:41:23 revision and the current revision. (Maybe only post meta information was changed.)