module dfftest(
input wire in1;
input wire in2;
output wire out1;
wire SYNTHESIZED_WIRE_7;
wire SYNTHESIZED_WIRE_8;
wire SYNTHESIZED_WIRE_4;
assign SYNTHESIZED_WIRE_7 = 1;
assign SYNTHESIZED_WIRE_8 = 1;
dff2_0 b2v_inst(
.CLK(in2),
.D(in1),
.PRN(SYNTHESIZED_WIRE_7),
.CLRN(SYNTHESIZED_WIRE_7),
.Q(SYNTHESIZED_WIRE_4)
);
jkff2_1 b2v_inst2(
.K(SYNTHESIZED_WIRE_8),
.CLRN(SYNTHESIZED_WIRE_8),
.CLK(SYNTHESIZED_WIRE_4),
.PRN(SYNTHESIZED_WIRE_8),
.J(SYNTHESIZED_WIRE_8),
.Q(out1));
endmodule
module dff2_0(CLK,D,PRN,CLRN,Q);
/* synthesis black_box */
input CLK;
input D;
input PRN;
input CLRN;
output Q;
endmodule
module jkff2_1(K,CLRN,CLK,PRN,J,Q);
/* synthesis black_box */
input K;
input CLRN;
input CLK;
input PRN;
input J;
output Q;
endmodule
連結已複製
hello.
d flipflop test result
It works normally with block diagram.
It does not work as a verilog-hdl file. d f / f is maxplus dff2.
sofware is quatus prime 19.1 and verilog is an auto-converted file.
Hi Bongjo,
May I know following info:
- What type of Quartus Prime you are suing? Pro,Std,Lite?
- What kind of error(s) you get and expectation for your design? Is is fail to compile or cannot simulate etc
Thanks,
Regards
Hi.
Type is Lite Quartus Prime
If there is a verilog file, there is no error. D FlipFlop JK There is no output from FlipFlop.
If you simulate using dff2 and jkff2 of MaxplusII Lib, the output does not appear.
All other logics of MAXV 5M570 operate normally, but only Dff2 jkff2 of MAXPLUSII does not operate normally.
I think this is a bug from Quartus Compiler.
thanks you.
