module tb_arduino_shield (
  inout wire [51:0] EXP,
  input wire        SPI0,
  input wire        SPI1,
  input wire        I2C0,
  input wire        I2C1,
  input wire        UART0,
  input wire        UART1
  );

  wire [15:0] SH0_IO;
  wire [15:0] SH1_IO;
  wire I2C_OE_0;
  wire I2C_OE_1;


  arduino_adaptor
  u_arduino_adaptor
  (
  .SPI0     (SPI0),
  .SPI1     (SPI1),
  .I2C0     (I2C0),
  .I2C1     (I2C1),
  .EXP      (EXP),
  .SH0_IO   (SH0_IO),
  .SH1_IO   (SH1_IO),
  .I2C_OE_0 (I2C_OE_0),
  .I2C_OE_1 (I2C_OE_1)
  );

  arduino_shield
  u_arduino_shield0
  (
  .UART   (UART0),
  .I2C    (I2C1),
  .SPI    (SPI0),
  .SH_IO  (SH0_IO),
  .I2C_OE (I2C_OE_0)
  );

  arduino_shield

  u_arduino_shield1
  (
  .UART   (UART1),
  .I2C    (I2C1),
  .SPI    (SPI1),
  .SH_IO  (SH1_IO),
  .I2C_OE (I2C_OE_1)
  );

endmodule