jasontang736
Newbie level 2
[moved] "Target library contains no replacement for register" - How to solve ?
I am synthesizing a cholesky decomposition algorithm using verilog and synopsys DC. I've also written a customized cell library, which contains the following cell:
AND
OR
XOR
IV
NAND
NOR
XNOR
DFF
MUX
It was sufficient for me to compile functions like Division and Sqrt. However, when compiling my cholesky decomposition, it failed and outputs errors like
Target library contains no replacement for register 'A_reg[1][1][12]' (**FFGEN**). (TRANS-4)
What's missing in my library?
Attachment: **broken link removed** **broken link removed**
Sqrt.v:
I am synthesizing a cholesky decomposition algorithm using verilog and synopsys DC. I've also written a customized cell library, which contains the following cell:
AND
OR
XOR
IV
NAND
NOR
XNOR
DFF
MUX
It was sufficient for me to compile functions like Division and Sqrt. However, when compiling my cholesky decomposition, it failed and outputs errors like
Target library contains no replacement for register 'A_reg[1][1][12]' (**FFGEN**). (TRANS-4)
What's missing in my library?
Attachment: **broken link removed** **broken link removed**
Sqrt.v:
Code:
module Sqrt(clk, rst, in, out, finished);
// Compute sqrt(in), assuming both positive
input clk,rst;
input [23:0] in; // The first 8 bits used for integer part, the last 8 bits for precision
output reg [23:0] out;
output reg finished;
wire [23:0] oo;
assign oo = (out*out);
always @ (posedge clk or posedge rst)
begin
if (rst) begin
out = 0;
finished = 1'b0;
end else begin
if (oo<in) begin
out = out + 1;
end else begin
finished = 1'b1;
end
end
end
endmodule
Last edited by a moderator: