GithubHelp home page GithubHelp logo

Comments (1)

mateusz-holenko avatar mateusz-holenko commented on June 20, 2024

Hi @shareefj, thanks for the question.

Renode allows users to easily mock or partially model fragments of logic necessary to drive the simulation. In this context warning log messages about unhandled writes/reads do not always indicate errors. In many cases if your software behaves correctly, those can be treated strictly informational.

Having said that, if you do observe crashes or misbehavior related to a missing functionality, the model can/should be of course improved.

For easier debugging of such situations, using function names and peripheral access logging is very useful:

(machine-0) cpu LogFunctionNames true true
(machine-0) sysbus LogAllPeripheralsAccess true

Right now, the Zynq7000 SystemLevelControlRegisters model does not implement the UART_CLK_CTRL register which means that it will be read as 0.
If you need it to return a non-zero value I would suggest looking into the BuildRegisters method and adding the necessary logic there: https://github.com/renode/renode-infrastructure/blob/master/src/Emulator/Peripherals/Peripherals/Miscellaneous/Zynq7000_SystemLevelControlRegisters.cs#L37.

from renode.

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.