library verilog;
use verilog.vl_types.all;
entity MyAPBFabricMaster is
    generic(
        APB_AWIDTH      : integer := 32;
        APB_DWIDTH      : integer := 32;
        IDLE            : vl_logic_vector(3 downto 0) := (Hi0, Hi0, Hi0, Hi0);
        DISABLE_TRIG1   : vl_logic_vector(3 downto 0) := (Hi0, Hi0, Hi0, Hi1);
        DISABLE_TRIG2   : vl_logic_vector(3 downto 0) := (Hi0, Hi0, Hi1, Hi0);
        ST_ENABLE_PWM   : vl_logic_vector(3 downto 0) := (Hi0, Hi0, Hi1, Hi1);
        WAIT_FABLOGIC   : vl_logic_vector(3 downto 0) := (Hi0, Hi1, Hi0, Hi0);
        WRITE_PC0_1     : vl_logic_vector(3 downto 0) := (Hi0, Hi1, Hi0, Hi1);
        WRITE_PC0_2     : vl_logic_vector(3 downto 0) := (Hi0, Hi1, Hi1, Hi0);
        WRITE_PC0_ENABLE1: vl_logic_vector(3 downto 0) := (Hi0, Hi1, Hi1, Hi1);
        WRITE_PC0_ENABLE2: vl_logic_vector(3 downto 0) := (Hi1, Hi0, Hi0, Hi0);
        PPE_FLAGS0_IRQ_CLR_ADDR: vl_logic_vector(31 downto 0) := (Hi0, Hi1, Hi0, Hi0, Hi0, Hi0, Hi0, Hi0, Hi0, Hi0, Hi0, Hi0, Hi0, Hi0, Hi1, Hi0, Hi0, Hi0, Hi0, Hi1, Hi0, Hi0, Hi1, Hi0, Hi0, Hi0, Hi1, Hi0, Hi1, Hi1, Hi0, Hi0);
        PPE_FLAGS0_IRQ_CLR_WRITEDATA: vl_logic_vector(31 downto 0) := (Hi0, Hi0, Hi0, Hi0, Hi0, Hi0, Hi0, Hi0, Hi0, Hi0, Hi0, Hi0, Hi0, Hi0, Hi0, Hi0, Hi1, Hi0, Hi0, Hi0, Hi0, Hi0, Hi0, Hi0, Hi0, Hi0, Hi0, Hi0, Hi0, Hi0, Hi0, Hi0);
        SSE_PC0_LO_ADDR : vl_logic_vector(31 downto 0) := (Hi0, Hi1, Hi0, Hi0, Hi0, Hi0, Hi0, Hi0, Hi0, Hi0, Hi0, Hi0, Hi0, Hi0, Hi1, Hi0, Hi0, Hi0, Hi0, Hi0, Hi0, Hi0, Hi0, Hi0, Hi0, Hi1, Hi0, Hi0, Hi0, Hi0, Hi0, Hi0);
        SSE_PC0_LO_DATA : vl_logic_vector(31 downto 0) := (Hi0, Hi0, Hi0, Hi0, Hi0, Hi0, Hi0, Hi0, Hi0, Hi0, Hi0, Hi0, Hi0, Hi0, Hi0, Hi0, Hi0, Hi0, Hi0, Hi0, Hi0, Hi0, Hi0, Hi0, Hi0, Hi0, Hi0, Hi0, Hi0, Hi0, Hi1, Hi0);
        SSE_PC0_CTRL_ADDR: vl_logic_vector(31 downto 0) := (Hi0, Hi1, Hi0, Hi0, Hi0, Hi0, Hi0, Hi0, Hi0, Hi0, Hi0, Hi0, Hi0, Hi0, Hi1, Hi0, Hi0, Hi0, Hi0, Hi0, Hi0, Hi0, Hi0, Hi0, Hi0, Hi1, Hi0, Hi0, Hi1, Hi0, Hi0, Hi0);
        SSE_PC0_CTRL_DATA: vl_logic_vector(31 downto 0) := (Hi0, Hi0, Hi0, Hi0, Hi0, Hi0, Hi0, Hi0, Hi0, Hi0, Hi0, Hi0, Hi0, Hi0, Hi0, Hi0, Hi0, Hi0, Hi0, Hi0, Hi0, Hi0, Hi0, Hi0, Hi0, Hi0, Hi0, Hi0, Hi0, Hi0, Hi0, Hi1)
    );
    port(
        PCLK            : in     vl_logic;
        SYSRESETN       : in     vl_logic;
        PRESETN         : out    vl_logic;
        PENABLE_M       : out    vl_logic;
        PWRITE_M        : out    vl_logic;
        PSEL_M          : out    vl_logic;
        PADDR_M         : out    vl_logic_vector;
        PWDATA_M        : out    vl_logic_vector;
        PRDATA_M        : in     vl_logic_vector;
        PREADY_M        : in     vl_logic;
        PSLVERR_M       : in     vl_logic;
        ADC2_PPE_DONE   : in     vl_logic;
        FPGA_TRIGGER    : out    vl_logic;
        ENABLE_PWM      : out    vl_logic
    );
    attribute IDLE_mti_vect_attrib : integer;
    attribute IDLE_mti_vect_attrib of IDLE : constant is 0;
    attribute DISABLE_TRIG1_mti_vect_attrib : integer;
    attribute DISABLE_TRIG1_mti_vect_attrib of DISABLE_TRIG1 : constant is 1;
    attribute DISABLE_TRIG2_mti_vect_attrib : integer;
    attribute DISABLE_TRIG2_mti_vect_attrib of DISABLE_TRIG2 : constant is 2;
    attribute ST_ENABLE_PWM_mti_vect_attrib : integer;
    attribute ST_ENABLE_PWM_mti_vect_attrib of ST_ENABLE_PWM : constant is 3;
    attribute WAIT_FABLOGIC_mti_vect_attrib : integer;
    attribute WAIT_FABLOGIC_mti_vect_attrib of WAIT_FABLOGIC : constant is 4;
    attribute WRITE_PC0_1_mti_vect_attrib : integer;
    attribute WRITE_PC0_1_mti_vect_attrib of WRITE_PC0_1 : constant is 5;
    attribute WRITE_PC0_2_mti_vect_attrib : integer;
    attribute WRITE_PC0_2_mti_vect_attrib of WRITE_PC0_2 : constant is 6;
    attribute WRITE_PC0_ENABLE1_mti_vect_attrib : integer;
    attribute WRITE_PC0_ENABLE1_mti_vect_attrib of WRITE_PC0_ENABLE1 : constant is 7;
    attribute WRITE_PC0_ENABLE2_mti_vect_attrib : integer;
    attribute WRITE_PC0_ENABLE2_mti_vect_attrib of WRITE_PC0_ENABLE2 : constant is 8;
    attribute PPE_FLAGS0_IRQ_CLR_ADDR_mti_vect_attrib : integer;
    attribute PPE_FLAGS0_IRQ_CLR_ADDR_mti_vect_attrib of PPE_FLAGS0_IRQ_CLR_ADDR : constant is 1073877548;
    attribute PPE_FLAGS0_IRQ_CLR_WRITEDATA_mti_vect_attrib : integer;
    attribute PPE_FLAGS0_IRQ_CLR_WRITEDATA_mti_vect_attrib of PPE_FLAGS0_IRQ_CLR_WRITEDATA : constant is 32768;
    attribute SSE_PC0_LO_ADDR_mti_vect_attrib : integer;
    attribute SSE_PC0_LO_ADDR_mti_vect_attrib of SSE_PC0_LO_ADDR : constant is 1073872960;
    attribute SSE_PC0_LO_DATA_mti_vect_attrib : integer;
    attribute SSE_PC0_LO_DATA_mti_vect_attrib of SSE_PC0_LO_DATA : constant is 2;
    attribute SSE_PC0_CTRL_ADDR_mti_vect_attrib : integer;
    attribute SSE_PC0_CTRL_ADDR_mti_vect_attrib of SSE_PC0_CTRL_ADDR : constant is 1073872968;
    attribute SSE_PC0_CTRL_DATA_mti_vect_attrib : integer;
    attribute SSE_PC0_CTRL_DATA_mti_vect_attrib of SSE_PC0_CTRL_DATA : constant is 1;
end MyAPBFabricMaster;
