Commit 6ad657e2 authored by Andrey Filippov's avatar Andrey Filippov

Added IODELAY_GROUP synthesis attribute

parent 63e3b7c0
......@@ -20,12 +20,16 @@
*******************************************************************************/
`timescale 1ns/1ps
module idelay_ctrl(
module idelay_ctrl
//SuppressWarnings VEditor - IODELAY_GRP used in (* *) construnt
# ( parameter IODELAY_GRP = "IODELAY_MEMORY"
) (
input refclk,
input rst,
output rdy
);
(* IODELAY_GROUP = IODELAY_GRP *)
IDELAYCTRL idelay_ctrl_i(
.RDY(rdy),
.REFCLK(refclk),
......
......@@ -20,7 +20,13 @@
*******************************************************************************/
`timescale 1ns/1ps
module idelay_fine_pipe(
module idelay_fine_pipe
//SuppressWarnings VEditor - IODELAY_GRP used in (* *) construnt
# ( parameter IODELAY_GRP = "IODELAY_MEMORY",
parameter integer DELAY_VALUE = 0,
parameter real REFCLK_FREQUENCY = 200.0,
parameter HIGH_PERFORMANCE_MODE = "FALSE"
) (
input clk,
input rst,
input set,
......@@ -29,9 +35,6 @@ module idelay_fine_pipe(
input data_in,
output data_out
);
parameter integer DELAY_VALUE = 0;
parameter real REFCLK_FREQUENCY = 200.0;
parameter HIGH_PERFORMANCE_MODE = "FALSE";
reg [2:0] fdly_pre=DELAY_VALUE[2:0], fdly=DELAY_VALUE[2:0];
always @ (posedge clk or posedge rst) begin
......@@ -40,7 +43,7 @@ module idelay_fine_pipe(
if (rst) fdly <= DELAY_VALUE[2:0];
else if (set) fdly <= fdly_pre;
end
IDELAYE2_FINEDELAY
(* IODELAY_GROUP = IODELAY_GRP *) IDELAYE2_FINEDELAY
#(
.CINVCTRL_SEL("FALSE"),
.DELAY_SRC("IDATAIN"),
......
......@@ -10,7 +10,7 @@
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* idelay_fine_pipe.v is distributed in the hope that it will be useful,
* odelay_fine_pipe.v is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
......@@ -20,7 +20,13 @@
*******************************************************************************/
`timescale 1ns/1ps
module odelay_fine_pipe(
module odelay_fine_pipe
//SuppressWarnings VEditor - IODELAY_GRP used in (* *) construnt
# ( parameter IODELAY_GRP = "IODELAY_MEMORY",
parameter integer DELAY_VALUE = 0,
parameter real REFCLK_FREQUENCY = 200.0,
parameter HIGH_PERFORMANCE_MODE = "FALSE"
) (
input clk,
input rst,
input set,
......@@ -29,10 +35,6 @@ module odelay_fine_pipe(
input data_in,
output data_out
);
parameter integer DELAY_VALUE = 0;
parameter real REFCLK_FREQUENCY = 200.0;
parameter HIGH_PERFORMANCE_MODE = "FALSE";
reg [2:0] fdly_pre=DELAY_VALUE[2:0], fdly=DELAY_VALUE[2:0];
always @ (posedge clk or posedge rst) begin
if (rst) fdly_pre <= DELAY_VALUE[2:0];
......@@ -41,7 +43,7 @@ module odelay_fine_pipe(
else if (set) fdly <= fdly_pre;
end
ODELAYE2_FINEDELAY
(* IODELAY_GROUP = IODELAY_GRP *) ODELAYE2_FINEDELAY
#(
.CINVCTRL_SEL("FALSE"),
.DELAY_SRC("ODATAIN"),
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment