Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

VM2 byte write without RMW #25

Open
xolod79 opened this issue Aug 29, 2024 · 1 comment
Open

VM2 byte write without RMW #25

xolod79 opened this issue Aug 29, 2024 · 1 comment

Comments

@xolod79
Copy link

xolod79 commented Aug 29, 2024

VM2 byte write without RMW.
In wb_plm.v simple change:

assign p[26] = cmp(rq[15:0], 16'b0001xxxxxxxxxxxx);
to
assign p[26] = cmp(rq[15:0], 16'bx001xxxxxxxxxxxx); // WTBT no RMW

Probably it is worth making a parameter during assembly for selection. Work is checked on DVK in RT11 and Soyuz Neon.
Сorrection author Alexey Kisly.
VM2-WTBT-noRMW

@xolod79 xolod79 changed the title VM2 byte write without RMB VM2 byte write without RMW Aug 29, 2024
@1801BM1
Copy link
Owner

1801BM1 commented Aug 29, 2024

How "movb" works on original LSI-11:
image

How "movb" works on M4:
image

How "movb" works on F-11:
image

Why should we change this behavior ? It seems it was intended to have the same as DEC did.
Single write "movb also might have side effects on some I/O.
Should this change be merged? Not sure, because of it impacts original DEC compatibility. Keeping the latter was the objective of BM2 developers.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants