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

simulate single x8 DRAM #32

Open
klaru opened this issue Aug 30, 2023 · 3 comments
Open

simulate single x8 DRAM #32

klaru opened this issue Aug 30, 2023 · 3 comments

Comments

@klaru
Copy link

klaru commented Aug 30, 2023

How can I simulate a channel with a single x8 DRAM?

I can simulate a channel with four or two DRAMs by changing the "nbrOfDevices" parameter in the memspec .json file AND simultaneously change the "BYTE_BIT" addresses by removing address 2 (for four x8 devices) or by removing addresses 1 and 2 (for two x8 devices).
However, this doesn't work for "nbrOfDevices"=1 since when I remove all "BYTE_BITS" I get a segmentation fault.

Also, how could I simulate a channel with a single x4 DRAM (which is less than a byte wide)?

@lsteiner-tukl
Copy link
Contributor

Thank you for the hint. Here is a patch that fixes this problem. However, simulating only one x4 device is not yet possible.
fix_single_device.patch

@klaru
Copy link
Author

klaru commented Aug 30, 2023 via email

@lsteiner-tukl
Copy link
Contributor

One problem is that our address mappings work on byte granularity. Are you planning to run simulations with enabled storage? Because from a behavioral perspective it makes no difference whether you only simulate a single device or a whole DIMM.

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