• 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. Custom IC Design
  3. Segmentation fault upon VerilogA compilation with an if...

Stats

  • Locked Locked
  • Replies 4
  • Subscribers 125
  • Views 8966
  • 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

Segmentation fault upon VerilogA compilation with an if condition

AAbdelRahman
AAbdelRahman over 3 years ago

Hi,

I am currently using ICADVM20.1-64b.500.24 and SPECTRE21.1.0.334.isr6 64bit. I already passed checksysconf for those and other cadence tools I currently have. My OS is CentOS 7. The server has 1TB of RAM, 64 cores (128 threads), and plenty of storage space. I am already using "unlimit stacksize"

When I compile the simple attached verilogA file, it gives away a segmentation fault. This is during compilation and not even simulations.

Fullscreen new_res_estim.txt Download
// VerilogA for behavioral_blocks, new_res_estim, veriloga

`include "constants.vams"
`include "disciplines.vams"

module new_res_estim(in, sk, out);

input in, sk;
output out;

electrical in, sk, out;

parameter integer freeze = 0 from [0:1];

if (freeze == 0)
analog @(initial_step) $display("hello_world");

endmodule

When I change the condition to "freeze ==1" which is the opposite of what I want, it compiles successfully. When I change it "freeze!=1" it fails again.

Going back to an older version seems to fix the problem. For example, using ICADVM20.1 ISR21 and SPECTRE21.1 ISR1 compilation is successful.

I have been facing other "random segment faults" during simulations and I don't know if those things are somehow related.

Best regards.

Ahmed

  • Cancel
  • Andrew Beckett
    Andrew Beckett over 3 years ago

    Ahmed,

    I don't see this problem - it compiles successfully with me. I suggest you contact customer support.

    Andrew

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • delgsy
    delgsy over 3 years ago

    curious with hello_world in verilogA so I tried to compile it.
    well, just want to say, It compiles ok on my pc.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • AAbdelRahman
    AAbdelRahman over 3 years ago in reply to Andrew Beckett

    Hi Andrew,

    Thanks for your reply.

    I will do that.

    Best regards,

    Ahmed

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • AAbdelRahman
    AAbdelRahman over 3 years ago in reply to delgsy

    Hi Delgsy,

    Thanks for letting me know.

    Best regards,

    Ahmed

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel

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