-
|
When debugging why a rule condition is provably false, I'd like the compiler to not optimize the CAN_FIRE and WILL_FIRE (or the .sched file info for this rule). I tried using Does the support not exist to preserve such conditions, or do I need to add some more bsc flags? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
|
It would help to have an example, so I made this one: The rule condition can never be true because it has the form BSC runs in a series of stages, so one of the first things I do when debugging is to see what stage things are happening in. I do this with the BSC can print out the intermediate results of each stage, using In my example, I can see that the rule condition is still visible in the form The syntax for this output is similar to BH. At the bottom, we see the rule BSC has a stage that inlines definitions, called In my example, I see that the If you use Hopefully that works! However, it is possible that some conditions might be simplified during the execution of the design. For example, if BSC encounters the code This shows that BSC is evaluating the variable But hopefully |
Beta Was this translation helpful? Give feedback.
It would help to have an example, so I made this one:
The rule condition can never be true because it has the form
x && !x. And if I compile it, I see a message like this:BSC runs in a series of stages, so one of the first things I do when debugging is to see what stage things are happening in. I do this with the
-vflag, which causes BSC to print the names of the stages as it enters and exits them. Theexpandedstage is where …