All, Thanks to everyone for getting ready for release, and the work on ghdl!
Today I got around to compiling a fresh clone of ghdl today against LLVM. Here are the test results from 2 different chips... first one which taped out last year (thanks to ghdl) and is a pure VHDL simulation, and then a new cpu core in development which is mixed VHDL and C (using textio for interprocess communication). GHDL repository version: Ds-Mac-mini:ghdl-build jeff$ hg log | head -5 changeset: 505:eafa1fae9597 tag: tip user: Tristan Gingold <[email protected]> date: Mon Nov 17 06:26:42 2014 +0100 summary: Translate: rewrite concatenation. Now O(n). --- Ds-Mac-mini:bitlink jeff$ time make ... Many test benches run successfully ... ghdl:info: simulation stopped by --stop-time tested ASIC top level autotest mode real 8m54.099s user 8m23.615s sys 0m6.104s Ds-Mac-mini:bitlink jeff$ ghdl --version GHDL 0.33dev (20141104) [Dunoon edition] Compiled with GNAT Version: 4.9.1 LLVM code generator Written by Tristan Gingold. Copyright (C) 2003 - 2014 Tristan Gingold. GHDL is free software, covered by the GNU General Public License. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Ds-Mac-mini:bitlink jeff$ --- Ds-Mac-mini:bitlink jeff$ time make ... Same tests run, with same results ... ghdl:info: simulation stopped by --stop-time tested ASIC top level autotest mode real 8m36.634s user 7m49.674s sys 0m27.602s Ds-Mac-mini:bitlink jeff$ ghdl --version GHDL 0.29 (20100109) [Sokcho edition] Compiled with GNAT Version: 4.4.0 20080314 (experimental) mcode code generator Written by Tristan Gingold. Copyright (C) 2003 - 2010 Tristan Gingold. GHDL is free software, covered by the GNU General Public License. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Ds-Mac-mini:bitlink jeff$ --- CPU test. Ds-Mac-mini:sim jeff$ time ./cpu_ctb --stop-time=100us mapped file ram.img to memory [0x00000000-0x000040E0) Debug enabled. Press 'b' to break execution. LED: WRITE 0xFF at 300 ns LED: WRITE 0x11 at 520 ns LED: WRITE 0x4F at 710 ns ghdl:error: unknown error code 4 at ../core/datapath.vhd:110 ghdl:error: simulation failed real 0m9.699s user 0m9.465s sys 0m0.191s Ds-Mac-mini:sim jeff$ ghdl --version GHDL 0.33dev (20141104) [Dunoon edition] Compiled with GNAT Version: 4.9.1 LLVM code generator Written by Tristan Gingold. Copyright (C) 2003 - 2014 Tristan Gingold. GHDL is free software, covered by the GNU General Public License. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Ds-Mac-mini:sim jeff$ --- Ds-Mac-mini:sim jeff$ time ./cpu_ctb --stop-time=100us mapped file ram.img to memory [0x00000000-0x000040E0) Debug enabled. Press 'b' to break execution. LED: WRITE 0xFF at 300 ns LED: WRITE 0x11 at 520 ns LED: WRITE 0x4F at 710 ns LED: WRITE 0x12 at 4880 ns LED: WRITE 0x21 at 10520 ns LED: WRITE 0x22 at 15150 ns LED: WRITE 0x31 at 22800 ns LED: WRITE 0x32 at 26730 ns LED: WRITE 0x33 at 29090 ns LED: WRITE 0x41 at 42590 ns LED: WRITE 0x42 at 46110 ns LED: WRITE 0x43 at 49330 ns LED: WRITE 0x44 at 52970 ns LED: WRITE 0x45 at 56300 ns LED: WRITE 0x46 at 59600 ns LED: WRITE 0x47 at 73040 ns LED: WRITE 0x51 at 75850 ns LED: WRITE 0x61 at 88970 ns ghdl:info: simulation stopped by --stop-time real 0m16.692s user 0m15.461s sys 0m2.410s Ds-Mac-mini:sim jeff$ ghdl --version GHDL 0.29 (20100109) [Sokcho edition] Compiled with GNAT Version: 4.4.0 20080314 (experimental) mcode code generator Written by Tristan Gingold. Copyright (C) 2003 - 2010 Tristan Gingold. GHDL is free software, covered by the GNU General Public License. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Ds-Mac-mini:sim jeff$ I will send Tristan some code examples (sorry, it is not ready for open source release yet)... J _______________________________________________ Ghdl-discuss mailing list [email protected] https://mail.gna.org/listinfo/ghdl-discuss
