data/full_repos/permissive/160437780/Source/dirMovement.v
 line:7: before: "="
data/verilator_xmls/1175e41c-7c04-47fa-b47f-f2e67d9883f6.xml
module dirMovement(
input CLK100MHZ,
input [2:0] movementCommand,
output reg [3:0] motor = 4'b1111 
    );
    always @(posedge CLK100MHZ) begin
        case(movementCommand) 
            3'b000: motor <= 4'b1001;
            3'b001: motor <= 4'b0110;
            3'b010: motor <= 4'b1111;
            3'b011: motor <= 4'b0000;
            3'b100: motor <= 4'b0101;
            3'b101: motor <= 4'b1010;
            3'b110: motor <= motor;
            3'b111: motor <= motor;
            default: motor <= 4'b1111;
        endcase
    end
 endmodule
module dirMovement(
input CLK100MHZ,
input [2:0] movementCommand,
output reg [3:0] motor = 4'b1111 
    );

    always @(posedge CLK100MHZ) begin
        case(movementCommand) 
            3'b000: motor <= 4'b1001;
            3'b001: motor <= 4'b0110;
            3'b010: motor <= 4'b1111;
            3'b011: motor <= 4'b0000;
            3'b100: motor <= 4'b0101;
            3'b101: motor <= 4'b1010;
            3'b110: motor <= motor;
            3'b111: motor <= motor;
            default: motor <= 4'b1111;
        endcase
    end
 endmodule