日韩av黄I国产麻豆传媒I国产91av视频在线观看I日韩一区二区三区在线看I美女国产在线I麻豆视频国产在线观看I成人黄色短片

歡迎訪問(wèn) 生活随笔!

生活随笔

當(dāng)前位置: 首頁(yè) >

HLS:@E Simulation failed SIGSEGV

發(fā)布時(shí)間:2023/12/19 40 豆豆
生活随笔 收集整理的這篇文章主要介紹了 HLS:@E Simulation failed SIGSEGV 小編覺得挺不錯(cuò)的,現(xiàn)在分享給大家,幫大家做個(gè)參考.

HLS:@E Simulation failed: SIGSEGV.

前言

在HLS工具中使用C仿真時(shí)報(bào)如下錯(cuò)誤,經(jīng)定位問(wèn)題后發(fā)現(xiàn)有數(shù)組開辟方式的問(wèn)題。

錯(cuò)誤描述

@E Simulation failed: SIGSEGV. ERROR: [SIM 211-100] CSim failed with errors.

錯(cuò)誤原因

官方解釋
This signal was generated when a program tries to read or write outside the memory that is allocated for it, or to write memory that can only be read.
Possible cause of this problem may be: 1) the depth setting of pointer type argument is much larger than it needed;2)insufficient depth of array argument; 3)null pointer etc.

2021.01.22更新

根據(jù)自己這幾天的調(diào)試經(jīng)驗(yàn),出現(xiàn)這種問(wèn)題一般是在HLS仿真中出現(xiàn)數(shù)組越界訪問(wèn)的情況。所以出現(xiàn)這種問(wèn)題時(shí)需檢查數(shù)組開辟的空間大小是否合適尋址過(guò)程是否越界指針是否為空

總結(jié)

以上是生活随笔為你收集整理的HLS:@E Simulation failed SIGSEGV的全部?jī)?nèi)容,希望文章能夠幫你解決所遇到的問(wèn)題。

如果覺得生活随笔網(wǎng)站內(nèi)容還不錯(cuò),歡迎將生活随笔推薦給好友。