Konze
Newbie level 1
Hello there,
I have the following Verilog modules which I would like to synthesize with the Synopsys Design Compiler:
PARENT
CHILD
SUBCHILD
When I set negate in PARENT to 1 I'm able synthesize the PARENT module with CHILD and SUBCHILD without any problems with the Synopsys Design Compiler.
However, when I set negate in Parent to 0 I get the following error message during synthesis:
Why isn't it possible to change the parameter to a value other than the default for synthesis with the Synopsis Design Compiler?
Best regards
konze
I have the following Verilog modules which I would like to synthesize with the Synopsys Design Compiler:
PARENT
Code:
module PARENT();
wire in;
wire out;
CHILD #(
.negate(1)
) child (
.in(in),
.out(out)
);
endmodule
CHILD
Code:
module CHILD(
in,
out
);
parameter negate = 1;
input in;
wire in;
output out;
wire out;
SUBCHILD #(
.negate(negate)
) subchild (
.in(in),
.out(out)
);
endmodule
SUBCHILD
Code:
module SUBCHILD(
in,
out
);
parameter negate = 1;
input in;
wire in;
output out;
wire out;
generate
if(negate == 1) begin
assign out = ~in;
end
else begin
assign out = in;
end
endgenerate
endmodule
When I set negate in PARENT to 1 I'm able synthesize the PARENT module with CHILD and SUBCHILD without any problems with the Synopsys Design Compiler.
However, when I set negate in Parent to 0 I get the following error message during synthesis:
Code:
Processing 'PARENT'
Information: Building the design 'CHILD' instantiated from design 'PARENT' with
the parameters "negate=0". (HDL-193)
Warning: Cannot find the design 'CHILD' in the library 'WORK'. (LBR-1)
Warning: Unable to resolve reference 'CHILD' in 'PARENT'. (LINK-5)
Why isn't it possible to change the parameter to a value other than the default for synthesis with the Synopsis Design Compiler?
Best regards
konze