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.

question about verilog $fwrite task??

Status
Not open for further replies.

leeguoxian

Member level 3
Joined
Jun 20, 2006
Messages
66
Helped
6
Reputation
12
Reaction score
2
Trophy points
1,288
Activity points
1,778
verilof fwrite

Dear all :

I'm using $fwrite to write a binary file in vcs simulation enviorment.

$fwrite(fd,"%c%c%c",8'H42,8'H4D,8'H00);

but the output file come out to be : 0x42 , 0x4D, 0x20 ;

why I can not write 0x00 to a binary file using $fwrite in VCS enviorment ???
It's all right when I use ncverilog !

why ????
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top