summer-summer / computerarchitecturelab Goto Github PK
View Code? Open in Web Editor NEWThis repository is used to release the Labs of Computer Architecture Course from USTC
License: MIT License
This repository is used to release the Labs of Computer Architecture Course from USTC
License: MIT License
比如每次读写完成后地址都会首先变为00000(我所观察到的波形图都是如此),如果lru存在bug的话可能会误判断这是一次对地址00000的访问,这样会导致这一行永远不会被替换,也就不会写回到mem中。所以感觉flush掉cache的内容,然后在查看mem的内容是否全部正确是有必要的。
根据 main_mem.sv
,这里读 mem.sv
需要两个周期
ComputerArchitectureLab/3_CacheLab/CacheSrcCode/main_mem.sv
Lines 89 to 94 in 8ad3104
根据 mem.sv
,一个周期就能读出结果
ComputerArchitectureLab/3_CacheLab/CacheSrcCode/mem.sv
Lines 14 to 18 in 8ad3104
我正在尝试使用 Verilator 对 CPU 进行仿真,定位到这里的代码使我的仿真结果与预期不符,能否请问此处是代码的 bug,还是 Vivado 会自动综合出合理的 BRAM?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.