Giter VIP home page Giter VIP logo

Comments (4)

ktbarrett avatar ktbarrett commented on May 31, 2024 1

I think the easiest solution is to run make clean before running verilator again. This seems to be corruption due to linking stale objects.

from cocotb.

ttDuong282 avatar ttDuong282 commented on May 31, 2024

@ktbarrett Thanks for your advice! However, I tried "make clean" before "make" but it still didn't work. The notice "corrupted size vs prev size" was still there!

from cocotb.

ktbarrett avatar ktbarrett commented on May 31, 2024

Another possible cause is memory access issues like use after free, writing past the end of a malloc'd array clobbering the metadta of the next node, double frees... all to say that either cocotb or verilator are doing some bad stuff. I'm not sure which version of verilator you are using, but try updating it to the most recent release. If taht doesnt help, debugging with valgrind will be necessary.

from cocotb.

ttDuong282 avatar ttDuong282 commented on May 31, 2024

@ktbarrett I haven't resolved this error since I read your response. My Verilator version is 5.019 rev v5.018-58-g7167d4bdc. I think it's okay. But when considering debugging with valgrind, I found that there's nothings can help me solve this. I think the problem is the makefile which have the configured size because when I try running a slice of my design (it includes 8 slides), it really works. But I can't find any source describing about the supported size or something like that. :(

from cocotb.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.