Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Delay probem in Quartus

Status
Not open for further replies.

sabkumar.r

Junior Member level 2
Junior Member level 2
Joined
May 17, 2012
Messages
21
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Visit site
Activity points
1,445
I am using Quartus II version 9.1. I simulated the following code

`timescale 1 ns / 1 ps
module clk_gen(output reg clk);
initial
clk=0;
always
#2 clk = ~clk;
endmodule

I was expecting a clock waveform of period 4ns. But to my surprise, the waveform I got was always high. Can someone please explain?
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top