Skip to content

Instantly share code, notes, and snippets.

@makestuff
Created January 23, 2014 14:01
Show Gist options
  • Select an option

  • Save makestuff/8578853 to your computer and use it in GitHub Desktop.

Select an option

Save makestuff/8578853 to your computer and use it in GitHub Desktop.
Simulating mem_ctrl
$ cd $HOME
$ mkdir 20131101
$ cd 20131101
$ wget -qO- http://www.swaton.ukfsn.org/bin/makestuff-lindar-20130829.tar.gz | tar zxf -
$ cd makestuff/
$ scripts/msget.sh makestuff/hdlmake/20131101
Fetching "makestuff/hdlmake/20131101"...
Uncompressing "makestuff/hdlmake/20131101" into "hdlmake" directory...
Fetching "makestuff/common/20131101"...
Uncompressing "makestuff/common/20131101" into "./common" directory...
$ cd hdlmake/libs/
$ ../bin/hdlmake.py -g makestuff/mem-ctrl
MakeStuff HDL Builder (C) 2012-2013 Chris McClelland
Fetching https://github.com/makestuff/mem-ctrl/archive/20131101.tar.gz
Success!
$ cd makestuff/mem-ctrl/vhdl/
$ ../../../../bin/hdlmake.py -w
MakeStuff HDL Builder (C) 2012-2013 Chris McClelland
[Running tests]
[Testbench: tb_unit]
Fetching https://github.com/makestuff/sim-utils/archive/20131101.tar.gz
HDL simulation:
analyze /home/chris/20131101/makestuff/hdlmake/libs/makestuff/sim-utils/vhdl/hex_util.vhdl
analyze ../mem_ctrl_pkg.vhdl
analyze ../mem_ctrl.vhdl
analyze sdram_model.vhdl
analyze ../mem_ctrl_rtl.vhdl
analyze mem_ctrl_tb.vhdl
elaborate mem_ctrl_tb
Moving mem_ctrl_tb to simulation directory
Write(700D1E): BEEF
Write(0000FF): CAFE
Read(700D1E): BEEF
Read(0000FF): CAFE
./simulation/mem_ctrl_tb:info: simulation stopped by --stop-time
[Preparing GTKWave]
GTKWave Analyzer v3.3.54 (w)1999-2014 BSI
[0] start time.
[41280000000] end time.
(gtkwave:11214): Gtk-CRITICAL **: IA__gtk_widget_get_direction: assertion `GTK_IS_WIDGET (widget)' failed
(gtkwave:11214): Gtk-CRITICAL **: IA__gtk_widget_get_direction: assertion `GTK_IS_WIDGET (widget)' failed
(gtkwave:11214): Gtk-CRITICAL **: IA__gtk_widget_get_direction: assertion `GTK_IS_WIDGET (widget)' failed
Interpreter id is gtkwave_11214
% WM Destroy
[Finished testing]
Success!
$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment