Oct 22, 2007 #1 V verilog2vhdl Newbie level 6 Joined Oct 22, 2007 Messages 11 Helped 0 Reputation 0 Reaction score 0 Trophy points 1,281 Activity points 1,350 to_decstring in vhdl package I got the following code for vhdl WRITE(ERRORFILE, "time" & to_decstring(NOW) & ":"); from verilog of $fdisplay (ERRORFILE, "time%d:", $time); I get the error as No feasible entries for subprogram "to_decstring". in modelsim, what is the issue??
to_decstring in vhdl package I got the following code for vhdl WRITE(ERRORFILE, "time" & to_decstring(NOW) & ":"); from verilog of $fdisplay (ERRORFILE, "time%d:", $time); I get the error as No feasible entries for subprogram "to_decstring". in modelsim, what is the issue??
Oct 23, 2007 #2 D darylz Full Member level 2 Joined Mar 24, 2005 Messages 129 Helped 5 Reputation 10 Reaction score 1 Trophy points 1,298 Activity points 1,975 I believe you need some user VHDL packages which include this function.
Oct 23, 2007 #3 avimit Banned Joined Nov 16, 2005 Messages 412 Helped 91 Reputation 182 Reaction score 23 Trophy points 1,298 Location Fleet, UK Activity points 0 Instead of Code: WRITE(ERRORFILE, "time" & to_decstring(NOW) & ":"); YOu can just write Code: WRITE(ERRORFILE, "time "); WRITE(ERRORFILE, NOW); It should work, if not ping me Kr, Avi http://www.vlsiip.com
Instead of Code: WRITE(ERRORFILE, "time" & to_decstring(NOW) & ":"); YOu can just write Code: WRITE(ERRORFILE, "time "); WRITE(ERRORFILE, NOW); It should work, if not ping me Kr, Avi http://www.vlsiip.com