// Copyright (c) 2021-2022 HotWright Inc.
// Created Fri Dec 16 08:16:22 2022

// This is a machine generated file do not edit!
// copy it to another file name and use that in a design
// this file will be over written


module parser_sm(
    input din0,
    input din1,
    input din2,
    input din3,
    input din4,
    input din5,
    input din6,
    input din7,
    input next_wrap_around,
    input valid,
    input clk,
    input hlt,
    input rst,
    input interrupt,
    input [4:0] interrupt_address,
    output read_data,
    output write_data,
    output next_data,
    output [4:0] debug_adr,
    output ready);


wire [2:0] states;
wire [9:0] variables;

assign read_data = states[0];
assign write_data = states[1];
assign next_data = states[2];


assign variables = { valid, next_wrap_around, din7, din6, din5, din4, din3, din2, din1, din0 };


hotstate #(
    .NUM_STATES (3),
    .NUM_VARS (10),
    .NUM_VARSEL (6),
    .NUM_VARSEL_BITS (3),
    .NUM_TIMERS (0),
    .NUM_ADR_BITS (5),
    .NUM_CTL_BITS (18),
    .NUM_WORDS (23),
    .STACK_DEPTH (0),
    .NUM_SWITCHES (0),
    .SWITCH_MEM_WORDS (0),
    .NUM_SWITCH_BITS (1),
    .SWITCH_OFFSET_BITS (0),
    .MCFILENAME ("parser_smdata.mem"),
    .VRFILENAME ("parser_vardata.mem"),
    .STANDALONE (1)
    ) parser_machine  (
    .variables(variables),
    .states(states),
    .interrupt(interrupt),
    .interrupt_address(interrupt_address),
    .hlt(hlt),
    .rst(rst),
    .ready(ready),
    .debug_adr(debug_adr),
    .clk(clk)
);


endmodule
