seblovett / VLSI

VLSI design project
0 stars 1 forks source link

Op1 Mux #70

Closed seblovett closed 10 years ago

seblovett commented 10 years ago

@ashleyjr You have the following lines in datapath.sv (I didn't put it here, so assuming it was you!)

always_comb begin : OpMux                 // Control ALU data input
case(Op1Sel)                           // 3 input mux                                 
  Op1Rd1   :  Op1 = Rd1; 
   Op1Pc    :  Op1 = Pc;      
   Op1Sp    :  Op1 = Sp;          
   default  :  Op1 = Rd1;  
endcase  

However, Sp is never assigned to. Can this be removed? I'm doing the opcode muxes in the datapath and need to know!

ashleyjr commented 10 years ago

yep