Design Environment for Heterogeneous Systems
Forum
Downloads
Previous topic  |  This topic  |  Next topic
Previous article  |  This article  |  Next article

Metropolis-1.1.2
Christopher Brooks, 12 Oct 2006
Last updated: 16 Jan 2008

October 12, 2006: Metropolis 1.1.2 is available for download

metropolis-1.1.2.tar.gz is the release in a gzip'd tar file for installation on Linux systems.

metropoils-1-1-2-src.zip is the same release in Windows format, for installation under Cygwin.
January 16, 2008: metropolis-1-1-2-src.zip has a corrupt pdf:
examples/simpleMapping/mapping_tutorial.pdf.
Download Metropolis 1.1.3 instead.

Only the 1.1.2 .zip file has this problem, the 1.1.2 tar.gz file is fine.

Summary of changes between Metropolis 1.1.beta and 1.1.2:

  • Support for gcc-4.1.1
  • Code cleaning

systemc-2.1.v1 under cygwin notes

If you are building systemc-2.1.v1 under gcc-4.1.1 under Cygwin, you might see:
../../../../src/sysc/kernel/sc_process_int.cpp:441: error: 'sc_thread_cor_fn' was not declared in this scope
The solution is to edit systemc-2.1.v1/src/sysc/kernel/sc_process_int.cpp and move the definition of sc_thread_cor_fn to before its first use.

System-2.2.0 under cygwin

make pthreads_check fails:
make[6]: Entering directory `/cygdrive/c/cxh/src/tmp/systemc-2.2.0/objdir/examples/sysc/fft/fft_flpt'
g++ -DPACKAGE_NAME="" -DPACKAGE_TARNAME="" -DPACKAGE_VERSION="" -DPACKAGE_STRING="" -DPACKAGE_BUGREPORT=""  -I. -I../../../../../examples/sysc/fft/fft_flpt -I/cygdrive/c/cxh/src/tmp/systemc-2.2.0/include    -Wall -DSC_INCLUDE_FX -DSC_USE_PTHREADS -c -o fft.o `test -f 'fft.cpp' || echo '../../../../../examples/sysc/fft/fft_flpt/'`fft.cpp
In file included from fft.cpp:37:
/cygdrive/c/cxh/src/tmp/systemc-2.2.0/include/systemc.h:175: error: `std::wctomb' has not been declared
/cygdrive/c/cxh/src/tmp/systemc-2.2.0/include/systemc.h:177: error: `std::wcstombs' has not been declared
Hiren Patel came up with a patch for Systemc-2.2.0.

To use the patch, download and untar systemc-2.2.0.tgz

wget http://embedded.eecs.berkeley.edu/metropolis/forum/26/systemc-2.2.0-cygwin-3.4.4.patch
tar -zxf systemc-2.2.0.tgz
patch -p0 systemc-2.2.0-cygwin-3.4.4.patch
Then install SystemC as usual:
cd systemc-2.2.0
mkdir objdir
cd objdir
../configure --prefix=/cygdrive/c/src/systemc
make pthreads
make pthreads install
make pthreads_check
Attached files  
  • metropolis-1.1.2.src.tar.gz · View · Download · 3868 kbytes
  • metropolis-1-1-2-src.zip · View · Download · 4748 kbytes
  • systemc-2.2.0-cygwin-3.4.4.patch · View · Download · 1 kbytes
Previous topic  |  This topic  |  Next topic
Previous article  |  This article  |  Next article
Contact 
©2002-2018 U.C. Regents