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.

Write matrix in a file in binary form

Status
Not open for further replies.

madalin1990

Full Member level 2
Full Member level 2
Joined
Apr 4, 2012
Messages
124
Helped
2
Reputation
4
Reaction score
2
Trophy points
1,298
Visit site
Activity points
2,090
Hi !

I have a 204-by-204 matrix. I want to write this matrix in a file(with .coe extension) in binary form. The .coe file format is as follows:

memory_initialization_radix=2;
memory_initialization_vector=
byte_1,
byte_2,
..............
byte_n;

Which function should i use? One last observation: the matrix elements are decimal.
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top