XOR & NOR instructions for 8 bit mips

Status
Not open for further replies.

deepsetan

Advanced Member level 4
Joined
May 8, 2013
Messages
119
Helped
6
Reputation
12
Reaction score
5
Trophy points
1,298
Location
Malaysia
Activity points
2,137
Hi guys,

1. I'm simulating 8 bit mips processor from CMOS VLSI DESIGN: 4th Edition. This is results that I obtained for Astro and VCS using Synopsys. I've no problem with Astro but for VCS simulation, at the first instruction, the result is ok but when it proceeds to second instruction, there is something which I not quite understand. Why the memdata[7:0] reads 05 and 40 (yellow circle) and where it does come from?

2. I know that XOR and NOR is R-type instruction and how can I make this mips able to run the instructions? I already change some of the codes in the controller and datapath but there was an error.

Astro


VCS


DAT.file
 

Attachments

  • instr_1.png
    69.6 KB · Views: 93
  • instr_2.png
    70.1 KB · Views: 82
  • instruction.png
    140.6 KB · Views: 89
  • mips.rar
    4.1 KB · Views: 74

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…