|
Hi 6 G: z" {' A. V; @) x$ Y$ B3 O
8 X# ~0 d( M2 y8 i
My clock generator is as follow! ~* L( s1 O% x" Y' h2 t: X* L) Z
* a5 m6 A- S$ M( a: ]/ g
`timescale 1ns/10ps6 ] \! ^( U" U: L
8 _, U' a+ b% W`define period 15. R/ N+ Y" G2 n" a) n, l: U7 n7 l) z
, O/ n% Q, y6 x7 v9 L* T" L
module test();( E! }; M7 i* G2 n& W4 A
reg clk;
0 N' ?# m* d9 f0 j! ~
5 w# \6 T: a9 H; p( J( ]! n" _initial begin
; c, c% o* o( b0 \9 M( }3 ?clk = 0;' w& ~% |" v, @
forever #(`period/2) clk = ~clk;
- {0 F3 ~4 y) |$ P6 Zend* B8 s/ w9 A9 I) v+ v& P
0 \% }7 U0 v) n5 z5 e! \8 E3 a4 W9 g
3 u9 a7 I% L' j8 ^$ vBut i check the waveform the clock period is always 14ns.
$ N: s2 T( c/ C/ M: q% F. f' i" K+ K1 Z
Could anyone help me the question ?
: X o- z6 F) q$ j% K& V
# B# {! D( K: I6 \# g8 T/ H1 U2 rThanks
$ ?0 `9 y3 [+ h0 U1 B( w9 F# M* n8 Y2 Y. E. [5 r6 K0 r
endmodule |
|