The Designer's Guide Community
Forum
Welcome, Guest. Please Login or Register. Please follow the Forum guidelines. Jun 28th, 2017, 3:35pm
  HomeHelpSearchLoginRegisterPM to admin  
 
Pages: 1
Send Topic Print
Validation of $write() for encrypted Verilog-A modules in Cadence Tool (Read 58 times)
cheap_salary
Senior Member
****
Offline



Posts: 104

Validation of $write() for encrypted Verilog-A modules in Cadence Tool
Jun 19th, 2017, 8:40am
 
I can encrypt the "mymodule.va" file in both Cadence Tool and Synopsys HSPICE.

For Cadence Tool
Code:
unix> ncprotect -extension vap -language vlog -autoprotect mymodule.va 



For Synopsys HSPICE
Code:
unix> metaencrypt -i mymodule.va -o mymodule.vap -t randkey 



My Verilog-A module includes $write().
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); 



In HSPICE, $write() is valid even for encrypted Verilog-A modules.

However $write() is not valid for encrypted Verilog-A modules in Cadence Tools.

How can I make $write() valid in Cadence Tool ?
Back to top
 
 
View Profile   IP Logged
Pages: 1
Send Topic Print
Trouble viewing this site? Copyright © 2002-2014 Designer's Guide Consulting. 'Designer's Guide' is a registered trademark of Designer's Guide LLC. All rights reserved.

Our colleges are not as safe as they seem. Sexual assault is pervasive and the treatment of the victim by the adminstration is often as damaging as the assault: Campus Survivors, Campus Survivors Forum.

Some of our other sites that you might find useful: QuantiPhy.