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

Metropolis-1.1.3
Christopher Brooks, 16 Jan 2008
Last updated: 4 Jun 2017

June 4, 2017: Metropolis 1.1.4 is available.


This page is for Metropolis 1.1.3 January 16, 2008: Metropolis 1.1.3 is available for download

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

metropoils-1.1.3.zip is the same release in Windows format, for installation under Cygwin.

copyright.txt: the license file for Metropolis. Metropolis itself has a BSD license, but Metropolis uses software with other licenses.

Summary of changes between Metropolis 1.1.2 and 1.1.3:

  • examples/simpleMapping/mapping_tutorial.pdf was corrupt

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  
Previous topic  |  This topic  |  Next topic
Previous article  |  This article  |  Next article
You are not logged in 
Contact 
©2002-2017 U.C. Regents