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.

I have a question about # delay!!

Status
Not open for further replies.

Daniel M.E. Lee

Newbie level 5
Joined
Mar 19, 2008
Messages
8
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,326
While I simulate my design, I meet some trouble.

In my RTL code(verilog), there is # delay statement like as below.

assign #1 DMAReady = iDMAReady;

At wave viewer, DMAReady signal has unknown value.

Did you have experience about that, friends?
Does it related tool's option?

FYI,
I'm using
Verilog-HDL as RTL-code,
ncverilog as complier,
and Verdi as simulator.

Plz help me!!

Thank you for reading my post!!
 

pls delete your INC* directory in your simulation directory, then run again.

It is not your code fault. It is just a bug for NC-verilog. sometime you must delete the old files and directory generated by previous simulation.


David
 

I found the reason why # delay does not work.

If we use # delay, we states time like # 1, # 30 and etc.
But unless we did not describe timescale, ncverilog cannot decide how many times it delay. So we must describe like as below.

`timescale 1ns/10ps or other unit

Anyway, thank you for your help, David. :)
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top