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 mti_svvh_generic_type : integer;
    attribute mti_svvh_generic_type of APB_AWIDTH : constant is 1;
    attribute mti_svvh_generic_type of APB_DWIDTH : constant is 1;
    attribute mti_svvh_generic_type of IDLE : constant is 2;
    attribute mti_svvh_generic_type of DISABLE_TRIG1 : constant is 2;
    attribute mti_svvh_generic_type of DISABLE_TRIG2 : constant is 2;
    attribute mti_svvh_generic_type of ST_ENABLE_PWM : constant is 2;
    attribute mti_svvh_generic_type of WAIT_FABLOGIC : constant is 2;
    attribute mti_svvh_generic_type of WRITE_PC0_1 : constant is 2;
    attribute mti_svvh_generic_type of WRITE_PC0_2 : constant is 2;
    attribute mti_svvh_generic_type of WRITE_PC0_ENABLE1 : constant is 2;
    attribute mti_svvh_generic_type of WRITE_PC0_ENABLE2 : constant is 2;
    attribute mti_svvh_generic_type of PPE_FLAGS0_IRQ_CLR_ADDR : constant is 2;
    attribute mti_svvh_generic_type of PPE_FLAGS0_IRQ_CLR_WRITEDATA : constant is 2;
    attribute mti_svvh_generic_type of SSE_PC0_LO_ADDR : constant is 2;
    attribute mti_svvh_generic_type of SSE_PC0_LO_DATA : constant is 2;
    attribute mti_svvh_generic_type of SSE_PC0_CTRL_ADDR : constant is 2;
    attribute mti_svvh_generic_type of SSE_PC0_CTRL_DATA : constant is 2;
end MyAPBFabricMaster;
