ncsim -exit question

  • Thread starter unfrostedpoptart
  • Start date
U

unfrostedpoptart

Guest
I've got a Cadence NC question. I'm looking at a script that uses
ncsim -exit, which causes $stop in the Verilog testbench to exit the
simulator, as if it was a $finish. For various reasons, I'm trying to
replicate this with another script that uses ncverilog instead of the
3-step method. However, I don't see an equivalent to the -exit for
ncverilog.

Any help?

Thanks,

David
 
David,

The "ncverilog" command automatially creates an "hdl.var" file in the
INCA_libs directory. You may be able to get the functionality you're
looking for by adding an NCSIMOPTS line to the hdl.var file like...

NCSIMOPTS = -exit

I haven't tried it, but I think that when it runs the simulator, it
will run it with the -exit option.

David Walker

On Feb 2, 11:11 am, "unfrostedpoptart" <d...@therogoffs.com> wrote:
I've got a Cadence NC question. I'm looking at a script that uses
ncsim -exit, which causes $stop in the Verilog testbench to exit the
simulator, as if it was a $finish. For various reasons, I'm trying to
replicate this with another script that uses ncverilog instead of the
3-step method. However, I don't see an equivalent to the -exit for
ncverilog.

Any help?

Thanks,

David
 
Try:

ncverilog -f flist +ncsimargs+-exit

HTH
Ajeetha, CVC
www.noveldv.com

On Feb 3, 12:11 am, "unfrostedpoptart" <d...@therogoffs.com> wrote:
I've got a Cadence NC question. I'm looking at a script that uses
ncsim -exit, which causes $stop in the Verilog testbench to exit the
simulator, as if it was a $finish. For various reasons, I'm trying to
replicate this with another script that uses ncverilog instead of the
3-step method. However, I don't see an equivalent to the -exit for
ncverilog.

Any help?

Thanks,

David
 
On Feb 2, 7:16 pm, "Ajeetha (www.noveldv.com)" <ajee...@gmail.com>
wrote:
Try:

ncverilog -f flist +ncsimargs+-exit
Excellent - this worked!

Thanks,

David


On Feb 3, 12:11 am, "unfrostedpoptart" <d...@therogoffs.com> wrote:

I've got a Cadence NC question. I'm looking at a script that uses
ncsim -exit, which causes $stop in the Verilog testbench to exit the
simulator, as if it was a $finish. For various reasons, I'm trying to
replicate this with another script that uses ncverilog instead of the
3-step method. However, I don't see an equivalent to the -exit for
ncverilog.

Any help?

Thanks,

David
 

Welcome to EDABoard.com

Sponsor

Back
Top