`timescale 1ns / 1ps
//////////////////////////////////////////////////////////////////////////////////
// Company: 
// Engineer: 
// 
// Create Date: 2022/03/20 16:21:20
// Design Name: 
// Module Name: scan2
// Project Name: 
// Target Devices: 
// Tool Versions: 
// Description: 
// 
// Dependencies: 
// 
// Revision:
// Revision 0.01 - File Created
// Additional Comments:
// 
//////////////////////////////////////////////////////////////////////////////////


module scan_2(
    output reg [3:0] ssd_ctl,
    output reg [3:0] ssd_in,
    input [3:0] in0,
    input [3:0] in1,
    input ssd_ctl_en
    );
    
    always@*
        case(ssd_ctl_en)
        1'b0:
            begin
            ssd_ctl = 4'b0111;
            ssd_in = in0;
            end
        default:
            begin
            ssd_ctl = 4'b1011;
            ssd_in = in1;
            end
        endcase

endmodule
