Perl based OVM template generator for OVM 2.0

Contributor: Jim McGrath  
Date: December 9, 2008  
Description:

Perl based OVM template generator for OVM 2.0

The attached perl script will generate ovm templates similar to ivb. It uses a simple template file to provide the base name, variables and interface ports.

Usage: >perl jivb.pl (use a default template named ovc.tpl)
>perl jivb.pl template=template_name (use template_name)

The template files should be self-explanatory. The only deficiency is in the generation of the field macros in the sequence item class. jivb.pl currently only supports "ovm_field_int" and "ovm_field_int_array" types automatically. The user can insert other variables types with the "ovm_var" keyword, but will have to edit and fix the sequence_item field macros manually. jivb is intended for users without access to the more fully featured ivb template genarator.

 
Download: jivb.tar_2.gz