ali8
Member level 2
- Joined
- Jan 1, 2011
- Messages
- 49
- Helped
- 0
- Reputation
- 0
- Reaction score
- 0
- Trophy points
- 1,286
- Activity points
- 1,646
Hello,
I am trying to convert a Matlab code that do some communication algorithms into an HDL code, using HDL Coder.
Alongside the code I have a binary file to work on it, emulating a real-world situation where the algorithm will be working on real data coming out
of a front-end module (ADC, etc).
In Matlab, I have an
function that opens the binary file and start working on it.
Since I am converting this into HDL,
is not supported, which makes sense.
Now, how should I replace such function before converting? I was thinking about defining a variable that is "wired" to an I/O pin in the FPGA
but not sure if this makes sense or not.
Any ideas?
I am trying to convert a Matlab code that do some communication algorithms into an HDL code, using HDL Coder.
Alongside the code I have a binary file to work on it, emulating a real-world situation where the algorithm will be working on real data coming out
of a front-end module (ADC, etc).
In Matlab, I have an
Code:
fopen
Since I am converting this into HDL,
Code:
fopen
Now, how should I replace such function before converting? I was thinking about defining a variable that is "wired" to an I/O pin in the FPGA
but not sure if this makes sense or not.
Any ideas?