How do you instruct the simulator not to generate X values?


I would like the simulator to ignore the setup and/or hold violation for particular (or all) flip flops (cascaded in order to handle metastability). Instead of generating X values, I would like the simulator to generate a 1 or 0. Can I do that?


In Active-HDL you can disable X values by passing -g XOn=false in the asim command.

It should look like:

C<asim -g XOn=false top_level_name> 

For more information about asim and detailed description of switches, type help asim in Active-HDL's console window.

Printed version of site: