« AVM in_order_comparator | Main | シンプリシティがHARDIを買収 »

2007.06.02

AVM in_order_comparator 再挑戦

ここまで絞り込んだ。


#include "systemc.h"

//#include "in_order_comparator.h"
#include "tlm.h"

int sc_main(int argc, char *argv[])
{
tlm::tlm_event_finder_t >, sc_dt::sc_int<8> > finder;

// in_order_comparator< sc_int<8> > c("comp");
//tlm_nonblocking_get_port< sc_int<8> > before_port("befor");

return 0;
}

g++ -g -DSC_INCLUDE_DYNAMIC_PROCESSES -I. -I.. -I. -I/home/natu/systemc/systemc-2.2.0/include -I/home/natu/systemc/TLM-2005-04-08/tlm -c main.cpp
/home/natu/systemc/TLM-2005-04-08/tlm/tlm_event_finder/tlm_event_finder.h: In function `int sc_main(int, char**)':
/home/natu/systemc/TLM-2005-04-08/tlm/tlm_event_finder/tlm_event_finder.h:68: error: `tlm::tlm_event_finder_t::tlm_event_finder_t() [with IF = tlm::tlm_nonblocking_get_if >, T = sc_dt::sc_int<8>]' is private
main.cpp:8: error: within this context
main.cpp:8: error: cannot declare variable `finder' to be of type `tlm::tlm_event_finder_t >, sc_dt::sc_int<8> >'
main.cpp:8: error: because the following virtual functions are abstract:
/home/natu/systemc/systemc-2.2.0/include/sysc/communication/sc_event_finder.h:96: error: virtual const sc_core::sc_event& sc_core::sc_event_finder::find_event(sc_core::sc_interface*) const
*** Error code 1 (continuing)
`a.out' not remade because of errors.

ここから先は、腰を据えてソース追わないと駄目かな。

何となくだけど、AVMはSystemCの最新(2.2)と古いTLM(1.0)を要求し、古いTLMは古いSystemCを要求しているから
不一致起きているんじゃないだろうか・・・
つまりTLM1.0は、SystemC2.2に対応しているのか?
もしくは、gccのバージョンが駄目なのかも。

|

« AVM in_order_comparator | Main | シンプリシティがHARDIを買収 »

Comments

AMV 2.0はSystemc 2.1およびTLM1.0です。SystemC2.2はTLM1.0がリリースされた後なのでだめです。AVM3.0でも同じです。

Posted by: 原山みや | 2007.06.02 08:27 AM

原山みやさん

情報ありがとうございます。
SystemC2.1でも同じですね。Cygwin、FreeBSDとも同じようなエラーです。
GCCが最新なのがまずいのでしょうか。
もう少し追ってみます。

Posted by: なつたん | 2007.06.05 06:41 AM

The comments to this entry are closed.

TrackBack


Listed below are links to weblogs that reference AVM in_order_comparator 再挑戦:

« AVM in_order_comparator | Main | シンプリシティがHARDIを買収 »