请教
module test(gps,ocxo_in,ocxo_out);input ocxo_in;
input gps;
output ocxo_out;
reg gps_1;
wire gps_2;
always @(posedge ocxo_in)
begin
gps_1 <= gps;
end
assign gps_2 = (gps_1 ^ gps) && gps;
assign ocxo_out = gps_2 || ocxo_in;
endmodule
上面这段代码是什么作用呀。
高手赐教 按着代码画个波形图就知道了。。。 gps_2是测gps下降沿的,ocxo_out是测gps下降沿或ocxo_in上升沿的
页:
[1]