?? comments.v
字號(hào):
module CommentaryDemo;
//
// You can include commentary in your testbench waveform output to
// facilitate interpretation of the timing diagram.
//
// NOTE: In Silos, you need to set the radix of 'Comment' to 'ASCII',
// otherwise you will just see a long hexadecimal number.
//
// Set the maximum number of characters in the comment string
parameter MaxChars = 16;
// Create the "comment" identifier (must declare the total
// number of bits... eight bits per character)
reg [8*MaxChars-1 : 0] Comment;
// Declare a stimulus signal
reg a;
initial begin
// Set comment to a string constant (enclosed in double quotes)
// each time you want the comment to change in the waveform display
Comment = "Initialize";
a = 0;
#30 Comment = "Next Step";
a = 1;
#30 Comment = "Finish Up";
a = 0;
#50 $finish;
end
endmodule
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -