Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

about $fopen,$fgetc,$fputc

Status
Not open for further replies.

sagar_saga01

Newbie level 5
Joined
Mar 10, 2008
Messages
9
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,343
verilog fputc

I am using xilinx ISE 9.1 , but it is not suporting some of the commands used for file operation.how i can make use of it..
do i have to include some library
 

fputc verilog

friend, i dont think any synthesis tool will(or should)support it.
ISE, quartus etc tools supports constructs that are useful in inferring hardware inside the fpgas.File operations are props of simulation so you should complain if a simulation tool is not supporting it.
 

fgetc fputc

Xilinx XST supports several Verilog system tasks during compile-time: $display $fclose $fdisplay $fgets $finish $fopen $fscanf $fwrite $readmemb $readmemh $signed $unsigned $write. I use them in my Verilog 'initial' blocks to create data files, and to input data files for initializing Block RAMs and other stuff. Yes, that works during FPGA synthesis. Big time saver in my projects.

By the way, Xilinx told me they are adding compile-time floating-point support to XST version 11. That will be a nice time-saver for initializing Block ROMs with math tables.
 

verilog $fputc

Thanks...!! i never knew this..
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top