Code Browser Pages:
| /////////////////////////////////////// /////////////////////////////////////// //// //// //// VMM 1.2 example //// //// //// //// For more vmm examples //// //// visit www.testbench.in //// //// //// /////////////////////////////////////// /////////////////////////////////////// //----------------------------------------------------------------------------- // This is a configuration class for dummy rtl //----------------------------------------------------------------------------- class cfg_trans extends vmm_data; // How many transactions to generate before test ends? rand integer num_of_trans; constraint c1 { num_of_trans inside {[5:21]}; } endclass : cfg_trans //----------------------------------------------------------------------------- // end of file //----------------------------------------------------------------------------- |