[SOLVED] Can anyone in earth give me a flip flop (any kind) code wrote in Hspice?

Status
Not open for further replies.

mazdak

Junior Member level 3
Joined
Jun 21, 2010
Messages
26
Helped
3
Reputation
6
Reaction score
3
Trophy points
1,283
Activity points
1,499
Hey guys
I am desperately in need of this block I wrote 5-6 blocks my self and they are not working, it's 4 days that I am searching the whole internet for some clue, I also posted 2 threads in edaboard... ( just wondering how computer technology got advanced till now and no one in planet earth ever simulated any kind of flip flops with hspice! all I find is simulation results, clean and sharp plots, but no code. I'm disappointed.
 

Attached is a LASI/MOSIS tutorial file which contains a DFF. I have never used it, but I assume it works. Most of the logical cells I have are under NDA so I cannot distribute them. I have included the whole file because the flip-flop uses other subcircuits to make the flip-flop.

If you want more information or other files, download LASI from here LASI at CMOSedu.com it is free. There are other tutorials and they include the layout as well.

Keith.
 

Attachments

  • 2uchip.zip
    2.9 KB · Views: 87

thank you for your help and your references
 

ok, I found a DFF with Reset signal, I put it here for those who may need it in future
I guess there is no way to build a FF with gate .SUBCKTs, such as NAND gates. I think it only works in theory.
***************************************
m0 Q 2 gnd gnd cmosn w=1.75um l=0.5um
m1 2 3 gnd gnd cmosn w=1.75um l=0.5um
m2 4 CLK gnd gnd cmosn w=1.75um l=0.5um
m3 3 R gnd gnd cmosn w=1.75um l=0.5um
m4 5 D gnd gnd cmosn w=1.75um l=0.5um
m5 6 7 gnd gnd cmosn w=1.75um l=0.5um
m6 3 4 6 gnd cmosn w=1.75um l=0.5um
m7 7 CLK 5 gnd cmosn w=1.75um l=0.5um
m8 Q 2 vdd vdd cmosp w=3.25um l=0.5um
m9 2 3 vdd vdd cmosp w=3.25um l=0.5um
m10 4 CLK vdd vdd cmosp w=3.25um l=0.5um
m11 8 D vdd vdd cmosp w=3.25um l=0.5um
m12 3 R 9 vdd cmosp w=3.25um l=0.5um
m13 9 CLK 10 vdd cmosp w=3.25um l=0.5um
m14 10 7 vdd vdd cmosp w=3.25um l=0.5um
m15 7 4 8 vdd cmosp w=3.25um l=0.5um
**************************************
 

It is perfectly possible to make a flip-flop with NAND gates.

Keith
 

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…