📄 clock.v
字号:
// This model of a structural clock simulates very fast.module clock(clk);output clk; reg start;//clock oscillator, period = 20 time units nand #10 (clk, clk, start); // changes to start, clk are delayed 10 time units initial //initialize the clock oscillator begin start = 0; // After 10 time units, clk will equal 1. #10 start = 1; // After another 10, clk will equal 0. endendmodule
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -