The Designer's Guide Community
Forum
Welcome, Guest. Please Login or Register. Please follow the Forum guidelines.
Jul 16th, 2024, 8:36am
Pages: 1
Send Topic Print
ncelab: *W,BIGWBS (Read 3833 times)
helix
New Member
*
Offline



Posts: 2

ncelab: *W,BIGWBS
Mar 12th, 2008, 4:27am
 
I am a newbie with NCSim.

I tried to elaborate a Verilog design with ncelab and this warning message was produced:

ncelab: *W,BIGWBS (<design_file.v>,1140|38): bit-select index truncation.

I tried "nchelp ncelab BIGWBS" and it gave the following info:

The index in a bit-select has a width greater than a machine word, which is typically 32 bits. Only 32 bits are used.
This truncation may result in undesired behavior.



Has Anyone come across this before?

Is it because of somthing wrong with my codes?

Is there any way to solve/get ride of/bypass this warning except using the "-NOWARN" OPTION?

Thanks
Back to top
 
 
View Profile   IP Logged
Geoffrey_Coram
Senior Fellow
******
Offline



Posts: 1999
Massachusetts, USA
Re: ncelab: *W,BIGWBS
Reply #1 - Mar 12th, 2008, 10:45am
 
Have you looked at the line in question?

I think a bit-select is like indexing an array, eg mybus[x], and it sounds like the warning says that "x" is somehow a variable with a width > 32.

I'd go check that bit-select.
Back to top
 
 

If at first you do succeed, STOP, raise your standards, and stop wasting your time.
View Profile WWW   IP Logged
helix
New Member
*
Offline



Posts: 2

Re: ncelab: *W,BIGWBS
Reply #2 - Mar 12th, 2008, 7:30pm
 
Thanks for the info.  :)
Back to top
 
 
View Profile   IP Logged
Pages: 1
Send Topic Print
Copyright 2002-2024 Designer’s Guide Consulting, Inc. Designer’s Guide® is a registered trademark of Designer’s Guide Consulting, Inc. All rights reserved. Send comments or questions to editor@designers-guide.org. Consider submitting a paper or model.