Rules | Recent posts | topic RSS | Search | Register  | Log in

Scan D Flip Flop

 
Post new topic  Reply to topic    EDAboard.com Forum Index -> ASIC Design Methodologies & Tools (Digital)
Author Message
rinaishlene



Joined: 29 Nov 2005
Posts: 28


Post24 Jun 2008 6:04   Scan D Flip Flop

Hi
I'm designing a scan D Flip Flop by schematics.The problem is when I simulated the design,the output obtained is delayed by one clock cycle.I'm using Cadence IC Design tool to design the flip flop and using HSPICE to simulate the design.

Is the delay occur because of the design (from the schematic drawn),or from the setup and hold time or any other settting that must be taking place when using HSPICE to simulate the design.

If the delay occur because of the schematics design,would it be better to redesign the schematics by applying Kmap to further simplify the design or redesign the schematics by calculating its logical effort?
Back to top
ds18s20



Joined: 14 Jun 2006
Posts: 144
Helped: 2
Location: Bay Area


Post26 Jun 2008 16:41   Re: Scan D Flip Flop

rinaishlene wrote:
Hi
I'm designing a scan D Flip Flop by schematics.The problem is when I simulated the design,the output obtained is delayed by one clock cycle.I'm using Cadence IC Design tool to design the flip flop and using HSPICE to simulate the design.

Is the delay occur because of the design (from the schematic drawn),or from the setup and hold time or any other settting that must be taking place when using HSPICE to simulate the design.

If the delay occur because of the schematics design,would it be better to redesign the schematics by applying Kmap to further simplify the design or redesign the schematics by calculating its logical effort?


Post your rtl and will see Smile
Back to top
gliss



Joined: 23 Apr 2005
Posts: 675
Helped: 60
Location: Boston Metro Area


Post26 Jun 2008 22:07   Scan D Flip Flop

If I understand the post, he didn't care RTL, just the schematics.

Post your schematic.
Back to top
rinaishlene



Joined: 29 Nov 2005
Posts: 28


Post27 Jun 2008 8:48   Re: Scan D Flip Flop

Below is the image of the schematics



Added after 2 hours 51 minutes:


Here is the waveform generated for the scan flip flop
Back to top
nand_gates



Joined: 19 Jul 2004
Posts: 898
Helped: 117


Post27 Jun 2008 11:38   Re: Scan D Flip Flop

It looks perfectly OK! While applying inputs w.r.t. clk you have not given any setup time.
Change ur inputs when the clock transitions from high to low and see the results.
Back to top
rinaishlene



Joined: 29 Nov 2005
Posts: 28


Post01 Jul 2008 9:11   Re: Scan D Flip Flop

OK...but I don't think it follows the truth table

Back to top
Post new topic  Reply to topic    EDAboard.com Forum Index -> ASIC Design Methodologies & Tools (Digital)
Page 1 of 1 All times are GMT + 2 Hours


Abuse
Administrator
Moderators
topic RSS 
sitemap