Altera_Forum
Honored Contributor
15 years agoLOW Power VS. DUAL-EDGE TRIGGERED FLIP-FLOPS
Hi !guys,
the book Advanced FPGA Design by STEVE KILTS says DUAL-EDGE TRIGGERED FLIP-FLOPS can help reduce power. this is his refernce code: module dualedge( output reg dataout, input clk, datain); reg ff0, ff1; always @(posedge clk) ff0 <= datain; always @(posedge clk or negedge clk) begin ff1 <= ff0; dataout <= ff1; end endmodule BUT,this code can not work,QUARTUS 80 give me this error:"Error (10239): Verilog HDL Always Construct error at dualedge.v(7): event control cannot test for both positive and negative edges of variable "clk"" Dose Altera's Device support this type of dff? AND,Is STEVE KILTS's strategy to lower the power is useful?