electronics forum

Rules | Recent posts | topic RSS | Search | Register  | Log in

post-simulation using VCS error "Argument list too lo


Post new topic  Reply to topic    EDAboard.com Forum Index -> ASIC Design Methodologies & Tools (Digital) -> post-simulation using VCS error "Argument list too lo
Author Message
yurenjie



Joined: 17 Jul 2009
Posts: 4


Post17 Oct 2009 6:16   

post-simulation using VCS error "Argument list too lo


HI,all!
when I implement an arm soc system post-simulation with VCS,therer is an error happans,as follows:
make:execvp:g++:Argument list too long
make:***[product_timestamp]Error 127
Make exited with status 2
---
can anyone tell me reason of this error and the solution?

Regards!!
Back to top
skyfaye



Joined: 25 Feb 2008
Posts: 27
Helped: 2


Post17 Oct 2009 18:18   

Re: post-simulation using VCS error "Argument list to


Doc Id: 017218 Product: VCS
Last Modified: 04/07/2006 Print-Friendly Version Email Article

My Saved Articles
Rate this article: Not Useful Somewhat Useful Useful Very Useful
Argument list too long

Question:

I get the following message during linking:

make: execvp: gcc: Argument list too long
make: *** [product_timestamp] Error 127


Answer:

By default VCS compiles module definitions into individual object files
and sends all the object files in a command line to the linker. Some
platforms use a fixed-length buffer for the command line, and if VCS sends
too long a list of object files, this buffer overflows and the link fails.

A solution to this problem is to have the linker create temporary object
files containing more than one module definition so there are fewer object
files on the linker command line. You enable creating these temporary object
files, and specify how many module definitions are in these files, with the
following option

-Marchive=N

where N is the number of modules definitions to include in one temporary
object file.

i.e.

% vcs -f filelist.f -Marchive=100 ...

Using this option briefly doubles the amount of disk space used by the linker
because the object files containing more than one module definition are
copies of the object files for each module definition. After the linker
creates the simv executable it deletes the temporary object files.
Back to top
ljxpjpjljx



Joined: 05 May 2008
Posts: 534
Helped: 12
Location: Shang Hai


Post18 Oct 2009 7:50   

Re: post-simulation using VCS error "Argument list to


furthermore ,if you can spilt the module more clearly , you can avoid this problem!
Back to top
Google
AdSense
Google Adsense




Post18 Oct 2009 7:50   

Ads




Back to top
yurenjie



Joined: 17 Jul 2009
Posts: 4


Post20 Oct 2009 15:43   

Re: post-simulation using VCS error "Argument list to


skyfaye wrote:
Doc Id: 017218 Product: VCS
Last Modified: 04/07/2006 Print-Friendly Version Email Article

My Saved Articles
Rate this article: Not Useful Somewhat Useful Useful Very Useful
Argument list too long

Question:

I get the following message during linking:

make: execvp: gcc: Argument list too long
make: *** [product_timestamp] Error 127


Answer:

By default VCS compiles module definitions into individual object files
and sends all the object files in a command line to the linker. Some
platforms use a fixed-length buffer for the command line, and if VCS sends
too long a list of object files, this buffer overflows and the link fails.

A solution to this problem is to have the linker create temporary object
files containing more than one module definition so there are fewer object
files on the linker command line. You enable creating these temporary object
files, and specify how many module definitions are in these files, with the
following option

-Marchive=N

where N is the number of modules definitions to include in one temporary
object file.

i.e.

% vcs -f filelist.f -Marchive=100 ...

Using this option briefly doubles the amount of disk space used by the linker
because the object files containing more than one module definition are
copies of the object files for each module definition. After the linker
creates the simv executable it deletes the temporary object files.



hi,thanks!!!
this question puzzeled me for a long time, thanks for your answer!
Back to top
Arabic versionBulgarian versionCatalan versionCzech versionDanish versionGerman versionGreek versionEnglish versionSpanish versionFinnish versionFrench versionHindi versionCroatian versionIndonesian versionItalian versionHebrew versionJapanese versionKorean versionLithuanian versionLatvian versionDutch versionNorwegian versionPolish versionPortuguese versionRomanian versionRussian versionSlovak versionSlovenian versionSerbian versionSwedish versionTagalog versionUkrainian versionVietnamese versionChinese version
Post new topic  Reply to topic    EDAboard.com Forum Index -> ASIC Design Methodologies & Tools (Digital) -> post-simulation using VCS error "Argument list too lo
Page 1 of 1 All times are GMT + 1 Hour
Similar topics:
VCS post simulation option, "+compsdf" and "+ (1)
How to fix "timestep too small" error in hspice si (12)
calibre PEX post-simulation problem, too (2)
Post-synthesis gate-level VCS simulation (race condition) (2)
Help!! post-simulation Error!!! (7)
post route simulation error (1)
post synthesis verilog simulation error (13)
Post-synthesis simulation error in modelsim-iteration limit. (3)
spectre simulation error - "input.scs": unable to (5)
Problem of post-simulation using ncverilog (2)


Abuse || Administrator || Moderators || Support us || sitemap
topic RSS