Presentation is loading. Please wait.

Presentation is loading. Please wait.

TEAL - TEst Abstraction Layer A C++ class library using VPI.

Similar presentations


Presentation on theme: "TEAL - TEst Abstraction Layer A C++ class library using VPI."— Presentation transcript:

1 TEAL - TEst Abstraction Layer A C++ class library using VPI

2 ---Preliminary---© 2004 Mike Mintz2 Teal Testbench DUT CheckerGenerator BFM Uart CheckerGenerator BFM Ethernet Test Parameters Results File

3 ---Preliminary---© 2004 Mike Mintz3 Comparison System Verilog: SVA Assertions Single Inheritrance Specman: Coverage Constraint Solver AOP Temporal Expressions When Clause Teal: Open Source, Free Full power of C/C++ Backdoor Memory Access Dictionary Stable Random Four State Logic Threads Logging

4 ---Preliminary---© 2004 Mike Mintz4 Basics reg a_value (0x22) reg b_value (0x44, 32) + - < > == && || b_value(9,1); vreg address (“top.module_1.addr”); log << “address is: “ << address << endm; address = a_value << 2; address = 0x5151; Module top module_1 reg [37:0] addr;

5 ---Preliminary---© 2004 Mike Mintz5 Threads at (posedge (clock) || negedge (reset_n)); · · · vreg address (“top.module_1.addr”); vreg data (“top.module_1.data”); · · · · · · User Main function Module top module_1 reg [37:0] addr; reg [31:0] data; wire reset_n; wire clock; initial $teal_main Start Simulation

6 ---Preliminary---© 2004 Mike Mintz6 Real Threads Module top DMA CPU IO Hub DS3 Utopia dma_checker.start (); Checker Generator BFM Checker GeneratorBFM Checker Backdoor Memory C/C++ code DS3_top.start (); bfm_top.start ();

7 ---Preliminary---© 2004 Mike Mintz7 Test Parameters Checker Generator BFM Checker GeneratorBFM Checker Backdoor Memory C/C++ code force_error 0 dma_enable 1 baud_rate 115200 921600 ds3_top_0_num_ds3 23 basic_test.txt calea_probability 75 include basic_test.txt //override force_error force_error 1 directed_test.txt

8 ---Preliminary---© 2004 Mike Mintz8 Logging [0 ns] Note: Starting thread user_main [10 ns] [test_1_main] Waiting for reset_n. [12387 ns] [test_1_main] reset_n occurred. Starting up... [99899 ns] Error: unexpected interrupt vector: 0x51 [180000 ns] Test completed and passed. basic_results.txt bfm_1 vlog bfm_2 vlog Vout Checker vlog Stimulus vlog main vlog bfm_1 vlog

9 ---Preliminary---© 2004 Mike Mintz9 Summary Free Open source C/C++ based logging Test Parameters 4 state logic Stable Random Threads


Download ppt "TEAL - TEst Abstraction Layer A C++ class library using VPI."

Similar presentations


Ads by Google