Jump to content

Recommended Posts

Posted

I could not locate the file tlm_core/tlm_1/tlm_req_rsp/tlm_channels/tlm_req_rsp_channels/tlm_req_rsp_channels.h included from systemc-2.3.0/src/tlm_core/tlm_1/tlm_req_rsp/tlm_req_rsp.h.

I am sure i am messing this up. Can someone throw some light on this?

Thanks and Regards,

BR/Nizam

Posted

Do you see a comppiler error, or is the file physically missing on your system?

The official release of the Accellera SystemC PoC simulator contains this file. Make sure you have correctly unpacked the archive.

$ md5sum systemc-2.3.0.tgz
c26b9116f29f1384e21ab8abdb2dd70f  systemc-2.3.0.tgz

Secondly, you need to add the top-level include directory (<install-directory>/include) to your compiler's include path during compilation, but this is needed for SystemC itself already.

Greetings from Oldenburg,

Philipp

Posted

Hi Philipp,

This file is physically missing from the PoC simulator package i have. Looks like something is wrong with the tar file i have. Let me download the latest one and check.

Thanks.

BR/Nizam

  • 11 months later...
Posted

Hi, I had this issue also. The problem is, in the offical SystemC 2.3 download the file "tlm_req_rsp_channels.h" has a different path information than all the other files. The path for this specific file starts at "src" which is one down from "systemC-2.3.0" where the path for the other files starts. Here a screen shot of the problem.

 

 

Best regards

Bernhardpost-12177-0-33234000-1387526671_thumb.png

Posted

Bernhard,

 

thanks for the report.

 

Hi, I had this issue also. The problem is, in the offical SystemC 2.3 download the file "tlm_req_rsp_channels.h" has a different path information than all the other files. The path for this specific file starts at "src" which is one down from "systemC-2.3.0" where the path for the other files starts. Here a screen shot of the problem.

 

I can't confirm this on Linux:

$ tar -tzf systemc-2.3.0.tgz | grep req_rsp/tlm_ch
systemc-2.3.0/src/tlm_core/tlm_1/tlm_req_rsp/tlm_channels/
systemc-2.3.0/src/tlm_core/tlm_1/tlm_req_rsp/tlm_channels/Makefile.am
systemc-2.3.0/src/tlm_core/tlm_1/tlm_req_rsp/tlm_channels/Makefile.in
systemc-2.3.0/src/tlm_core/tlm_1/tlm_req_rsp/tlm_channels/tlm_fifo/
systemc-2.3.0/src/tlm_core/tlm_1/tlm_req_rsp/tlm_channels/tlm_req_rsp_channels/
systemc-2.3.0/src/tlm_core/tlm_1/tlm_req_rsp/tlm_channels/tlm_req_rsp_channels/Makefile.am
systemc-2.3.0/src/tlm_core/tlm_1/tlm_req_rsp/tlm_channels/tlm_req_rsp_channels/Makefile.in
systemc-2.3.0/src/tlm_core/tlm_1/tlm_req_rsp/tlm_channels/tlm_req_rsp_channels/tlm_put_get_imp.h
systemc-2.3.0/src/tlm_core/tlm_1/tlm_req_rsp/tlm_channels/tlm_req_rsp_channels/tlm_req_rsp_channels.h
systemc-2.3.0/src/tlm_core/tlm_1/tlm_req_rsp/tlm_channels/tlm_fifo/circular_buffer.h
systemc-2.3.0/src/tlm_core/tlm_1/tlm_req_rsp/tlm_channels/tlm_fifo/Makefile.am
systemc-2.3.0/src/tlm_core/tlm_1/tlm_req_rsp/tlm_channels/tlm_fifo/Makefile.in
systemc-2.3.0/src/tlm_core/tlm_1/tlm_req_rsp/tlm_channels/tlm_fifo/tlm_fifo.h
systemc-2.3.0/src/tlm_core/tlm_1/tlm_req_rsp/tlm_channels/tlm_fifo/tlm_fifo_peek.h
systemc-2.3.0/src/tlm_core/tlm_1/tlm_req_rsp/tlm_channels/tlm_fifo/tlm_fifo_put_get.h
systemc-2.3.0/src/tlm_core/tlm_1/tlm_req_rsp/tlm_channels/tlm_fifo/tlm_fifo_resize.h

Also on Windows with the 7-zip archiver, the contents are displayed correctly here.  Therefore, I assume that WinZip has a problem with such long paths.

 

This is probably due to the fact that the path in question exceeds 99 characters in length, which has been a historical limit in tar archives.  Newer tar format variants may not be supported by some versions of tar (or other software used to access the archive, like WinZip in your case). 

 

I would suggest to try another archive software, like the aforementioned 7-zip archiver, and check whether it still fails to extract the systemc-2.3.0 archive correctly on your system.

 

Greetings from Oldenburg,
  Philipp

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...