GithubHelp home page GithubHelp logo

computer-architecture-project02's People

Contributors

zhangxinqian avatar

Stargazers

 avatar

Watchers

 avatar  avatar

computer-architecture-project02's Issues

读project2代码遇到的困惑

学长好,今年修了计算机体系结构这门课,在project2时遇到了一些困难,然后就搜到了你的代码,研读了你的代码之后,收获很多,但是有一个关键的地方还是不大理解,希望学长能够解答一下。
在代码390-402这一段,是使用了标志位来标志每个寄存器当前的读写情况,
self.__reg_r = [
4, 4, 4, 4, 4, 4, 4, 4,
4, 4, 4, 4, 4, 4, 4, 4,
4, 4, 4, 4, 4, 4, 4, 4,
4, 4, 4, 4, 4, 4, 4, 4
]
但是为什么要用4呢(我的理解是4与pre_issue的大小有关,正好也是4),但是这个是怎么避免出现WAR, WAW, RAWhazard的呢?
期待你的回答,谢谢~

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.