The Designer's Guide Community
Forum
Welcome, Guest. Please Login or Register. Please follow the Forum guidelines.
Apr 20th, 2024, 5:00am
Pages: 1
Send Topic Print
differential clock d flip flop verilog-a model (Read 2502 times)
mahesh venkatt
New Member
*
Offline



Posts: 4

differential clock d flip flop verilog-a model
May 08th, 2014, 11:57pm
 
Dear All,

this is the sample code i am using for simulating analog d-ff with single vclk input.

====================================================
integer x;
analog begin
     @ (cross( V(vclk) - vtrans_clk, +1 )) begin
          x = (V(vin_d) > vtrans);
      end
      V(vout_q) <+ transition( vlogic_high*x + vlogic_low*!x,
                          tdel, trise, tfall );
      V(vout_qbar) <+ transition( vlogic_high*!x + vlogic_low*x,
                             tdel, trise, tfall );
end
====================================================

can somebody give me some idea how to model differential clock (vclk, vclk_bar) d-flip flop?

Thanks
Mahesh
Back to top
 
 
View Profile   IP Logged
boe
Community Fellow
*****
Offline



Posts: 615

Re: differential clock d flip flop verilog-a model
Reply #1 - May 9th, 2014, 7:20am
 
mahesh venkatt,
you should check the crossing of vclk & vclk_bar to sample the input.
- B O E
Back to top
 
 
View Profile   IP Logged
Pages: 1
Send Topic Print
Copyright 2002-2024 Designer’s Guide Consulting, Inc. Designer’s Guide® is a registered trademark of Designer’s Guide Consulting, Inc. All rights reserved. Send comments or questions to editor@designers-guide.org. Consider submitting a paper or model.