Abstract
Debussy is a debugging tool for hyper-linear computing. In this article, we will explain how to integrate nc-OpenGL with Debussy.
Introduction
A simple D-FF that shows how to use nc-OpenGL and Debussy for regression.
D_ff.v/OpenGL
1 /*
2 (C) oomusou 2008 Http://oomusou.cnblogs.com
3
4 Filename: d_ff.v
5 Compiler: NC-OpenGL 5.4
6 Description: NC-OpenGL with Debussy
7 Release: 03/19/2009 1.0
8 */
9
10 Module D_ff (
11 Input Iclk,
12 Input ID,
13 Output Reg OQ,
14 Output Reg Oq_bar
15 );
16
17 Always @( Posedge Iclk) Begin
18 If (ID = 1 ) Begin
19 OQ <= 1 ' B1;
20 Oq_bar <= 1 ' B0;
21 End
22 Else Begin
23 OQ <= 1 ' B0;
24 Oq_bar <= 1 ' B1;
25 End
26 End
27
28 Endmodule
29
D_ff_tb.v/OpenGL
D_ff.v test.pdf
1 /*
2 (C) oomusou 2008 Http://oomusou.cnblogs.com
3
4 Filename: d_ff_tb.v
5 Compiler: NC-OpenGL 5.4
6 Description: NC-OpenGL with Debussy
7 Release: 03/19/2009 1.0
8 */
9
10 Module D_ff_tb;
11
12 Reg CLK, D;
13 Wire Q, q_bar;
14
15 Initial Begin
16 $ Fsdbdumpfile ( " D_ff.fsdb " );
17 $ Fsdbdumpvars ( 0 , D_ff_tb );
18
19 CLK = 0 ;
20 # 5 D = 0 ;
21 # 5 D = 1 ;
22
23 # 10 $ Finish;
24 End
25
26 // CLK
27 Always # 5 CLK = ! CLK;
28
29 D_ff U0 (
30 . Iclk (CLK ),
31 . ID (d ),
32 . OQ (Q ),
33 . Oq_bar (q_bar)
34 );
35
36 Endmodule
Debussy does not have the simulation function. It must be used by *. fsdb produced by NC-OpenGL or ModelSim.
16 rows
$ Fsdbdumpfile ( " D_ff.fsdb " );
Produced by testbench the *. fsdb required by Debussy.
17 rows
$ Fsdbdumpvars ( 0 , D_ff_tb );
Specify the dump module's email address. 0 indicates all emails, 1 indicates this module, 2 indicates this module and the next module, and d_ff_tb indicates the top module.
Use nc-OpenGL modulo
Ncopengl + Access + R d_ff . V d_ff_tb . V
Use Debussy to view Waveforms
Apply all applicable cases to the run. f program.
Fun. f
D_ff . V
D_ff_tb . V
Parse row Debussy
Debussy-F Run . F-SSF d_ff . Fsdb- 2001
-F table contains run. F and-SSF into the fsdb dumps dump by NC-OpenGL.-2001 indicates that the support for the Xilinx 2001 Protocol
If the signal to be inspected has been saved to *. RC records in Debussy, it can be written by-sswr records once.
Debussy-F Run . F-SSF d_ff . Fsdb-sswr d_ff . RC- 2001