bluespec.com Forum Index bluespec.com
Bluespec Forums
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Error

 
Post new topic   Reply to topic    bluespec.com Forum Index -> Tools: BSC (Bluespec Compiler)
View previous topic :: View next topic  
Author Message
8Cube



Joined: 28 Dec 2009
Posts: 1
Location: US

PostPosted: Mon Dec 28, 2009 2:56 pm    Post subject: Error Reply with quote

Im getting this...

Error: "Clocks.bsv", line 1538, column 9: (G0005)
The assertion `can_schedule_first' failed for rule
'RL_snoopFastQ_dWData_clock_domain_crossing'
because before it can be executed:
RL_xferSnoop must be executed

I suppose I have to tweak rules?
Back to top
View user's profile Send private message Visit poster's website
quark
Site Admin


Joined: 02 Nov 2007
Posts: 495

PostPosted: Mon Dec 28, 2009 3:11 pm    Post subject: Re: Error Reply with quote

This error comes from inside the module "mkNullCrossingWire". The input to this module must come from a registered value, that does not have implicit conditions. The value cannot come from the output of another rule, through a wire, for example. The error is saying that there is another rule which has to happen first, which is not allowed.

You can either try to adjust the rules so that a rule doesn't schedule first. Or you might also try rewriting the design to not use mkNullCrossingWire -- in general, you should avoid using this module, unless you are doing something that requires working at this low-level.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    bluespec.com Forum Index -> Tools: BSC (Bluespec Compiler) All times are GMT - 4 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum
bluespec.com topic RSS feed 


Powered by phpBB © 2001, 2005 phpBB Group
Protected by Anti-Spam ACP