zongya
Newbie level 5
- Joined
- Mar 5, 2015
- Messages
- 10
- Helped
- 2
- Reputation
- 4
- Reaction score
- 2
- Trophy points
- 3
- Activity points
- 70
Hi all,
I'm trying to simulate a veriloga vccs in hspice.
Here is my veriloga code for vccs:
And here is the netlist
But when I tried to simulate it, it shows me the error :
I googled the error "call to epvaHDLcgen failed.", people said it occurs because of the directory. But my directory is correct...I mean "home/somnathchakr/vlsix/veriloga.va" is correct.
Can anyone help me with it? Thanks in advance!
I'm trying to simulate a veriloga vccs in hspice.
Here is my veriloga code for vccs:
// VerilogA for fishy1, asl6, veriloga
`include "constants.vams"
`include "disciplines.vams"
module asl6 (p, n, ps, ns);
inout p, n, ps, ns;
electrical p, n, ps, ns;
parameter g = 1.0;
analog begin
I(p, n) <+ g * V(ps, ns);
end
endmodule
And here is the netlist
** Generated for: hspiceD
** Generated on: Mar 6 13:16:33 2015
** Design library name: fishy1
** Design cell name: asl8
** Design view name: schematic
.vec 'vector.vec'
.include "/opt/cadence/FreePDK45/FreePDK45/ncsu_basekit/models/hspice/hspice_nom.include"
.hdl "home/somnathchakr/vlsix/veriloga.va"
.TEMP 25.0
.OPTION
+ ARTIST=2
+ INGOLD=2
+ PARHIER=LOCAL
+ PSF=2
+ POST=1
** Library name: fishy1
** Cell name: asl8
** View name: schematic
xi2 net5 b a 0 asl6 g=1
r0 net5 b 1
.tran 1p 10n
.END
But when I tried to simulate it, it shows me the error :
*pvaI* system & gcc return code is 512
**error** call to epvaHDLcgen failed.
**error** (Ictest6.sp:25) Definition of model/subckt "veriloga" is not found for the element "xi2". Please specify a defined model/subckt name.
**warning** multiple output options specified, using post
I googled the error "call to epvaHDLcgen failed.", people said it occurs because of the directory. But my directory is correct...I mean "home/somnathchakr/vlsix/veriloga.va" is correct.
Can anyone help me with it? Thanks in advance!