CPE 315
Summer 2006
Professor Stearns
Lab #5 FAQ
- Can I create two MMUs, one for each memory?
No. You must design one MMU and instantiate it twice.
This design is much better than trying to work with one MMU object.
- Do we have to worry about exceptions?
No. Assume the program generates no exception; it doesn't.
- How big is the bus that leaves the MMU?
These must be exactly:
8 bits for the data memory.
9 bits for the instruction memory.
Note that the Ram and Rom are both word-addressable devices; they
expect a word (not a byte) address.
e.g. if you put a 4 on the address bus, it accesses MIPS address 16.
- I'm confused; there are two MMUs and one page table?
Look at the memory allocation tables at the bottom of the lab;
the page frame allocations for pages 0 and 14 are identical.
Therefore you can use the same page table; this isn't realistic but
greatly simplifies the lab.
- What happened to pages 1 and 2 in the data address space?
Look at the code; the only data pages are 0 and 14.
Last updated 7/31/06