Graphical-Micro-Architecture-Simulator icon indicating copy to clipboard operation
Graphical-Micro-Architecture-Simulator copied to clipboard

wrong value of MemWrite signal?

Open aaarbk opened this issue 1 year ago • 1 comments

I assembled and executed a program with the lone instruction STUR X1, [X2, #20]

In the graphical output, the MemRead signal is 1 and the MemWrite is 0. Shouldn't MemWrite be 1 here?

aaarbk avatar Mar 29 '24 19:03 aaarbk

Shouldn't MemWrite be 1 here?

Yes @aaarbk , this is a bug in the ControlUnitConfiguration and the SingleCycleVisualization as you can see from this commit I just made to my forked version. This repository is basically abandoned, if you wish to use a fixed and more complete version of this simulator you can check out my fork here: https://github.com/simdeistud/LEGv8-Simulator and you can download a working release or you can directly try it online.

simdeistud avatar Apr 05 '24 17:04 simdeistud