4 ms·
Sigma-Delta is just an adder which is equivalent to a comparator thus it might be cheaper actually: module pdm(clk, level, O); parameter N = 16; input
by FullyFunctional 6y ago
Sigma-Delta is just an adder which is equivalent to a comparator thus it might be cheaper actually:
module pdm(clk, level, O);
parameter N = 16;
input wire clk;
input wire [N-1:0] level;
output wire O;
reg [N+1:0] sigma = 0;
assign O = ~sigma[N+1];
always @(posedge clk) sigma <= sigma + {O,O,level};
endmodule
I’ll grant you that PWM is a bit more intuitive. I bet there is a more thorough comparison between them but I haven’t seen it.