Can we have some ideas on the datapath design?
You will need an MAR (memory address register) and MDR (memory data register). You will also need an ALU to do the address arithmetic. MAR is a register that is internal to your datapath which is keeping the current memory address the controller is accessing for read or write. MDR is an internal register as well for reading/writing a word of data from/to the memory at the address specified in MAR. These registers are in addition to the processor visible register contr_mem_address that is described in the handout. In your simulation, where you have to do a memory read operation you will do mem_READ(MAR, &MDR); /* where MDR is your controller datapath resource */ and for memory write you will do mem_WRITE(MAR, MDR); In your datapath, you will need a “buffer” to store the data that has to be either written to the disk or that is read from the disk. The size of this buffer will be one-sector worth of data (i.e. 128 bytes). In the datapath you can represent the buffer as a register file to
Related Questions
- How will the designs be selected? May I submit design ideas (graphics) for the design of the 50 States Commemorative Coin Program?
- Does Dan come up with all the design ideas for the furniture on the set or if is he told by the producers what to build?
- How Do You Get Officially Licensed NASCAR Apparel?