Skip to content

Segmentation fault (core dumped) when performing PnR #89

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
Arthuuuuroo opened this issue Jan 16, 2025 · 0 comments
Open

Segmentation fault (core dumped) when performing PnR #89

Arthuuuuroo opened this issue Jan 16, 2025 · 0 comments

Comments

@Arthuuuuroo
Copy link

Hello,

I was trying to do PnR but I'm facing a segmentation fault.

I'm using this command: ./nextpnr-xilinx/nextpnr-xilinx -l sim_dir/nextpnr.log -v --debug --no-tmdriv --freq 12 --ignore-rel-clk --ignore-loops --chipdb flow_puf/xc7s50csga324-1.bin --xdc flow_puf/ro_puf_new.xdc --json sim_dir/ro_puf_s7.json --write sim_dir/ro_puf_s7_routed.json --fasm sim_dir/ro_puf_7.fasm --router router1

I got this error:

"Clock 'uart_rx_inst.clk' can be driven by:
$iopadmap$ro_puf_s7.clk$intcell$IBUF.OUT delay 0.200ns
Segmentation fault (core dumped)"

Based on the stack trace, the program encountered a segmentation fault (SIGSEGV) in the function nextpnr_xilinx::Arch::getPortTimingClass, specifically when attempting to access a variable or object at an invalid memory address.

The problematic line is indicated as being in the file arch.cc at line 1228. Relevant details from the stack trace are:

0x0000aaaaaabc86fc in nextpnr_xilinx::Arch::getPortTimingClass (this=0xaaaaaad46f00,
cell=0xaaaaae0b2910,
port=<error reading variable: Cannot access memory at address 0xffffff7fffe8>,
clockInfoCount=@0xffffff800068: 0) at /home/adrien/nextpnr-xilinx/xilinx/arch.cc:1228

Could anyone provide insights into what might be causing this issue or suggest steps to resolve it?

Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant