// (C) 2001-2016 Altera Corporation. All rights reserved.
// Your use of Altera Corporation's design tools, logic functions and other 
// software and tools, and its AMPP partner logic functions, and any output 
// files any of the foregoing (including device programming or simulation 
// files), and any associated documentation or information are expressly subject 
// to the terms and conditions of the Altera Program License Subscription 
// Agreement, Altera MegaCore Function License Agreement, or other applicable 
// license agreement, including, without limitation, that your use is for the 
// sole purpose of programming logic devices manufactured by Altera and sold by 
// Altera or its authorized distributors.  Please refer to the applicable 
// agreement for further details.


// $Id: //acds/main/ip/sopc/components/verification/altera_tristate_conduit_bfm/altera_tristate_conduit_bfm.sv.terp#7 $
// $Revision: #7 $
// $Date: 2010/08/05 $
// $Author: klong $
//-----------------------------------------------------------------------------
// =head1 NAME
// altera_conduit_bfm
// =head1 SYNOPSIS
// Bus Functional Model (BFM) for a Standard Conduit BFM
//-----------------------------------------------------------------------------
// =head1 DESCRIPTION
// This is a Bus Functional Model (BFM) for a Standard Conduit Master.
// This BFM sampled the input/bidirection port value or driving user's value to 
// output ports when user call the API.  
// This BFM's HDL is been generated through terp file in Qsys/SOPC Builder.
// Generation parameters:
// output_name:                                       system_acl_iface_hps_hps_io_border_hps_io
// role:width:direction:                              hps_io_emac0_inst_TX_CLK:1:output,hps_io_emac0_inst_TXD0:1:output,hps_io_emac0_inst_TXD1:1:output,hps_io_emac0_inst_TXD2:1:output,hps_io_emac0_inst_TXD3:1:output,hps_io_emac0_inst_RXD0:1:input,hps_io_emac0_inst_MDIO:1:bidir,hps_io_emac0_inst_MDC:1:output,hps_io_emac0_inst_RX_CTL:1:input,hps_io_emac0_inst_TX_CTL:1:output,hps_io_emac0_inst_RX_CLK:1:input,hps_io_emac0_inst_RXD1:1:input,hps_io_emac0_inst_RXD2:1:input,hps_io_emac0_inst_RXD3:1:input,hps_io_sdio_inst_CMD:1:bidir,hps_io_sdio_inst_D0:1:bidir,hps_io_sdio_inst_D1:1:bidir,hps_io_sdio_inst_CLK:1:output,hps_io_sdio_inst_D2:1:bidir,hps_io_sdio_inst_D3:1:bidir,hps_io_uart0_inst_RX:1:input,hps_io_uart0_inst_TX:1:output,hps_io_i2c0_inst_SDA:1:bidir,hps_io_i2c0_inst_SCL:1:bidir,hps_io_gpio_inst_GPIO41:1:bidir,hps_io_gpio_inst_GPIO42:1:bidir,hps_io_gpio_inst_GPIO43:1:bidir,hps_io_gpio_inst_GPIO44:1:bidir
// 0
//-----------------------------------------------------------------------------
`timescale 1 ps / 1 ps

module system_acl_iface_hps_hps_io_border_hps_io
(
   sig_hps_io_emac0_inst_TX_CLK,
   sig_hps_io_emac0_inst_TXD0,
   sig_hps_io_emac0_inst_TXD1,
   sig_hps_io_emac0_inst_TXD2,
   sig_hps_io_emac0_inst_TXD3,
   sig_hps_io_emac0_inst_RXD0,
   sig_hps_io_emac0_inst_MDIO,
   sig_hps_io_emac0_inst_MDC,
   sig_hps_io_emac0_inst_RX_CTL,
   sig_hps_io_emac0_inst_TX_CTL,
   sig_hps_io_emac0_inst_RX_CLK,
   sig_hps_io_emac0_inst_RXD1,
   sig_hps_io_emac0_inst_RXD2,
   sig_hps_io_emac0_inst_RXD3,
   sig_hps_io_sdio_inst_CMD,
   sig_hps_io_sdio_inst_D0,
   sig_hps_io_sdio_inst_D1,
   sig_hps_io_sdio_inst_CLK,
   sig_hps_io_sdio_inst_D2,
   sig_hps_io_sdio_inst_D3,
   sig_hps_io_uart0_inst_RX,
   sig_hps_io_uart0_inst_TX,
   sig_hps_io_i2c0_inst_SDA,
   sig_hps_io_i2c0_inst_SCL,
   sig_hps_io_gpio_inst_GPIO41,
   sig_hps_io_gpio_inst_GPIO42,
   sig_hps_io_gpio_inst_GPIO43,
   sig_hps_io_gpio_inst_GPIO44
);

   //--------------------------------------------------------------------------
   // =head1 PINS 
   // =head2 User defined interface
   //--------------------------------------------------------------------------
   output sig_hps_io_emac0_inst_TX_CLK;
   output sig_hps_io_emac0_inst_TXD0;
   output sig_hps_io_emac0_inst_TXD1;
   output sig_hps_io_emac0_inst_TXD2;
   output sig_hps_io_emac0_inst_TXD3;
   input sig_hps_io_emac0_inst_RXD0;
   inout wire sig_hps_io_emac0_inst_MDIO;
   output sig_hps_io_emac0_inst_MDC;
   input sig_hps_io_emac0_inst_RX_CTL;
   output sig_hps_io_emac0_inst_TX_CTL;
   input sig_hps_io_emac0_inst_RX_CLK;
   input sig_hps_io_emac0_inst_RXD1;
   input sig_hps_io_emac0_inst_RXD2;
   input sig_hps_io_emac0_inst_RXD3;
   inout wire sig_hps_io_sdio_inst_CMD;
   inout wire sig_hps_io_sdio_inst_D0;
   inout wire sig_hps_io_sdio_inst_D1;
   output sig_hps_io_sdio_inst_CLK;
   inout wire sig_hps_io_sdio_inst_D2;
   inout wire sig_hps_io_sdio_inst_D3;
   input sig_hps_io_uart0_inst_RX;
   output sig_hps_io_uart0_inst_TX;
   inout wire sig_hps_io_i2c0_inst_SDA;
   inout wire sig_hps_io_i2c0_inst_SCL;
   inout wire sig_hps_io_gpio_inst_GPIO41;
   inout wire sig_hps_io_gpio_inst_GPIO42;
   inout wire sig_hps_io_gpio_inst_GPIO43;
   inout wire sig_hps_io_gpio_inst_GPIO44;

   // synthesis translate_off
   import verbosity_pkg::*;
   
   typedef logic ROLE_hps_io_emac0_inst_TX_CLK_t;
   typedef logic ROLE_hps_io_emac0_inst_TXD0_t;
   typedef logic ROLE_hps_io_emac0_inst_TXD1_t;
   typedef logic ROLE_hps_io_emac0_inst_TXD2_t;
   typedef logic ROLE_hps_io_emac0_inst_TXD3_t;
   typedef logic ROLE_hps_io_emac0_inst_RXD0_t;
   typedef logic ROLE_hps_io_emac0_inst_MDIO_t;
   typedef logic ROLE_hps_io_emac0_inst_MDC_t;
   typedef logic ROLE_hps_io_emac0_inst_RX_CTL_t;
   typedef logic ROLE_hps_io_emac0_inst_TX_CTL_t;
   typedef logic ROLE_hps_io_emac0_inst_RX_CLK_t;
   typedef logic ROLE_hps_io_emac0_inst_RXD1_t;
   typedef logic ROLE_hps_io_emac0_inst_RXD2_t;
   typedef logic ROLE_hps_io_emac0_inst_RXD3_t;
   typedef logic ROLE_hps_io_sdio_inst_CMD_t;
   typedef logic ROLE_hps_io_sdio_inst_D0_t;
   typedef logic ROLE_hps_io_sdio_inst_D1_t;
   typedef logic ROLE_hps_io_sdio_inst_CLK_t;
   typedef logic ROLE_hps_io_sdio_inst_D2_t;
   typedef logic ROLE_hps_io_sdio_inst_D3_t;
   typedef logic ROLE_hps_io_uart0_inst_RX_t;
   typedef logic ROLE_hps_io_uart0_inst_TX_t;
   typedef logic ROLE_hps_io_i2c0_inst_SDA_t;
   typedef logic ROLE_hps_io_i2c0_inst_SCL_t;
   typedef logic ROLE_hps_io_gpio_inst_GPIO41_t;
   typedef logic ROLE_hps_io_gpio_inst_GPIO42_t;
   typedef logic ROLE_hps_io_gpio_inst_GPIO43_t;
   typedef logic ROLE_hps_io_gpio_inst_GPIO44_t;

   reg sig_hps_io_emac0_inst_TX_CLK_temp;
   reg sig_hps_io_emac0_inst_TX_CLK_out;
   reg sig_hps_io_emac0_inst_TXD0_temp;
   reg sig_hps_io_emac0_inst_TXD0_out;
   reg sig_hps_io_emac0_inst_TXD1_temp;
   reg sig_hps_io_emac0_inst_TXD1_out;
   reg sig_hps_io_emac0_inst_TXD2_temp;
   reg sig_hps_io_emac0_inst_TXD2_out;
   reg sig_hps_io_emac0_inst_TXD3_temp;
   reg sig_hps_io_emac0_inst_TXD3_out;
   logic [0 : 0] sig_hps_io_emac0_inst_RXD0_in;
   logic [0 : 0] sig_hps_io_emac0_inst_RXD0_local;
   logic sig_hps_io_emac0_inst_MDIO_oe;
   logic sig_hps_io_emac0_inst_MDIO_oe_temp = 0;
   reg sig_hps_io_emac0_inst_MDIO_temp;
   reg sig_hps_io_emac0_inst_MDIO_out;
   logic [0 : 0] sig_hps_io_emac0_inst_MDIO_in;
   logic [0 : 0] sig_hps_io_emac0_inst_MDIO_local;
   reg sig_hps_io_emac0_inst_MDC_temp;
   reg sig_hps_io_emac0_inst_MDC_out;
   logic [0 : 0] sig_hps_io_emac0_inst_RX_CTL_in;
   logic [0 : 0] sig_hps_io_emac0_inst_RX_CTL_local;
   reg sig_hps_io_emac0_inst_TX_CTL_temp;
   reg sig_hps_io_emac0_inst_TX_CTL_out;
   logic [0 : 0] sig_hps_io_emac0_inst_RX_CLK_in;
   logic [0 : 0] sig_hps_io_emac0_inst_RX_CLK_local;
   logic [0 : 0] sig_hps_io_emac0_inst_RXD1_in;
   logic [0 : 0] sig_hps_io_emac0_inst_RXD1_local;
   logic [0 : 0] sig_hps_io_emac0_inst_RXD2_in;
   logic [0 : 0] sig_hps_io_emac0_inst_RXD2_local;
   logic [0 : 0] sig_hps_io_emac0_inst_RXD3_in;
   logic [0 : 0] sig_hps_io_emac0_inst_RXD3_local;
   logic sig_hps_io_sdio_inst_CMD_oe;
   logic sig_hps_io_sdio_inst_CMD_oe_temp = 0;
   reg sig_hps_io_sdio_inst_CMD_temp;
   reg sig_hps_io_sdio_inst_CMD_out;
   logic [0 : 0] sig_hps_io_sdio_inst_CMD_in;
   logic [0 : 0] sig_hps_io_sdio_inst_CMD_local;
   logic sig_hps_io_sdio_inst_D0_oe;
   logic sig_hps_io_sdio_inst_D0_oe_temp = 0;
   reg sig_hps_io_sdio_inst_D0_temp;
   reg sig_hps_io_sdio_inst_D0_out;
   logic [0 : 0] sig_hps_io_sdio_inst_D0_in;
   logic [0 : 0] sig_hps_io_sdio_inst_D0_local;
   logic sig_hps_io_sdio_inst_D1_oe;
   logic sig_hps_io_sdio_inst_D1_oe_temp = 0;
   reg sig_hps_io_sdio_inst_D1_temp;
   reg sig_hps_io_sdio_inst_D1_out;
   logic [0 : 0] sig_hps_io_sdio_inst_D1_in;
   logic [0 : 0] sig_hps_io_sdio_inst_D1_local;
   reg sig_hps_io_sdio_inst_CLK_temp;
   reg sig_hps_io_sdio_inst_CLK_out;
   logic sig_hps_io_sdio_inst_D2_oe;
   logic sig_hps_io_sdio_inst_D2_oe_temp = 0;
   reg sig_hps_io_sdio_inst_D2_temp;
   reg sig_hps_io_sdio_inst_D2_out;
   logic [0 : 0] sig_hps_io_sdio_inst_D2_in;
   logic [0 : 0] sig_hps_io_sdio_inst_D2_local;
   logic sig_hps_io_sdio_inst_D3_oe;
   logic sig_hps_io_sdio_inst_D3_oe_temp = 0;
   reg sig_hps_io_sdio_inst_D3_temp;
   reg sig_hps_io_sdio_inst_D3_out;
   logic [0 : 0] sig_hps_io_sdio_inst_D3_in;
   logic [0 : 0] sig_hps_io_sdio_inst_D3_local;
   logic [0 : 0] sig_hps_io_uart0_inst_RX_in;
   logic [0 : 0] sig_hps_io_uart0_inst_RX_local;
   reg sig_hps_io_uart0_inst_TX_temp;
   reg sig_hps_io_uart0_inst_TX_out;
   logic sig_hps_io_i2c0_inst_SDA_oe;
   logic sig_hps_io_i2c0_inst_SDA_oe_temp = 0;
   reg sig_hps_io_i2c0_inst_SDA_temp;
   reg sig_hps_io_i2c0_inst_SDA_out;
   logic [0 : 0] sig_hps_io_i2c0_inst_SDA_in;
   logic [0 : 0] sig_hps_io_i2c0_inst_SDA_local;
   logic sig_hps_io_i2c0_inst_SCL_oe;
   logic sig_hps_io_i2c0_inst_SCL_oe_temp = 0;
   reg sig_hps_io_i2c0_inst_SCL_temp;
   reg sig_hps_io_i2c0_inst_SCL_out;
   logic [0 : 0] sig_hps_io_i2c0_inst_SCL_in;
   logic [0 : 0] sig_hps_io_i2c0_inst_SCL_local;
   logic sig_hps_io_gpio_inst_GPIO41_oe;
   logic sig_hps_io_gpio_inst_GPIO41_oe_temp = 0;
   reg sig_hps_io_gpio_inst_GPIO41_temp;
   reg sig_hps_io_gpio_inst_GPIO41_out;
   logic [0 : 0] sig_hps_io_gpio_inst_GPIO41_in;
   logic [0 : 0] sig_hps_io_gpio_inst_GPIO41_local;
   logic sig_hps_io_gpio_inst_GPIO42_oe;
   logic sig_hps_io_gpio_inst_GPIO42_oe_temp = 0;
   reg sig_hps_io_gpio_inst_GPIO42_temp;
   reg sig_hps_io_gpio_inst_GPIO42_out;
   logic [0 : 0] sig_hps_io_gpio_inst_GPIO42_in;
   logic [0 : 0] sig_hps_io_gpio_inst_GPIO42_local;
   logic sig_hps_io_gpio_inst_GPIO43_oe;
   logic sig_hps_io_gpio_inst_GPIO43_oe_temp = 0;
   reg sig_hps_io_gpio_inst_GPIO43_temp;
   reg sig_hps_io_gpio_inst_GPIO43_out;
   logic [0 : 0] sig_hps_io_gpio_inst_GPIO43_in;
   logic [0 : 0] sig_hps_io_gpio_inst_GPIO43_local;
   logic sig_hps_io_gpio_inst_GPIO44_oe;
   logic sig_hps_io_gpio_inst_GPIO44_oe_temp = 0;
   reg sig_hps_io_gpio_inst_GPIO44_temp;
   reg sig_hps_io_gpio_inst_GPIO44_out;
   logic [0 : 0] sig_hps_io_gpio_inst_GPIO44_in;
   logic [0 : 0] sig_hps_io_gpio_inst_GPIO44_local;

   //--------------------------------------------------------------------------
   // =head1 Public Methods API
   // =pod
   // This section describes the public methods in the application programming
   // interface (API). The application program interface provides methods for 
   // a testbench which instantiates, controls and queries state in this BFM 
   // component. Test programs must only use these public access methods and 
   // events to communicate with this BFM component. The API and module pins
   // are the only interfaces of this component that are guaranteed to be
   // stable. The API will be maintained for the life of the product. 
   // While we cannot prevent a test program from directly accessing internal
   // tasks, functions, or data private to the BFM, there is no guarantee that
   // these will be present in the future. In fact, it is best for the user
   // to assume that the underlying implementation of this component can 
   // and will change.
   // =cut
   //--------------------------------------------------------------------------
   
   event signal_input_hps_io_emac0_inst_RXD0_change;
   event signal_input_hps_io_emac0_inst_MDIO_change;
   event signal_input_hps_io_emac0_inst_RX_CTL_change;
   event signal_input_hps_io_emac0_inst_RX_CLK_change;
   event signal_input_hps_io_emac0_inst_RXD1_change;
   event signal_input_hps_io_emac0_inst_RXD2_change;
   event signal_input_hps_io_emac0_inst_RXD3_change;
   event signal_input_hps_io_sdio_inst_CMD_change;
   event signal_input_hps_io_sdio_inst_D0_change;
   event signal_input_hps_io_sdio_inst_D1_change;
   event signal_input_hps_io_sdio_inst_D2_change;
   event signal_input_hps_io_sdio_inst_D3_change;
   event signal_input_hps_io_uart0_inst_RX_change;
   event signal_input_hps_io_i2c0_inst_SDA_change;
   event signal_input_hps_io_i2c0_inst_SCL_change;
   event signal_input_hps_io_gpio_inst_GPIO41_change;
   event signal_input_hps_io_gpio_inst_GPIO42_change;
   event signal_input_hps_io_gpio_inst_GPIO43_change;
   event signal_input_hps_io_gpio_inst_GPIO44_change;
   
   function automatic string get_version();  // public
      // Return BFM version string. For example, version 9.1 sp1 is "9.1sp1" 
      string ret_version = "15.1";
      return ret_version;
   endfunction

   // -------------------------------------------------------
   // hps_io_emac0_inst_TX_CLK
   // -------------------------------------------------------

   function automatic void set_hps_io_emac0_inst_TX_CLK (
      ROLE_hps_io_emac0_inst_TX_CLK_t new_value
   );
      // Drive the new value to hps_io_emac0_inst_TX_CLK.
      
      $sformat(message, "%m: method called arg0 %0d", new_value); 
      print(VERBOSITY_DEBUG, message);
      
      sig_hps_io_emac0_inst_TX_CLK_temp = new_value;
   endfunction

   // -------------------------------------------------------
   // hps_io_emac0_inst_TXD0
   // -------------------------------------------------------

   function automatic void set_hps_io_emac0_inst_TXD0 (
      ROLE_hps_io_emac0_inst_TXD0_t new_value
   );
      // Drive the new value to hps_io_emac0_inst_TXD0.
      
      $sformat(message, "%m: method called arg0 %0d", new_value); 
      print(VERBOSITY_DEBUG, message);
      
      sig_hps_io_emac0_inst_TXD0_temp = new_value;
   endfunction

   // -------------------------------------------------------
   // hps_io_emac0_inst_TXD1
   // -------------------------------------------------------

   function automatic void set_hps_io_emac0_inst_TXD1 (
      ROLE_hps_io_emac0_inst_TXD1_t new_value
   );
      // Drive the new value to hps_io_emac0_inst_TXD1.
      
      $sformat(message, "%m: method called arg0 %0d", new_value); 
      print(VERBOSITY_DEBUG, message);
      
      sig_hps_io_emac0_inst_TXD1_temp = new_value;
   endfunction

   // -------------------------------------------------------
   // hps_io_emac0_inst_TXD2
   // -------------------------------------------------------

   function automatic void set_hps_io_emac0_inst_TXD2 (
      ROLE_hps_io_emac0_inst_TXD2_t new_value
   );
      // Drive the new value to hps_io_emac0_inst_TXD2.
      
      $sformat(message, "%m: method called arg0 %0d", new_value); 
      print(VERBOSITY_DEBUG, message);
      
      sig_hps_io_emac0_inst_TXD2_temp = new_value;
   endfunction

   // -------------------------------------------------------
   // hps_io_emac0_inst_TXD3
   // -------------------------------------------------------

   function automatic void set_hps_io_emac0_inst_TXD3 (
      ROLE_hps_io_emac0_inst_TXD3_t new_value
   );
      // Drive the new value to hps_io_emac0_inst_TXD3.
      
      $sformat(message, "%m: method called arg0 %0d", new_value); 
      print(VERBOSITY_DEBUG, message);
      
      sig_hps_io_emac0_inst_TXD3_temp = new_value;
   endfunction

   // -------------------------------------------------------
   // hps_io_emac0_inst_RXD0
   // -------------------------------------------------------
   function automatic ROLE_hps_io_emac0_inst_RXD0_t get_hps_io_emac0_inst_RXD0();
   
      // Gets the hps_io_emac0_inst_RXD0 input value.
      $sformat(message, "%m: called get_hps_io_emac0_inst_RXD0");
      print(VERBOSITY_DEBUG, message);
      return sig_hps_io_emac0_inst_RXD0_in;
      
   endfunction

   // -------------------------------------------------------
   // hps_io_emac0_inst_MDIO
   // -------------------------------------------------------
   function automatic ROLE_hps_io_emac0_inst_MDIO_t get_hps_io_emac0_inst_MDIO();
   
      // Gets the hps_io_emac0_inst_MDIO input value.
      $sformat(message, "%m: called get_hps_io_emac0_inst_MDIO");
      print(VERBOSITY_DEBUG, message);
      return sig_hps_io_emac0_inst_MDIO_in;
      
   endfunction

   function automatic void set_hps_io_emac0_inst_MDIO (
      ROLE_hps_io_emac0_inst_MDIO_t new_value
   );
      // Drive the new value to hps_io_emac0_inst_MDIO.
      
      $sformat(message, "%m: method called arg0 %0d", new_value); 
      print(VERBOSITY_DEBUG, message);
      
      sig_hps_io_emac0_inst_MDIO_temp = new_value;
   endfunction
   
   function automatic void set_hps_io_emac0_inst_MDIO_oe (
      bit enable
   );
      // bidir port hps_io_emac0_inst_MDIO will work as output port when set to 1.
      // bidir port hps_io_emac0_inst_MDIO will work as input port when set to 0.
      
      $sformat(message, "%m: method called arg0 %0d", enable); 
      print(VERBOSITY_DEBUG, message);
      
      sig_hps_io_emac0_inst_MDIO_oe_temp = enable;
   endfunction

   // -------------------------------------------------------
   // hps_io_emac0_inst_MDC
   // -------------------------------------------------------

   function automatic void set_hps_io_emac0_inst_MDC (
      ROLE_hps_io_emac0_inst_MDC_t new_value
   );
      // Drive the new value to hps_io_emac0_inst_MDC.
      
      $sformat(message, "%m: method called arg0 %0d", new_value); 
      print(VERBOSITY_DEBUG, message);
      
      sig_hps_io_emac0_inst_MDC_temp = new_value;
   endfunction

   // -------------------------------------------------------
   // hps_io_emac0_inst_RX_CTL
   // -------------------------------------------------------
   function automatic ROLE_hps_io_emac0_inst_RX_CTL_t get_hps_io_emac0_inst_RX_CTL();
   
      // Gets the hps_io_emac0_inst_RX_CTL input value.
      $sformat(message, "%m: called get_hps_io_emac0_inst_RX_CTL");
      print(VERBOSITY_DEBUG, message);
      return sig_hps_io_emac0_inst_RX_CTL_in;
      
   endfunction

   // -------------------------------------------------------
   // hps_io_emac0_inst_TX_CTL
   // -------------------------------------------------------

   function automatic void set_hps_io_emac0_inst_TX_CTL (
      ROLE_hps_io_emac0_inst_TX_CTL_t new_value
   );
      // Drive the new value to hps_io_emac0_inst_TX_CTL.
      
      $sformat(message, "%m: method called arg0 %0d", new_value); 
      print(VERBOSITY_DEBUG, message);
      
      sig_hps_io_emac0_inst_TX_CTL_temp = new_value;
   endfunction

   // -------------------------------------------------------
   // hps_io_emac0_inst_RX_CLK
   // -------------------------------------------------------
   function automatic ROLE_hps_io_emac0_inst_RX_CLK_t get_hps_io_emac0_inst_RX_CLK();
   
      // Gets the hps_io_emac0_inst_RX_CLK input value.
      $sformat(message, "%m: called get_hps_io_emac0_inst_RX_CLK");
      print(VERBOSITY_DEBUG, message);
      return sig_hps_io_emac0_inst_RX_CLK_in;
      
   endfunction

   // -------------------------------------------------------
   // hps_io_emac0_inst_RXD1
   // -------------------------------------------------------
   function automatic ROLE_hps_io_emac0_inst_RXD1_t get_hps_io_emac0_inst_RXD1();
   
      // Gets the hps_io_emac0_inst_RXD1 input value.
      $sformat(message, "%m: called get_hps_io_emac0_inst_RXD1");
      print(VERBOSITY_DEBUG, message);
      return sig_hps_io_emac0_inst_RXD1_in;
      
   endfunction

   // -------------------------------------------------------
   // hps_io_emac0_inst_RXD2
   // -------------------------------------------------------
   function automatic ROLE_hps_io_emac0_inst_RXD2_t get_hps_io_emac0_inst_RXD2();
   
      // Gets the hps_io_emac0_inst_RXD2 input value.
      $sformat(message, "%m: called get_hps_io_emac0_inst_RXD2");
      print(VERBOSITY_DEBUG, message);
      return sig_hps_io_emac0_inst_RXD2_in;
      
   endfunction

   // -------------------------------------------------------
   // hps_io_emac0_inst_RXD3
   // -------------------------------------------------------
   function automatic ROLE_hps_io_emac0_inst_RXD3_t get_hps_io_emac0_inst_RXD3();
   
      // Gets the hps_io_emac0_inst_RXD3 input value.
      $sformat(message, "%m: called get_hps_io_emac0_inst_RXD3");
      print(VERBOSITY_DEBUG, message);
      return sig_hps_io_emac0_inst_RXD3_in;
      
   endfunction

   // -------------------------------------------------------
   // hps_io_sdio_inst_CMD
   // -------------------------------------------------------
   function automatic ROLE_hps_io_sdio_inst_CMD_t get_hps_io_sdio_inst_CMD();
   
      // Gets the hps_io_sdio_inst_CMD input value.
      $sformat(message, "%m: called get_hps_io_sdio_inst_CMD");
      print(VERBOSITY_DEBUG, message);
      return sig_hps_io_sdio_inst_CMD_in;
      
   endfunction

   function automatic void set_hps_io_sdio_inst_CMD (
      ROLE_hps_io_sdio_inst_CMD_t new_value
   );
      // Drive the new value to hps_io_sdio_inst_CMD.
      
      $sformat(message, "%m: method called arg0 %0d", new_value); 
      print(VERBOSITY_DEBUG, message);
      
      sig_hps_io_sdio_inst_CMD_temp = new_value;
   endfunction
   
   function automatic void set_hps_io_sdio_inst_CMD_oe (
      bit enable
   );
      // bidir port hps_io_sdio_inst_CMD will work as output port when set to 1.
      // bidir port hps_io_sdio_inst_CMD will work as input port when set to 0.
      
      $sformat(message, "%m: method called arg0 %0d", enable); 
      print(VERBOSITY_DEBUG, message);
      
      sig_hps_io_sdio_inst_CMD_oe_temp = enable;
   endfunction

   // -------------------------------------------------------
   // hps_io_sdio_inst_D0
   // -------------------------------------------------------
   function automatic ROLE_hps_io_sdio_inst_D0_t get_hps_io_sdio_inst_D0();
   
      // Gets the hps_io_sdio_inst_D0 input value.
      $sformat(message, "%m: called get_hps_io_sdio_inst_D0");
      print(VERBOSITY_DEBUG, message);
      return sig_hps_io_sdio_inst_D0_in;
      
   endfunction

   function automatic void set_hps_io_sdio_inst_D0 (
      ROLE_hps_io_sdio_inst_D0_t new_value
   );
      // Drive the new value to hps_io_sdio_inst_D0.
      
      $sformat(message, "%m: method called arg0 %0d", new_value); 
      print(VERBOSITY_DEBUG, message);
      
      sig_hps_io_sdio_inst_D0_temp = new_value;
   endfunction
   
   function automatic void set_hps_io_sdio_inst_D0_oe (
      bit enable
   );
      // bidir port hps_io_sdio_inst_D0 will work as output port when set to 1.
      // bidir port hps_io_sdio_inst_D0 will work as input port when set to 0.
      
      $sformat(message, "%m: method called arg0 %0d", enable); 
      print(VERBOSITY_DEBUG, message);
      
      sig_hps_io_sdio_inst_D0_oe_temp = enable;
   endfunction

   // -------------------------------------------------------
   // hps_io_sdio_inst_D1
   // -------------------------------------------------------
   function automatic ROLE_hps_io_sdio_inst_D1_t get_hps_io_sdio_inst_D1();
   
      // Gets the hps_io_sdio_inst_D1 input value.
      $sformat(message, "%m: called get_hps_io_sdio_inst_D1");
      print(VERBOSITY_DEBUG, message);
      return sig_hps_io_sdio_inst_D1_in;
      
   endfunction

   function automatic void set_hps_io_sdio_inst_D1 (
      ROLE_hps_io_sdio_inst_D1_t new_value
   );
      // Drive the new value to hps_io_sdio_inst_D1.
      
      $sformat(message, "%m: method called arg0 %0d", new_value); 
      print(VERBOSITY_DEBUG, message);
      
      sig_hps_io_sdio_inst_D1_temp = new_value;
   endfunction
   
   function automatic void set_hps_io_sdio_inst_D1_oe (
      bit enable
   );
      // bidir port hps_io_sdio_inst_D1 will work as output port when set to 1.
      // bidir port hps_io_sdio_inst_D1 will work as input port when set to 0.
      
      $sformat(message, "%m: method called arg0 %0d", enable); 
      print(VERBOSITY_DEBUG, message);
      
      sig_hps_io_sdio_inst_D1_oe_temp = enable;
   endfunction

   // -------------------------------------------------------
   // hps_io_sdio_inst_CLK
   // -------------------------------------------------------

   function automatic void set_hps_io_sdio_inst_CLK (
      ROLE_hps_io_sdio_inst_CLK_t new_value
   );
      // Drive the new value to hps_io_sdio_inst_CLK.
      
      $sformat(message, "%m: method called arg0 %0d", new_value); 
      print(VERBOSITY_DEBUG, message);
      
      sig_hps_io_sdio_inst_CLK_temp = new_value;
   endfunction

   // -------------------------------------------------------
   // hps_io_sdio_inst_D2
   // -------------------------------------------------------
   function automatic ROLE_hps_io_sdio_inst_D2_t get_hps_io_sdio_inst_D2();
   
      // Gets the hps_io_sdio_inst_D2 input value.
      $sformat(message, "%m: called get_hps_io_sdio_inst_D2");
      print(VERBOSITY_DEBUG, message);
      return sig_hps_io_sdio_inst_D2_in;
      
   endfunction

   function automatic void set_hps_io_sdio_inst_D2 (
      ROLE_hps_io_sdio_inst_D2_t new_value
   );
      // Drive the new value to hps_io_sdio_inst_D2.
      
      $sformat(message, "%m: method called arg0 %0d", new_value); 
      print(VERBOSITY_DEBUG, message);
      
      sig_hps_io_sdio_inst_D2_temp = new_value;
   endfunction
   
   function automatic void set_hps_io_sdio_inst_D2_oe (
      bit enable
   );
      // bidir port hps_io_sdio_inst_D2 will work as output port when set to 1.
      // bidir port hps_io_sdio_inst_D2 will work as input port when set to 0.
      
      $sformat(message, "%m: method called arg0 %0d", enable); 
      print(VERBOSITY_DEBUG, message);
      
      sig_hps_io_sdio_inst_D2_oe_temp = enable;
   endfunction

   // -------------------------------------------------------
   // hps_io_sdio_inst_D3
   // -------------------------------------------------------
   function automatic ROLE_hps_io_sdio_inst_D3_t get_hps_io_sdio_inst_D3();
   
      // Gets the hps_io_sdio_inst_D3 input value.
      $sformat(message, "%m: called get_hps_io_sdio_inst_D3");
      print(VERBOSITY_DEBUG, message);
      return sig_hps_io_sdio_inst_D3_in;
      
   endfunction

   function automatic void set_hps_io_sdio_inst_D3 (
      ROLE_hps_io_sdio_inst_D3_t new_value
   );
      // Drive the new value to hps_io_sdio_inst_D3.
      
      $sformat(message, "%m: method called arg0 %0d", new_value); 
      print(VERBOSITY_DEBUG, message);
      
      sig_hps_io_sdio_inst_D3_temp = new_value;
   endfunction
   
   function automatic void set_hps_io_sdio_inst_D3_oe (
      bit enable
   );
      // bidir port hps_io_sdio_inst_D3 will work as output port when set to 1.
      // bidir port hps_io_sdio_inst_D3 will work as input port when set to 0.
      
      $sformat(message, "%m: method called arg0 %0d", enable); 
      print(VERBOSITY_DEBUG, message);
      
      sig_hps_io_sdio_inst_D3_oe_temp = enable;
   endfunction

   // -------------------------------------------------------
   // hps_io_uart0_inst_RX
   // -------------------------------------------------------
   function automatic ROLE_hps_io_uart0_inst_RX_t get_hps_io_uart0_inst_RX();
   
      // Gets the hps_io_uart0_inst_RX input value.
      $sformat(message, "%m: called get_hps_io_uart0_inst_RX");
      print(VERBOSITY_DEBUG, message);
      return sig_hps_io_uart0_inst_RX_in;
      
   endfunction

   // -------------------------------------------------------
   // hps_io_uart0_inst_TX
   // -------------------------------------------------------

   function automatic void set_hps_io_uart0_inst_TX (
      ROLE_hps_io_uart0_inst_TX_t new_value
   );
      // Drive the new value to hps_io_uart0_inst_TX.
      
      $sformat(message, "%m: method called arg0 %0d", new_value); 
      print(VERBOSITY_DEBUG, message);
      
      sig_hps_io_uart0_inst_TX_temp = new_value;
   endfunction

   // -------------------------------------------------------
   // hps_io_i2c0_inst_SDA
   // -------------------------------------------------------
   function automatic ROLE_hps_io_i2c0_inst_SDA_t get_hps_io_i2c0_inst_SDA();
   
      // Gets the hps_io_i2c0_inst_SDA input value.
      $sformat(message, "%m: called get_hps_io_i2c0_inst_SDA");
      print(VERBOSITY_DEBUG, message);
      return sig_hps_io_i2c0_inst_SDA_in;
      
   endfunction

   function automatic void set_hps_io_i2c0_inst_SDA (
      ROLE_hps_io_i2c0_inst_SDA_t new_value
   );
      // Drive the new value to hps_io_i2c0_inst_SDA.
      
      $sformat(message, "%m: method called arg0 %0d", new_value); 
      print(VERBOSITY_DEBUG, message);
      
      sig_hps_io_i2c0_inst_SDA_temp = new_value;
   endfunction
   
   function automatic void set_hps_io_i2c0_inst_SDA_oe (
      bit enable
   );
      // bidir port hps_io_i2c0_inst_SDA will work as output port when set to 1.
      // bidir port hps_io_i2c0_inst_SDA will work as input port when set to 0.
      
      $sformat(message, "%m: method called arg0 %0d", enable); 
      print(VERBOSITY_DEBUG, message);
      
      sig_hps_io_i2c0_inst_SDA_oe_temp = enable;
   endfunction

   // -------------------------------------------------------
   // hps_io_i2c0_inst_SCL
   // -------------------------------------------------------
   function automatic ROLE_hps_io_i2c0_inst_SCL_t get_hps_io_i2c0_inst_SCL();
   
      // Gets the hps_io_i2c0_inst_SCL input value.
      $sformat(message, "%m: called get_hps_io_i2c0_inst_SCL");
      print(VERBOSITY_DEBUG, message);
      return sig_hps_io_i2c0_inst_SCL_in;
      
   endfunction

   function automatic void set_hps_io_i2c0_inst_SCL (
      ROLE_hps_io_i2c0_inst_SCL_t new_value
   );
      // Drive the new value to hps_io_i2c0_inst_SCL.
      
      $sformat(message, "%m: method called arg0 %0d", new_value); 
      print(VERBOSITY_DEBUG, message);
      
      sig_hps_io_i2c0_inst_SCL_temp = new_value;
   endfunction
   
   function automatic void set_hps_io_i2c0_inst_SCL_oe (
      bit enable
   );
      // bidir port hps_io_i2c0_inst_SCL will work as output port when set to 1.
      // bidir port hps_io_i2c0_inst_SCL will work as input port when set to 0.
      
      $sformat(message, "%m: method called arg0 %0d", enable); 
      print(VERBOSITY_DEBUG, message);
      
      sig_hps_io_i2c0_inst_SCL_oe_temp = enable;
   endfunction

   // -------------------------------------------------------
   // hps_io_gpio_inst_GPIO41
   // -------------------------------------------------------
   function automatic ROLE_hps_io_gpio_inst_GPIO41_t get_hps_io_gpio_inst_GPIO41();
   
      // Gets the hps_io_gpio_inst_GPIO41 input value.
      $sformat(message, "%m: called get_hps_io_gpio_inst_GPIO41");
      print(VERBOSITY_DEBUG, message);
      return sig_hps_io_gpio_inst_GPIO41_in;
      
   endfunction

   function automatic void set_hps_io_gpio_inst_GPIO41 (
      ROLE_hps_io_gpio_inst_GPIO41_t new_value
   );
      // Drive the new value to hps_io_gpio_inst_GPIO41.
      
      $sformat(message, "%m: method called arg0 %0d", new_value); 
      print(VERBOSITY_DEBUG, message);
      
      sig_hps_io_gpio_inst_GPIO41_temp = new_value;
   endfunction
   
   function automatic void set_hps_io_gpio_inst_GPIO41_oe (
      bit enable
   );
      // bidir port hps_io_gpio_inst_GPIO41 will work as output port when set to 1.
      // bidir port hps_io_gpio_inst_GPIO41 will work as input port when set to 0.
      
      $sformat(message, "%m: method called arg0 %0d", enable); 
      print(VERBOSITY_DEBUG, message);
      
      sig_hps_io_gpio_inst_GPIO41_oe_temp = enable;
   endfunction

   // -------------------------------------------------------
   // hps_io_gpio_inst_GPIO42
   // -------------------------------------------------------
   function automatic ROLE_hps_io_gpio_inst_GPIO42_t get_hps_io_gpio_inst_GPIO42();
   
      // Gets the hps_io_gpio_inst_GPIO42 input value.
      $sformat(message, "%m: called get_hps_io_gpio_inst_GPIO42");
      print(VERBOSITY_DEBUG, message);
      return sig_hps_io_gpio_inst_GPIO42_in;
      
   endfunction

   function automatic void set_hps_io_gpio_inst_GPIO42 (
      ROLE_hps_io_gpio_inst_GPIO42_t new_value
   );
      // Drive the new value to hps_io_gpio_inst_GPIO42.
      
      $sformat(message, "%m: method called arg0 %0d", new_value); 
      print(VERBOSITY_DEBUG, message);
      
      sig_hps_io_gpio_inst_GPIO42_temp = new_value;
   endfunction
   
   function automatic void set_hps_io_gpio_inst_GPIO42_oe (
      bit enable
   );
      // bidir port hps_io_gpio_inst_GPIO42 will work as output port when set to 1.
      // bidir port hps_io_gpio_inst_GPIO42 will work as input port when set to 0.
      
      $sformat(message, "%m: method called arg0 %0d", enable); 
      print(VERBOSITY_DEBUG, message);
      
      sig_hps_io_gpio_inst_GPIO42_oe_temp = enable;
   endfunction

   // -------------------------------------------------------
   // hps_io_gpio_inst_GPIO43
   // -------------------------------------------------------
   function automatic ROLE_hps_io_gpio_inst_GPIO43_t get_hps_io_gpio_inst_GPIO43();
   
      // Gets the hps_io_gpio_inst_GPIO43 input value.
      $sformat(message, "%m: called get_hps_io_gpio_inst_GPIO43");
      print(VERBOSITY_DEBUG, message);
      return sig_hps_io_gpio_inst_GPIO43_in;
      
   endfunction

   function automatic void set_hps_io_gpio_inst_GPIO43 (
      ROLE_hps_io_gpio_inst_GPIO43_t new_value
   );
      // Drive the new value to hps_io_gpio_inst_GPIO43.
      
      $sformat(message, "%m: method called arg0 %0d", new_value); 
      print(VERBOSITY_DEBUG, message);
      
      sig_hps_io_gpio_inst_GPIO43_temp = new_value;
   endfunction
   
   function automatic void set_hps_io_gpio_inst_GPIO43_oe (
      bit enable
   );
      // bidir port hps_io_gpio_inst_GPIO43 will work as output port when set to 1.
      // bidir port hps_io_gpio_inst_GPIO43 will work as input port when set to 0.
      
      $sformat(message, "%m: method called arg0 %0d", enable); 
      print(VERBOSITY_DEBUG, message);
      
      sig_hps_io_gpio_inst_GPIO43_oe_temp = enable;
   endfunction

   // -------------------------------------------------------
   // hps_io_gpio_inst_GPIO44
   // -------------------------------------------------------
   function automatic ROLE_hps_io_gpio_inst_GPIO44_t get_hps_io_gpio_inst_GPIO44();
   
      // Gets the hps_io_gpio_inst_GPIO44 input value.
      $sformat(message, "%m: called get_hps_io_gpio_inst_GPIO44");
      print(VERBOSITY_DEBUG, message);
      return sig_hps_io_gpio_inst_GPIO44_in;
      
   endfunction

   function automatic void set_hps_io_gpio_inst_GPIO44 (
      ROLE_hps_io_gpio_inst_GPIO44_t new_value
   );
      // Drive the new value to hps_io_gpio_inst_GPIO44.
      
      $sformat(message, "%m: method called arg0 %0d", new_value); 
      print(VERBOSITY_DEBUG, message);
      
      sig_hps_io_gpio_inst_GPIO44_temp = new_value;
   endfunction
   
   function automatic void set_hps_io_gpio_inst_GPIO44_oe (
      bit enable
   );
      // bidir port hps_io_gpio_inst_GPIO44 will work as output port when set to 1.
      // bidir port hps_io_gpio_inst_GPIO44 will work as input port when set to 0.
      
      $sformat(message, "%m: method called arg0 %0d", enable); 
      print(VERBOSITY_DEBUG, message);
      
      sig_hps_io_gpio_inst_GPIO44_oe_temp = enable;
   endfunction

   assign sig_hps_io_emac0_inst_TX_CLK = sig_hps_io_emac0_inst_TX_CLK_temp;
   assign sig_hps_io_emac0_inst_TXD0 = sig_hps_io_emac0_inst_TXD0_temp;
   assign sig_hps_io_emac0_inst_TXD1 = sig_hps_io_emac0_inst_TXD1_temp;
   assign sig_hps_io_emac0_inst_TXD2 = sig_hps_io_emac0_inst_TXD2_temp;
   assign sig_hps_io_emac0_inst_TXD3 = sig_hps_io_emac0_inst_TXD3_temp;
   assign sig_hps_io_emac0_inst_RXD0_in = sig_hps_io_emac0_inst_RXD0;
   assign sig_hps_io_emac0_inst_MDIO_oe = sig_hps_io_emac0_inst_MDIO_oe_temp;
   assign sig_hps_io_emac0_inst_MDIO = (sig_hps_io_emac0_inst_MDIO_oe == 1)? sig_hps_io_emac0_inst_MDIO_temp:'z;
   assign sig_hps_io_emac0_inst_MDIO_in = (sig_hps_io_emac0_inst_MDIO_oe == 0)? sig_hps_io_emac0_inst_MDIO:'z;
   assign sig_hps_io_emac0_inst_MDC = sig_hps_io_emac0_inst_MDC_temp;
   assign sig_hps_io_emac0_inst_RX_CTL_in = sig_hps_io_emac0_inst_RX_CTL;
   assign sig_hps_io_emac0_inst_TX_CTL = sig_hps_io_emac0_inst_TX_CTL_temp;
   assign sig_hps_io_emac0_inst_RX_CLK_in = sig_hps_io_emac0_inst_RX_CLK;
   assign sig_hps_io_emac0_inst_RXD1_in = sig_hps_io_emac0_inst_RXD1;
   assign sig_hps_io_emac0_inst_RXD2_in = sig_hps_io_emac0_inst_RXD2;
   assign sig_hps_io_emac0_inst_RXD3_in = sig_hps_io_emac0_inst_RXD3;
   assign sig_hps_io_sdio_inst_CMD_oe = sig_hps_io_sdio_inst_CMD_oe_temp;
   assign sig_hps_io_sdio_inst_CMD = (sig_hps_io_sdio_inst_CMD_oe == 1)? sig_hps_io_sdio_inst_CMD_temp:'z;
   assign sig_hps_io_sdio_inst_CMD_in = (sig_hps_io_sdio_inst_CMD_oe == 0)? sig_hps_io_sdio_inst_CMD:'z;
   assign sig_hps_io_sdio_inst_D0_oe = sig_hps_io_sdio_inst_D0_oe_temp;
   assign sig_hps_io_sdio_inst_D0 = (sig_hps_io_sdio_inst_D0_oe == 1)? sig_hps_io_sdio_inst_D0_temp:'z;
   assign sig_hps_io_sdio_inst_D0_in = (sig_hps_io_sdio_inst_D0_oe == 0)? sig_hps_io_sdio_inst_D0:'z;
   assign sig_hps_io_sdio_inst_D1_oe = sig_hps_io_sdio_inst_D1_oe_temp;
   assign sig_hps_io_sdio_inst_D1 = (sig_hps_io_sdio_inst_D1_oe == 1)? sig_hps_io_sdio_inst_D1_temp:'z;
   assign sig_hps_io_sdio_inst_D1_in = (sig_hps_io_sdio_inst_D1_oe == 0)? sig_hps_io_sdio_inst_D1:'z;
   assign sig_hps_io_sdio_inst_CLK = sig_hps_io_sdio_inst_CLK_temp;
   assign sig_hps_io_sdio_inst_D2_oe = sig_hps_io_sdio_inst_D2_oe_temp;
   assign sig_hps_io_sdio_inst_D2 = (sig_hps_io_sdio_inst_D2_oe == 1)? sig_hps_io_sdio_inst_D2_temp:'z;
   assign sig_hps_io_sdio_inst_D2_in = (sig_hps_io_sdio_inst_D2_oe == 0)? sig_hps_io_sdio_inst_D2:'z;
   assign sig_hps_io_sdio_inst_D3_oe = sig_hps_io_sdio_inst_D3_oe_temp;
   assign sig_hps_io_sdio_inst_D3 = (sig_hps_io_sdio_inst_D3_oe == 1)? sig_hps_io_sdio_inst_D3_temp:'z;
   assign sig_hps_io_sdio_inst_D3_in = (sig_hps_io_sdio_inst_D3_oe == 0)? sig_hps_io_sdio_inst_D3:'z;
   assign sig_hps_io_uart0_inst_RX_in = sig_hps_io_uart0_inst_RX;
   assign sig_hps_io_uart0_inst_TX = sig_hps_io_uart0_inst_TX_temp;
   assign sig_hps_io_i2c0_inst_SDA_oe = sig_hps_io_i2c0_inst_SDA_oe_temp;
   assign sig_hps_io_i2c0_inst_SDA = (sig_hps_io_i2c0_inst_SDA_oe == 1)? sig_hps_io_i2c0_inst_SDA_temp:'z;
   assign sig_hps_io_i2c0_inst_SDA_in = (sig_hps_io_i2c0_inst_SDA_oe == 0)? sig_hps_io_i2c0_inst_SDA:'z;
   assign sig_hps_io_i2c0_inst_SCL_oe = sig_hps_io_i2c0_inst_SCL_oe_temp;
   assign sig_hps_io_i2c0_inst_SCL = (sig_hps_io_i2c0_inst_SCL_oe == 1)? sig_hps_io_i2c0_inst_SCL_temp:'z;
   assign sig_hps_io_i2c0_inst_SCL_in = (sig_hps_io_i2c0_inst_SCL_oe == 0)? sig_hps_io_i2c0_inst_SCL:'z;
   assign sig_hps_io_gpio_inst_GPIO41_oe = sig_hps_io_gpio_inst_GPIO41_oe_temp;
   assign sig_hps_io_gpio_inst_GPIO41 = (sig_hps_io_gpio_inst_GPIO41_oe == 1)? sig_hps_io_gpio_inst_GPIO41_temp:'z;
   assign sig_hps_io_gpio_inst_GPIO41_in = (sig_hps_io_gpio_inst_GPIO41_oe == 0)? sig_hps_io_gpio_inst_GPIO41:'z;
   assign sig_hps_io_gpio_inst_GPIO42_oe = sig_hps_io_gpio_inst_GPIO42_oe_temp;
   assign sig_hps_io_gpio_inst_GPIO42 = (sig_hps_io_gpio_inst_GPIO42_oe == 1)? sig_hps_io_gpio_inst_GPIO42_temp:'z;
   assign sig_hps_io_gpio_inst_GPIO42_in = (sig_hps_io_gpio_inst_GPIO42_oe == 0)? sig_hps_io_gpio_inst_GPIO42:'z;
   assign sig_hps_io_gpio_inst_GPIO43_oe = sig_hps_io_gpio_inst_GPIO43_oe_temp;
   assign sig_hps_io_gpio_inst_GPIO43 = (sig_hps_io_gpio_inst_GPIO43_oe == 1)? sig_hps_io_gpio_inst_GPIO43_temp:'z;
   assign sig_hps_io_gpio_inst_GPIO43_in = (sig_hps_io_gpio_inst_GPIO43_oe == 0)? sig_hps_io_gpio_inst_GPIO43:'z;
   assign sig_hps_io_gpio_inst_GPIO44_oe = sig_hps_io_gpio_inst_GPIO44_oe_temp;
   assign sig_hps_io_gpio_inst_GPIO44 = (sig_hps_io_gpio_inst_GPIO44_oe == 1)? sig_hps_io_gpio_inst_GPIO44_temp:'z;
   assign sig_hps_io_gpio_inst_GPIO44_in = (sig_hps_io_gpio_inst_GPIO44_oe == 0)? sig_hps_io_gpio_inst_GPIO44:'z;


   always @(sig_hps_io_emac0_inst_RXD0_in) begin
      if (sig_hps_io_emac0_inst_RXD0_local != sig_hps_io_emac0_inst_RXD0_in)
         -> signal_input_hps_io_emac0_inst_RXD0_change;
      sig_hps_io_emac0_inst_RXD0_local = sig_hps_io_emac0_inst_RXD0_in;
   end
   
   always @(sig_hps_io_emac0_inst_MDIO_in) begin
      if (sig_hps_io_emac0_inst_MDIO_oe == 0) begin
         if (sig_hps_io_emac0_inst_MDIO_local != sig_hps_io_emac0_inst_MDIO_in)
            -> signal_input_hps_io_emac0_inst_MDIO_change;
         sig_hps_io_emac0_inst_MDIO_local = sig_hps_io_emac0_inst_MDIO_in;
      end
   end
   
   always @(sig_hps_io_emac0_inst_RX_CTL_in) begin
      if (sig_hps_io_emac0_inst_RX_CTL_local != sig_hps_io_emac0_inst_RX_CTL_in)
         -> signal_input_hps_io_emac0_inst_RX_CTL_change;
      sig_hps_io_emac0_inst_RX_CTL_local = sig_hps_io_emac0_inst_RX_CTL_in;
   end
   
   always @(sig_hps_io_emac0_inst_RX_CLK_in) begin
      if (sig_hps_io_emac0_inst_RX_CLK_local != sig_hps_io_emac0_inst_RX_CLK_in)
         -> signal_input_hps_io_emac0_inst_RX_CLK_change;
      sig_hps_io_emac0_inst_RX_CLK_local = sig_hps_io_emac0_inst_RX_CLK_in;
   end
   
   always @(sig_hps_io_emac0_inst_RXD1_in) begin
      if (sig_hps_io_emac0_inst_RXD1_local != sig_hps_io_emac0_inst_RXD1_in)
         -> signal_input_hps_io_emac0_inst_RXD1_change;
      sig_hps_io_emac0_inst_RXD1_local = sig_hps_io_emac0_inst_RXD1_in;
   end
   
   always @(sig_hps_io_emac0_inst_RXD2_in) begin
      if (sig_hps_io_emac0_inst_RXD2_local != sig_hps_io_emac0_inst_RXD2_in)
         -> signal_input_hps_io_emac0_inst_RXD2_change;
      sig_hps_io_emac0_inst_RXD2_local = sig_hps_io_emac0_inst_RXD2_in;
   end
   
   always @(sig_hps_io_emac0_inst_RXD3_in) begin
      if (sig_hps_io_emac0_inst_RXD3_local != sig_hps_io_emac0_inst_RXD3_in)
         -> signal_input_hps_io_emac0_inst_RXD3_change;
      sig_hps_io_emac0_inst_RXD3_local = sig_hps_io_emac0_inst_RXD3_in;
   end
   
   always @(sig_hps_io_sdio_inst_CMD_in) begin
      if (sig_hps_io_sdio_inst_CMD_oe == 0) begin
         if (sig_hps_io_sdio_inst_CMD_local != sig_hps_io_sdio_inst_CMD_in)
            -> signal_input_hps_io_sdio_inst_CMD_change;
         sig_hps_io_sdio_inst_CMD_local = sig_hps_io_sdio_inst_CMD_in;
      end
   end
   
   always @(sig_hps_io_sdio_inst_D0_in) begin
      if (sig_hps_io_sdio_inst_D0_oe == 0) begin
         if (sig_hps_io_sdio_inst_D0_local != sig_hps_io_sdio_inst_D0_in)
            -> signal_input_hps_io_sdio_inst_D0_change;
         sig_hps_io_sdio_inst_D0_local = sig_hps_io_sdio_inst_D0_in;
      end
   end
   
   always @(sig_hps_io_sdio_inst_D1_in) begin
      if (sig_hps_io_sdio_inst_D1_oe == 0) begin
         if (sig_hps_io_sdio_inst_D1_local != sig_hps_io_sdio_inst_D1_in)
            -> signal_input_hps_io_sdio_inst_D1_change;
         sig_hps_io_sdio_inst_D1_local = sig_hps_io_sdio_inst_D1_in;
      end
   end
   
   always @(sig_hps_io_sdio_inst_D2_in) begin
      if (sig_hps_io_sdio_inst_D2_oe == 0) begin
         if (sig_hps_io_sdio_inst_D2_local != sig_hps_io_sdio_inst_D2_in)
            -> signal_input_hps_io_sdio_inst_D2_change;
         sig_hps_io_sdio_inst_D2_local = sig_hps_io_sdio_inst_D2_in;
      end
   end
   
   always @(sig_hps_io_sdio_inst_D3_in) begin
      if (sig_hps_io_sdio_inst_D3_oe == 0) begin
         if (sig_hps_io_sdio_inst_D3_local != sig_hps_io_sdio_inst_D3_in)
            -> signal_input_hps_io_sdio_inst_D3_change;
         sig_hps_io_sdio_inst_D3_local = sig_hps_io_sdio_inst_D3_in;
      end
   end
   
   always @(sig_hps_io_uart0_inst_RX_in) begin
      if (sig_hps_io_uart0_inst_RX_local != sig_hps_io_uart0_inst_RX_in)
         -> signal_input_hps_io_uart0_inst_RX_change;
      sig_hps_io_uart0_inst_RX_local = sig_hps_io_uart0_inst_RX_in;
   end
   
   always @(sig_hps_io_i2c0_inst_SDA_in) begin
      if (sig_hps_io_i2c0_inst_SDA_oe == 0) begin
         if (sig_hps_io_i2c0_inst_SDA_local != sig_hps_io_i2c0_inst_SDA_in)
            -> signal_input_hps_io_i2c0_inst_SDA_change;
         sig_hps_io_i2c0_inst_SDA_local = sig_hps_io_i2c0_inst_SDA_in;
      end
   end
   
   always @(sig_hps_io_i2c0_inst_SCL_in) begin
      if (sig_hps_io_i2c0_inst_SCL_oe == 0) begin
         if (sig_hps_io_i2c0_inst_SCL_local != sig_hps_io_i2c0_inst_SCL_in)
            -> signal_input_hps_io_i2c0_inst_SCL_change;
         sig_hps_io_i2c0_inst_SCL_local = sig_hps_io_i2c0_inst_SCL_in;
      end
   end
   
   always @(sig_hps_io_gpio_inst_GPIO41_in) begin
      if (sig_hps_io_gpio_inst_GPIO41_oe == 0) begin
         if (sig_hps_io_gpio_inst_GPIO41_local != sig_hps_io_gpio_inst_GPIO41_in)
            -> signal_input_hps_io_gpio_inst_GPIO41_change;
         sig_hps_io_gpio_inst_GPIO41_local = sig_hps_io_gpio_inst_GPIO41_in;
      end
   end
   
   always @(sig_hps_io_gpio_inst_GPIO42_in) begin
      if (sig_hps_io_gpio_inst_GPIO42_oe == 0) begin
         if (sig_hps_io_gpio_inst_GPIO42_local != sig_hps_io_gpio_inst_GPIO42_in)
            -> signal_input_hps_io_gpio_inst_GPIO42_change;
         sig_hps_io_gpio_inst_GPIO42_local = sig_hps_io_gpio_inst_GPIO42_in;
      end
   end
   
   always @(sig_hps_io_gpio_inst_GPIO43_in) begin
      if (sig_hps_io_gpio_inst_GPIO43_oe == 0) begin
         if (sig_hps_io_gpio_inst_GPIO43_local != sig_hps_io_gpio_inst_GPIO43_in)
            -> signal_input_hps_io_gpio_inst_GPIO43_change;
         sig_hps_io_gpio_inst_GPIO43_local = sig_hps_io_gpio_inst_GPIO43_in;
      end
   end
   
   always @(sig_hps_io_gpio_inst_GPIO44_in) begin
      if (sig_hps_io_gpio_inst_GPIO44_oe == 0) begin
         if (sig_hps_io_gpio_inst_GPIO44_local != sig_hps_io_gpio_inst_GPIO44_in)
            -> signal_input_hps_io_gpio_inst_GPIO44_change;
         sig_hps_io_gpio_inst_GPIO44_local = sig_hps_io_gpio_inst_GPIO44_in;
      end
   end
   


// synthesis translate_on

endmodule

