UPGRADE YOUR BROWSER

We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

cancel
Showing results for 
Search instead for 
Did you mean: 
Contributor
Contributor
178 Views
Registered: ‎04-01-2019

ERROR: [XSIM 43-4286] Undefined system function '$fputc'

Hi 

$fgetc is supported in my simulation but $fputc isn't? I'm using Vivado 2018.3. I'm a bit rusty as have been using ModelSim for a very long time.

Pete

 

0 Kudos
1 Reply
Moderator
Moderator
106 Views
Registered: ‎09-15-2016

Re: ERROR: [XSIM 43-4286] Undefined system function '$fputc'

Hi @petercaddick ,

I dont think this system function of $fputc exists in Verilog or System Verilog. Please check in the below Verilog LRM for supported fileio system functions under section 17.1 and 17.2.

https://forums.xilinx.com/xlnx/attachments/xlnx/SIMANDVERIBD/12141/1/Verilog%20-%20LRM.pdf 

Thanks & Regards,
Sravanthi B
----------------------------------------------------------------------------------------------
Kindly note- Please mark the Answer as "Accept as solution" if information provided is helpful.

Give Kudos to a post which you think is helpful and reply oriented.
----------------------------------------------------------------------------------------------
0 Kudos