data/full_repos/permissive/176151176/pellet_shaper.v
data/verilator_xmls/dbdd2e59-43a0-4591-89a2-31385c176dcb.xml
module pellet_shaper(clock, reset_n, shape);

    input clock, reset_n;
    output [24:0] shape;

    reg [24:0] next_ani;
	 
	 localparam  ANI_0 = 25'b0000000110011100110000000,
                ANI_1 = 25'b0000001100011100011000000;
	 
	 initial next_ani <= ANI_0;
	 
    assign shape = next_ani;

    always @(posedge clock) begin
        if(!reset_n) begin
            next_ani <= ANI_0;
        end
        else begin
            next_ani <= next_ani == ANI_0 ? ANI_1 : ANI_0;
        end
    end
endmodule
module pellet_shaper(clock, reset_n, shape);


    input clock, reset_n;
    output [24:0] shape;

    reg [24:0] next_ani;
	 
	 localparam  ANI_0 = 25'b0000000110011100110000000,
                ANI_1 = 25'b0000001100011100011000000;
	 
	 initial next_ani <= ANI_0;
	 
    assign shape = next_ani;

    always @(posedge clock) begin
        if(!reset_n) begin
            next_ani <= ANI_0;
        end
        else begin
            next_ani <= next_ani == ANI_0 ? ANI_1 : ANI_0;
        end
    end
endmodule