Test Pattern File Formats FlexTest Test Pattern File Format
FastScan and FlexTest Reference Manual, V8.6_4 4-35
-> compare_exp_sim_obus;
/* Pattern 3 */
_pattern_count = 3;
#1000; /* 16000 */
_ibus=6’b00000Z;
#2000; /* 18000 */
_ibus=6’b00010Z;
#1000; /* 19000 */
_exp_obus=4’b0000;
_msk_obus=4’b1111;
-> compare_exp_sim_obus;
/* Pattern 4 */
_pattern_count = 4;
#1000; /* 20000 */
_ibus=6’b001001;
#2000; /* 22000 */
_ibus=6’b001101;
#1000; /* 23000 */
_exp_obus=4’b0101;
_msk_obus=4’b1111;
-> compare_exp_sim_obus;
/* Pattern 5 */
_pattern_count = 5;
#1000; /* 24000 */
_ibus=6’b001000;
#2000; /* 26000 */
_ibus=6’b001000;#1000; /* 27000 */
_exp_obus=4’b0000;
_msk_obus=4’b1111;
-> compare_exp_sim_obus;
/* Total time: 28 */
#1;
if (_compare_fail == 0) begin
$display(“No error between simulated and expected patterns\n”);
end
#1;
$finish;
end
endmodule