pancho_hideboo
Advanced Member level 5
- Joined
- Oct 21, 2006
- Messages
- 2,847
- Helped
- 767
- Reputation
- 1,536
- Reaction score
- 733
- Trophy points
- 1,393
- Location
- Real Homeless
- Activity points
- 17,490
I can encrypt the "mymodule.va" file and create a new encrypted file called "mymodule.va.vap" in Cadence Tools by the following.
https://www.edaboard.com/showthread.php?t=356383
However $write() is not valid for encrypted Verilog-A modules.
How can I activate $write() even for encrypted Verilog-A modules ?
https://www.edaboard.com/showthread.php?t=356383
However $write() is not valid for encrypted Verilog-A modules.
How can I activate $write() even for encrypted Verilog-A modules ?
Code:
analog begin
@(initial_step) begin
$write("\n");
case(mode)
0 : $write("%M: Constant Current Mode(Inom=%.2fuA)\n", Inom/1u);
1 : $write("%M: Constant Resistance Mode(Vnom=%gVolts, Inom=%.2fuA, Rnom=%.2fkohm)\n",
Vnom, Inom/1u, Rnom/1k);
2 : $write("%M: Clip Current Mode(Imin=%.2fuA, Imax=%.2fuA, Vth=%gVolts, Vknee=%gVolts)\n",
Imin/1u, Imax/1u, Vth, Vknee);