The Designer's Guide Community
Forum
Welcome, Guest. Please Login or Register. Please follow the Forum guidelines.
May 1st, 2024, 2:16am
Pages: 1
Send Topic Print
Test for the divider Mode without Hiddenstate (Read 2246 times)
tumeda
Community Member
***
Offline



Posts: 37

Test for the divider Mode without Hiddenstate
Oct 18th, 2005, 6:35am
 
Hi

I tried to test the divider model without hiddenstate. The Ken's model is directly used.
I am confused  ???
Why the output voltage of the divider F_out is always 0V.  The divider model seems to work not in order.
Any suggestion?

The testbench netlist is here
Code:
...
simulator lang=spectre
global 0
include "definitions.scs"
include "init.scs"
include "include.scs" section=nom
...
// View name: schematic
I1 (F_out net013 F_in net013) divideByN n=4 nhi=2 dir=1 vdd=1.5 vss=0 \
	  thresh=0.75
R0 (net013 F_out) resistor r=1K isnoisy=yes
V1 (net013 0) vsource type=dc dc=0 mag=0 phase=0
V0 (F_in net013) vsource type=pulse mag=0 phase=0 val0=0 val1=1.5 \
	  period=4n delay=0 rise=10p fall=10p width=2n
simulatorOptions options reltol=1e-3 vabstol=1e-6 iabstol=1e-12 temp=27 \
    tnom=27 scalem=1.0 scale=1.0 gmin=1e-12 rforce=1 maxnotes=5 maxwarns=5 \
    digits=5 cols=80 pivrel=1e-3 ckptclock=1800 \
    sensfile="../psf/sens.output" checklimitdest=psf
tran tran stop=60n errpreset=conservative write="spectre.ic" \
    writefinal="spectre.fc" annotate=status maxiters=5
finalTimeOP info what=oppoint where=rawfile
pss  pss  fund=250M  harms=3  errpreset=moderate  tstab=40n
+    method=gear2only  annotate=status
modelParameter info what=models where=rawfile
element info what=inst where=rawfile
outputParameter info what=output where=rawfile
designParamVals info what=parameters where=rawfile
primitives info what=primitives where=rawfile
subckts info what=subckts  where=rawfile
saveOptions options save=all pwr=all currents=all useprobes=yes \
    saveahdlvars=all
ahdl_include "/home/fcaprj/zou_c11/v0.0.0/units/main/cdb/PLL_CHP/dividerNoHiddenState/veriloga/veriloga.va"

 



The schematic of testbench is here:
http://img159.photo.163.com/zoujunjx/17445359/450870125.gif
Back to top
 
 
View Profile   IP Logged
Ken Kundert
Global Moderator
*****
Offline



Posts: 2384
Silicon Valley
Re: Test for the divider Mode without Hiddenstate
Reply #1 - Oct 18th, 2005, 9:50am
 
The default transition time (tt) is 10ms. That is not going to work with a 4ns input period. Set tt=1ns.

-Ken
Back to top
 
 
View Profile WWW   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.