wildwood
Junior Member level 2
vcsad.init
In a mixed-signal simulation , how do we add stimulus in to the design ?shall we add digital/analog stimulus seperately ?
I don't know wheather what i think is right , so if anybody give me some hints , I will appreciate very much .
1.
Verilog-top
vcs files.v +ad=vcsAD.init
we can add digital stimulus in the verilog-top module in " initial " procesure , and in the vcsAD.init file , add this command
choose nanosim -nspi top.subA.spi -nvec file.vec -C cfg
Is it all right ? I did so ,but in the _uod.out file , i can't see the vector stimulus adding into the spice netlist .
2.
SPICE-top
I don't know how to simulate a SPICE-top mixed-signal simulation .
how to write the top spice subckt ?
just initiate the spice netlist and verilog module , and use .connect statement to connect the mixed signal ?
what command should be used when simulation , vcs ?
I can add vector stimulus into spice by adding a command into the vcsAD.init , but how to add digital stimulus ??
In a mixed-signal simulation , how do we add stimulus in to the design ?shall we add digital/analog stimulus seperately ?
I don't know wheather what i think is right , so if anybody give me some hints , I will appreciate very much .
1.
Verilog-top
vcs files.v +ad=vcsAD.init
we can add digital stimulus in the verilog-top module in " initial " procesure , and in the vcsAD.init file , add this command
choose nanosim -nspi top.subA.spi -nvec file.vec -C cfg
Is it all right ? I did so ,but in the _uod.out file , i can't see the vector stimulus adding into the spice netlist .
2.
SPICE-top
I don't know how to simulate a SPICE-top mixed-signal simulation .
how to write the top spice subckt ?
just initiate the spice netlist and verilog module , and use .connect statement to connect the mixed signal ?
what command should be used when simulation , vcs ?
I can add vector stimulus into spice by adding a command into the vcsAD.init , but how to add digital stimulus ??