data/full_repos/permissive/1122957/coregen/temac_v6/v6_emac_v1_3_patch.v
1: b"%Error: data/full_repos/permissive/1122957/coregen/temac_v6/v6_emac_v1_3_patch.v:709: Cannot find file containing module: 'ODDR'\n  ODDR gmii_tx_clk_oddr (\n  ^~~~\n        ... Looked in:\n             data/full_repos/permissive/1122957/coregen/temac_v6,data/full_repos/permissive/1122957/ODDR\n             data/full_repos/permissive/1122957/coregen/temac_v6,data/full_repos/permissive/1122957/ODDR.v\n             data/full_repos/permissive/1122957/coregen/temac_v6,data/full_repos/permissive/1122957/ODDR.sv\n             ODDR\n             ODDR.v\n             ODDR.sv\n             obj_dir/ODDR\n             obj_dir/ODDR.v\n             obj_dir/ODDR.sv\n%Error: data/full_repos/permissive/1122957/coregen/temac_v6/v6_emac_v1_3_patch.v:743: Cannot find file containing module: 'IODELAY'\n  IODELAY #(\n  ^~~~~~~\n%Error: data/full_repos/permissive/1122957/coregen/temac_v6/v6_emac_v1_3_patch.v:760: Cannot find file containing module: 'IODELAY'\n IODELAY #(\n ^~~~~~~\n%Error: data/full_repos/permissive/1122957/coregen/temac_v6/v6_emac_v1_3_patch.v:777: Cannot find file containing module: 'IODELAY'\n  IODELAY #(\n  ^~~~~~~\n%Error: data/full_repos/permissive/1122957/coregen/temac_v6/v6_emac_v1_3_patch.v:794: Cannot find file containing module: 'IODELAY'\n  IODELAY #(\n  ^~~~~~~\n%Error: data/full_repos/permissive/1122957/coregen/temac_v6/v6_emac_v1_3_patch.v:811: Cannot find file containing module: 'IODELAY'\n  IODELAY #(\n  ^~~~~~~\n%Error: data/full_repos/permissive/1122957/coregen/temac_v6/v6_emac_v1_3_patch.v:828: Cannot find file containing module: 'IODELAY'\n  IODELAY #(\n  ^~~~~~~\n%Error: data/full_repos/permissive/1122957/coregen/temac_v6/v6_emac_v1_3_patch.v:845: Cannot find file containing module: 'IODELAY'\n  IODELAY #(\n  ^~~~~~~\n%Error: data/full_repos/permissive/1122957/coregen/temac_v6/v6_emac_v1_3_patch.v:862: Cannot find file containing module: 'IODELAY'\n  IODELAY #(\n  ^~~~~~~\n%Error: data/full_repos/permissive/1122957/coregen/temac_v6/v6_emac_v1_3_patch.v:879: Cannot find file containing module: 'IODELAY'\n  IODELAY #(\n  ^~~~~~~\n%Error: data/full_repos/permissive/1122957/coregen/temac_v6/v6_emac_v1_3_patch.v:896: Cannot find file containing module: 'IODELAY'\n IODELAY #(\n ^~~~~~~\n%Error: data/full_repos/permissive/1122957/coregen/temac_v6/v6_emac_v1_3_patch.v:459: Cannot find file containing module: 'TEMAC_SINGLE'\n    TEMAC_SINGLE #(\n    ^~~~~~~~~~~~\n%Error: Exiting due to 12 error(s)\n"
module gmii_if (
  RESET,

  GMII_TXD,
  GMII_TX_EN,
  GMII_TX_ER,
  GMII_TX_CLK,
  GMII_RXD,
  GMII_RX_DV,
  GMII_RX_ER,

  TXD_FROM_MAC,
  TX_EN_FROM_MAC,
  TX_ER_FROM_MAC,
  TX_CLK,
  RXD_TO_MAC,
  RX_DV_TO_MAC,
  RX_ER_TO_MAC,
  RX_CLK
);

  input        RESET;
  output [7:0] GMII_TXD;
  output       GMII_TX_EN;
  output       GMII_TX_ER;
  output       GMII_TX_CLK;
  input  [7:0] GMII_RXD;
  input        GMII_RX_DV;
  input        GMII_RX_ER;
  input  [7:0] TXD_FROM_MAC;
  input        TX_EN_FROM_MAC;
  input        TX_ER_FROM_MAC;
  input        TX_CLK;
  output [7:0] RXD_TO_MAC;
  output       RX_DV_TO_MAC;
  output       RX_ER_TO_MAC;
  input        RX_CLK;

  reg    [7:0] RXD_TO_MAC;
  reg          RX_DV_TO_MAC;
  reg          RX_ER_TO_MAC;
  reg    [7:0] GMII_TXD;
  reg          GMII_TX_EN;
  reg          GMII_TX_ER;
  wire   [7:0] GMII_RXD_DLY;
  wire         GMII_RX_DV_DLY;
  wire         GMII_RX_ER_DLY;







  ODDR gmii_tx_clk_oddr (
     .Q  (GMII_TX_CLK),
     .C  (TX_CLK),
     .CE (1'b1),
     .D1 (1'b0),
     .D2 (1'b1),
     .R  (RESET),
     .S  (1'b0)
  );






  always @(posedge TX_CLK, posedge RESET)
  begin
     if (RESET == 1'b1)
     begin
        GMII_TX_EN <= 1'b0;
        GMII_TX_ER <= 1'b0;
        GMII_TXD   <= 8'h00;
     end
     else
     begin
        GMII_TX_EN <= TX_EN_FROM_MAC;
        GMII_TX_ER <= TX_ER_FROM_MAC;
        GMII_TXD   <= TXD_FROM_MAC;
     end
  end




  IODELAY #(
    .IDELAY_TYPE           ("FIXED"),
    .IDELAY_VALUE          (0),
    .HIGH_PERFORMANCE_MODE ("TRUE")
  )
  ideld0 (
    .IDATAIN(GMII_RXD[0]),
    .DATAOUT(GMII_RXD_DLY[0]),
    .DATAIN(1'b0),
    .ODATAIN(1'b0),
    .C(1'b0),
    .CE(1'b0),
    .INC(1'b0),
    .T(1'b0),
    .RST(1'b0)
  );

 IODELAY #(
    .IDELAY_TYPE           ("FIXED"),
    .IDELAY_VALUE          (0),
    .HIGH_PERFORMANCE_MODE ("TRUE")
  )
  ideld1 (
    .IDATAIN(GMII_RXD[1]),
    .DATAOUT(GMII_RXD_DLY[1]),
    .DATAIN(1'b0),
    .ODATAIN(1'b0),
    .C(1'b0),
    .CE(1'b0),
    .INC(1'b0),
    .T(1'b0),
    .RST(1'b0)
  );

  IODELAY #(
    .IDELAY_TYPE           ("FIXED"),
    .IDELAY_VALUE          (0),
    .HIGH_PERFORMANCE_MODE ("TRUE")
  )
  ideld2 (
    .IDATAIN(GMII_RXD[2]),
    .DATAOUT(GMII_RXD_DLY[2]),
    .DATAIN(1'b0),
    .ODATAIN(1'b0),
    .C(1'b0),
    .CE(1'b0),
    .INC(1'b0),
    .T(1'b0),
    .RST(1'b0)
  );

  IODELAY #(
    .IDELAY_TYPE           ("FIXED"),
    .IDELAY_VALUE          (0),
    .HIGH_PERFORMANCE_MODE ("TRUE")
  )
  ideld3 (
    .IDATAIN(GMII_RXD[3]),
    .DATAOUT(GMII_RXD_DLY[3]),
    .DATAIN(1'b0),
    .ODATAIN(1'b0),
    .C(1'b0),
    .CE(1'b0),
    .INC(1'b0),
    .T(1'b0),
    .RST(1'b0)
  );

  IODELAY #(
    .IDELAY_TYPE           ("FIXED"),
    .IDELAY_VALUE          (0),
    .HIGH_PERFORMANCE_MODE ("TRUE")
  )
  ideld4 (
    .IDATAIN(GMII_RXD[4]),
    .DATAOUT(GMII_RXD_DLY[4]),
    .DATAIN(1'b0),
    .ODATAIN(1'b0),
    .C(1'b0),
    .CE(1'b0),
    .INC(1'b0),
    .T(1'b0),
    .RST(1'b0)
  );

  IODELAY #(
    .IDELAY_TYPE           ("FIXED"),
    .IDELAY_VALUE          (0),
    .HIGH_PERFORMANCE_MODE ("TRUE")
  )
  ideld5 (
    .IDATAIN(GMII_RXD[5]),
    .DATAOUT(GMII_RXD_DLY[5]),
    .DATAIN(1'b0),
    .ODATAIN(1'b0),
    .C(1'b0),
    .CE(1'b0),
    .INC(1'b0),
    .T(1'b0),
    .RST(1'b0)
  );

  IODELAY #(
    .IDELAY_TYPE           ("FIXED"),
    .IDELAY_VALUE          (0),
    .HIGH_PERFORMANCE_MODE ("TRUE")
  )
  ideld6 (
    .IDATAIN(GMII_RXD[6]),
    .DATAOUT(GMII_RXD_DLY[6]),
    .DATAIN(1'b0),
    .ODATAIN(1'b0),
    .C(1'b0),
    .CE(1'b0),
    .INC(1'b0),
    .T(1'b0),
    .RST(1'b0)
  );

  IODELAY #(
    .IDELAY_TYPE           ("FIXED"),
    .IDELAY_VALUE          (0),
    .HIGH_PERFORMANCE_MODE ("TRUE")
  )
  ideld7 (
    .IDATAIN(GMII_RXD[7]),
    .DATAOUT(GMII_RXD_DLY[7]),
    .DATAIN(1'b0),
    .ODATAIN(1'b0),
    .C(1'b0),
    .CE(1'b0),
    .INC(1'b0),
    .T(1'b0),
    .RST(1'b0)
  );

  IODELAY #(
    .IDELAY_TYPE           ("FIXED"),
    .IDELAY_VALUE          (0),
    .HIGH_PERFORMANCE_MODE ("TRUE")
  )
  ideldv(
    .IDATAIN(GMII_RX_DV),
    .DATAOUT(GMII_RX_DV_DLY),
    .DATAIN(1'b0),
    .ODATAIN(1'b0),
    .C(1'b0),
    .CE(1'b0),
    .INC(1'b0),
    .T(1'b0),
    .RST(1'b0)
 );

 IODELAY #(
   .IDELAY_TYPE           ("FIXED"),
   .IDELAY_VALUE          (0),
   .HIGH_PERFORMANCE_MODE ("TRUE")
 )
 ideler(
   .IDATAIN(GMII_RX_ER),
   .DATAOUT(GMII_RX_ER_DLY),
   .DATAIN(1'b0),
   .ODATAIN(1'b0),
   .C(1'b0),
   .CE(1'b0),
   .INC(1'b0),
   .T(1'b0),
   .RST(1'b0)
 );






  always @(posedge RX_CLK, posedge RESET)
  begin
     if (RESET == 1'b1)
     begin
        RX_DV_TO_MAC <= 1'b0;
        RX_ER_TO_MAC <= 1'b0;
        RXD_TO_MAC   <= 8'h00;
     end
     else
     begin
        RX_DV_TO_MAC <= GMII_RX_DV_DLY;
        RX_ER_TO_MAC <= GMII_RX_ER_DLY;
        RXD_TO_MAC   <= GMII_RXD_DLY;
     end
  end

endmodule
module gmii_if (
  RESET,

  GMII_TXD,
  GMII_TX_EN,
  GMII_TX_ER,
  GMII_TX_CLK,
  GMII_RXD,
  GMII_RX_DV,
  GMII_RX_ER,

  TXD_FROM_MAC,
  TX_EN_FROM_MAC,
  TX_ER_FROM_MAC,
  TX_CLK,
  RXD_TO_MAC,
  RX_DV_TO_MAC,
  RX_ER_TO_MAC,
  RX_CLK
);


  input        RESET;
  output [7:0] GMII_TXD;
  output       GMII_TX_EN;
  output       GMII_TX_ER;
  output       GMII_TX_CLK;
  input  [7:0] GMII_RXD;
  input        GMII_RX_DV;
  input        GMII_RX_ER;
  input  [7:0] TXD_FROM_MAC;
  input        TX_EN_FROM_MAC;
  input        TX_ER_FROM_MAC;
  input        TX_CLK;
  output [7:0] RXD_TO_MAC;
  output       RX_DV_TO_MAC;
  output       RX_ER_TO_MAC;
  input        RX_CLK;

  reg    [7:0] RXD_TO_MAC;
  reg          RX_DV_TO_MAC;
  reg          RX_ER_TO_MAC;
  reg    [7:0] GMII_TXD;
  reg          GMII_TX_EN;
  reg          GMII_TX_ER;
  wire   [7:0] GMII_RXD_DLY;
  wire         GMII_RX_DV_DLY;
  wire         GMII_RX_ER_DLY;







  ODDR gmii_tx_clk_oddr (
     .Q  (GMII_TX_CLK),
     .C  (TX_CLK),
     .CE (1'b1),
     .D1 (1'b0),
     .D2 (1'b1),
     .R  (RESET),
     .S  (1'b0)
  );






  always @(posedge TX_CLK, posedge RESET)
  begin
     if (RESET == 1'b1)
     begin
        GMII_TX_EN <= 1'b0;
        GMII_TX_ER <= 1'b0;
        GMII_TXD   <= 8'h00;
     end
     else
     begin
        GMII_TX_EN <= TX_EN_FROM_MAC;
        GMII_TX_ER <= TX_ER_FROM_MAC;
        GMII_TXD   <= TXD_FROM_MAC;
     end
  end




  IODELAY #(
    .IDELAY_TYPE           ("FIXED"),
    .IDELAY_VALUE          (0),
    .HIGH_PERFORMANCE_MODE ("TRUE")
  )
  ideld0 (
    .IDATAIN(GMII_RXD[0]),
    .DATAOUT(GMII_RXD_DLY[0]),
    .DATAIN(1'b0),
    .ODATAIN(1'b0),
    .C(1'b0),
    .CE(1'b0),
    .INC(1'b0),
    .T(1'b0),
    .RST(1'b0)
  );

 IODELAY #(
    .IDELAY_TYPE           ("FIXED"),
    .IDELAY_VALUE          (0),
    .HIGH_PERFORMANCE_MODE ("TRUE")
  )
  ideld1 (
    .IDATAIN(GMII_RXD[1]),
    .DATAOUT(GMII_RXD_DLY[1]),
    .DATAIN(1'b0),
    .ODATAIN(1'b0),
    .C(1'b0),
    .CE(1'b0),
    .INC(1'b0),
    .T(1'b0),
    .RST(1'b0)
  );

  IODELAY #(
    .IDELAY_TYPE           ("FIXED"),
    .IDELAY_VALUE          (0),
    .HIGH_PERFORMANCE_MODE ("TRUE")
  )
  ideld2 (
    .IDATAIN(GMII_RXD[2]),
    .DATAOUT(GMII_RXD_DLY[2]),
    .DATAIN(1'b0),
    .ODATAIN(1'b0),
    .C(1'b0),
    .CE(1'b0),
    .INC(1'b0),
    .T(1'b0),
    .RST(1'b0)
  );

  IODELAY #(
    .IDELAY_TYPE           ("FIXED"),
    .IDELAY_VALUE          (0),
    .HIGH_PERFORMANCE_MODE ("TRUE")
  )
  ideld3 (
    .IDATAIN(GMII_RXD[3]),
    .DATAOUT(GMII_RXD_DLY[3]),
    .DATAIN(1'b0),
    .ODATAIN(1'b0),
    .C(1'b0),
    .CE(1'b0),
    .INC(1'b0),
    .T(1'b0),
    .RST(1'b0)
  );

  IODELAY #(
    .IDELAY_TYPE           ("FIXED"),
    .IDELAY_VALUE          (0),
    .HIGH_PERFORMANCE_MODE ("TRUE")
  )
  ideld4 (
    .IDATAIN(GMII_RXD[4]),
    .DATAOUT(GMII_RXD_DLY[4]),
    .DATAIN(1'b0),
    .ODATAIN(1'b0),
    .C(1'b0),
    .CE(1'b0),
    .INC(1'b0),
    .T(1'b0),
    .RST(1'b0)
  );

  IODELAY #(
    .IDELAY_TYPE           ("FIXED"),
    .IDELAY_VALUE          (0),
    .HIGH_PERFORMANCE_MODE ("TRUE")
  )
  ideld5 (
    .IDATAIN(GMII_RXD[5]),
    .DATAOUT(GMII_RXD_DLY[5]),
    .DATAIN(1'b0),
    .ODATAIN(1'b0),
    .C(1'b0),
    .CE(1'b0),
    .INC(1'b0),
    .T(1'b0),
    .RST(1'b0)
  );

  IODELAY #(
    .IDELAY_TYPE           ("FIXED"),
    .IDELAY_VALUE          (0),
    .HIGH_PERFORMANCE_MODE ("TRUE")
  )
  ideld6 (
    .IDATAIN(GMII_RXD[6]),
    .DATAOUT(GMII_RXD_DLY[6]),
    .DATAIN(1'b0),
    .ODATAIN(1'b0),
    .C(1'b0),
    .CE(1'b0),
    .INC(1'b0),
    .T(1'b0),
    .RST(1'b0)
  );

  IODELAY #(
    .IDELAY_TYPE           ("FIXED"),
    .IDELAY_VALUE          (0),
    .HIGH_PERFORMANCE_MODE ("TRUE")
  )
  ideld7 (
    .IDATAIN(GMII_RXD[7]),
    .DATAOUT(GMII_RXD_DLY[7]),
    .DATAIN(1'b0),
    .ODATAIN(1'b0),
    .C(1'b0),
    .CE(1'b0),
    .INC(1'b0),
    .T(1'b0),
    .RST(1'b0)
  );

  IODELAY #(
    .IDELAY_TYPE           ("FIXED"),
    .IDELAY_VALUE          (0),
    .HIGH_PERFORMANCE_MODE ("TRUE")
  )
  ideldv(
    .IDATAIN(GMII_RX_DV),
    .DATAOUT(GMII_RX_DV_DLY),
    .DATAIN(1'b0),
    .ODATAIN(1'b0),
    .C(1'b0),
    .CE(1'b0),
    .INC(1'b0),
    .T(1'b0),
    .RST(1'b0)
 );

 IODELAY #(
   .IDELAY_TYPE           ("FIXED"),
   .IDELAY_VALUE          (0),
   .HIGH_PERFORMANCE_MODE ("TRUE")
 )
 ideler(
   .IDATAIN(GMII_RX_ER),
   .DATAOUT(GMII_RX_ER_DLY),
   .DATAIN(1'b0),
   .ODATAIN(1'b0),
   .C(1'b0),
   .CE(1'b0),
   .INC(1'b0),
   .T(1'b0),
   .RST(1'b0)
 );






  always @(posedge RX_CLK, posedge RESET)
  begin
     if (RESET == 1'b1)
     begin
        RX_DV_TO_MAC <= 1'b0;
        RX_ER_TO_MAC <= 1'b0;
        RXD_TO_MAC   <= 8'h00;
     end
     else
     begin
        RX_DV_TO_MAC <= GMII_RX_DV_DLY;
        RX_ER_TO_MAC <= GMII_RX_ER_DLY;
        RXD_TO_MAC   <= GMII_RXD_DLY;
     end
  end

endmodule