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.

reading stimuls data file using verilog

Status
Not open for further replies.

haytham

Full Member level 4
Joined
Jun 6, 2004
Messages
228
Helped
16
Reputation
32
Reaction score
3
Trophy points
1,298
Activity points
1,365
Hi Gents
I have a text file that is containing stimulus data pattern. I need to read this file using a verilog task to apply data pattern sequence to my DUT.

Could any-one help me in this. I have very limited time to do this

Regards
Haytham
 

As I got a notification to send the final solution from admins
here you are
2 solutions
1- use readmemb, readmemh for read binary and hex data. This option is supported in most of tools
2- use PLI (standard file IO functions) like scanf..it is more powerful and gives more flexibility but not supported in trial version, student version tools
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top