oAwad
Full Member level 2
Hello all,
It's my first time to use HSIM, so I read the manual and created a simulation script for my spice netlist.
Here is the script:
But I have some questions:
1) My circuit has VDD and VSS as the global power ports. How to define VSS as the global ground in HSIM and tie it to 0 ?
2)How to view the output of this simulation ? I read that nWave waveform viewer can read the fsdb database, but is there commands to put in this script to show the printed output automatically?
3)I read that HSIM can do timing and power analysis, so does this make primetime obsolete ?
Thanks
It's my first time to use HSIM, so I read the manual and created a simulation script for my spice netlist.
Here is the script:
Code:
*define transistor model libraries
.lib NMOS_HP.lib NMOS_HP
.lib PMOS_HP.lib PMOS_HP
*netlist from PEX extraction
.include aes_enc.pex.netlist
*define clock
Vclk CLK_I 0 PULSE 0 1.1 0 10p 10p 1n 2n
*power supply voltage value
VDD VDD VSS 1.1
*setup parameters
.param HSIMFCM=2
.param HSIMOUTPUT=fsdb
.param HSIMVECTORFILE=input_vector.vec
.param HSIMSPEED=1 $0 is most accurate
.param HSIMVDD='VDD'
.param HSIMALLOWEDDV='VDD*0.1'
.param HSIMPOSTL=0 $if > 0 will apply RC reduction
.param HSIMANALOG=1 $0 is most accurate
.param HSIMREDEFSUB=1
.param HSIMOUTPUTVRES=0.1u
.param HSIMVPRECISION=5
.temp 27 $temperature
*Makes the simulation compatible with SPICE setting, such as tnom=27 defnrd=1 defnrs=1
.option spice
*define transient analyis, simulation step and simulation time
.tran 10p 532n
*print outputs
.print v(*) level=1
*print aggressor nets as well
*store outputs
.store simulation 0 532n
.end
But I have some questions:
1) My circuit has VDD and VSS as the global power ports. How to define VSS as the global ground in HSIM and tie it to 0 ?
2)How to view the output of this simulation ? I read that nWave waveform viewer can read the fsdb database, but is there commands to put in this script to show the printed output automatically?
3)I read that HSIM can do timing and power analysis, so does this make primetime obsolete ?
Thanks