• Skip to main content
  • Skip to search
  • Skip to footer
Cadence Home
  • This search text may be transcribed, used, stored, or accessed by our third-party service providers per our Cookie Policy and Privacy Policy.

  1. Community Forums
  2. Functional Verification
  3. Unable to simulate Verilog Testbench - 'lic_error-18'

Stats

  • Locked Locked
  • Replies 5
  • Subscribers 65
  • Views 5573
  • Members are here 0
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Unable to simulate Verilog Testbench - 'lic_error-18'

anmos
anmos over 7 years ago

Hi,

I am trying to simulate a simple AND gate written in Verilog, using NCLaunch.
The code for my gate is the following (andgate.v):

`timescale 1 ns / 1 ns
/* A simple AND gate
File: andgate.v              */

module andgate (a, b, y);
input a, b;
output y;

assign y = a & b;

endmodule

The code for my test bench is the following (andgate_tb.v):


`timescale 1 ns / 1 ns
/* testbench for AND gate
File: andgate_tb.v */

module andgate_tb;
wire t_y;
reg t_a, t_b;

andgate my_gate( .a(t_a), .b(t_b), .y(t_y) );
initial
begin

    $monitor(t_a, t_b, t_y);

    t_a = 1'b0;
    t_b = 1'b0;

    #5
    t_a = 1'b0;
    t_b = 1'b1;

    #5
    t_a = 1'b1;
    t_b = 1'b0;

    #5
    t_a = 1'b1;
    t_b = 1'b1;

end

endmodule

In NCLaunch, I manage to compile both the andgate.v and andgate_tb.v files without errors (using ncvlog). I also use the elaborator on my top file which is andgate_tb, in order to create the necessary snapshot.

Unfortunately when I choose the created snapshot and press the "Launch Simulator with current selection" button, the simulator fails to be invoked giving me the following error:

"ncsim: *F,NOLICN: Unable to checkout license for the simulation. Use ncsim -MESSAGES for more information. (flag - 2) 'lic_error -18'."

When I execute the "ncsim -MESSAGES" command, I get the following information:

" ncsim: *F,MISSIM: Missing simulation name."

Is this a license problem, meaning that I don't have the necessary licanse to run the simulator? This is strange as I am perfectly able to open without any problem the SimVision simulator.

Can you please provide me some help on how to simulate my test bench?

Thank you in advance for your feedback and help!

P.S.
I am following the guidelines in the NCLaunch User Guide (NCLaunch User Guide
Product Version 14.1 June 2014).
I tried the same with the example tutorials that are provided by Cadence, but still I get the same error.

  • Cancel
Parents
  • anmos
    anmos over 7 years ago

    I forgot to mention that the version that I am using for all the above tools (Simvision, NCLaunch, NCVerilog, NCSim) is the 15.20-s052 64-bit.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Reply
  • anmos
    anmos over 7 years ago

    I forgot to mention that the version that I am using for all the above tools (Simvision, NCLaunch, NCVerilog, NCSim) is the 15.20-s052 64-bit.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Children
No Data

Community Guidelines

The Cadence Design Communities support Cadence users and technologists interacting to exchange ideas, news, technical information, and best practices to solve problems and get the most from Cadence technology. The community is open to everyone, and to provide the most value, we require participants to follow our Community Guidelines that facilitate a quality exchange of ideas and information. By accessing, contributing, using or downloading any materials from the site, you agree to be bound by the full Community Guidelines.

© 2025 Cadence Design Systems, Inc. All Rights Reserved.

  • Terms of Use
  • Privacy
  • Cookie Policy
  • US Trademarks
  • Do Not Sell or Share My Personal Information