Added sampler and RC model
This commit is contained in:
24
HW/sigmadelta_sampler.v
Normal file
24
HW/sigmadelta_sampler.v
Normal file
@@ -0,0 +1,24 @@
|
||||
`timescale 1ns/1ps
|
||||
|
||||
module sigmadelta_sampler(
|
||||
input wire clk,
|
||||
input wire A,
|
||||
input wire B,
|
||||
output wire out
|
||||
);
|
||||
|
||||
wire O;
|
||||
reg out_r;
|
||||
|
||||
TLVDS_IBUF m_cmp(
|
||||
.I(A),
|
||||
.IB(B),
|
||||
.O(O)
|
||||
);
|
||||
|
||||
always @(posedge clk) begin
|
||||
out_r = O;
|
||||
end
|
||||
assign out = out_r;
|
||||
|
||||
endmodule
|
||||
Reference in New Issue
Block a user