ranier
Junior Member level 1
hspice .alter verilog-a syntax
Hi
I'm doing simulation using hspice of synopsys.
I wanted to see the result which is generated by veriloga.
so I used below statement in veriloga module.
*********************
out_file = $fopen( "inl.dat" );
$fstrobe(out_file,"# Generated by hspice from `%M'");
$fstrobe(out_file,"The maximum inl measured is %f at code %d",max_inl, max_inl_code);
*********************
First time Result was good.
but when I used the .alter stament. inl.dat was made by last .alter condition.
How do I make all "alter" conditions result made by veriloga ?
Thank you in advance.
Hi
I'm doing simulation using hspice of synopsys.
I wanted to see the result which is generated by veriloga.
so I used below statement in veriloga module.
*********************
out_file = $fopen( "inl.dat" );
$fstrobe(out_file,"# Generated by hspice from `%M'");
$fstrobe(out_file,"The maximum inl measured is %f at code %d",max_inl, max_inl_code);
*********************
First time Result was good.
but when I used the .alter stament. inl.dat was made by last .alter condition.
How do I make all "alter" conditions result made by veriloga ?
Thank you in advance.