data/full_repos/permissive/119715647/sim/gameFunct/BlockShiftTop.v
1: b"%Error-ASSIGNIN: data/full_repos/permissive/119715647/sim/gameFunct/BlockShiftTop.v:15: Assigning to input/const variable: 'blockLoc'\n  assign blockLoc = tempBlock;\n         ^~~~~~~~\n%Error: Exiting due to 1 error(s)\n        ... See the manual and https://verilator.org for more assistance.\n"
module BlockShiftTop(blockLoc, adjClkPulse, newBlockLoc);
  input [7:0] blockLoc;
  input adjClkPulse;
  output [7:0] newBlockLoc;

  reg [7:0] tempBlock;

  BlockShift BS1(blockLoc, adjClkPulse, newBlockLoc);
 

  always @ (newBlockLoc) begin
    tempBlock = newBlockLoc;
  end

  assign blockLoc = tempBlock;
endmodule
module BlockShiftTop(blockLoc, adjClkPulse, newBlockLoc);

  input [7:0] blockLoc;
  input adjClkPulse;
  output [7:0] newBlockLoc;

  reg [7:0] tempBlock;

  BlockShift BS1(blockLoc, adjClkPulse, newBlockLoc);
 

  always @ (newBlockLoc) begin
    tempBlock = newBlockLoc;
  end

  assign blockLoc = tempBlock;
endmodule