Arjun_07 Posted June 26, 2020 Report Share Posted June 26, 2020 Hello Everyone, I am trying to open text file, file is opening but when i am trying to read data in C[MEM_DEPTH] buffer, nothing is copied from the file, when i am printing the C[MEM_DEPTH] only initialize value =0 is printing. The task is to read data from file into the buff_1[MEM_DEPTH], then this will be send to source file for writing into the memory. i am attaching my testbench and text file . please let me know where i am making a mistake. Thanks and Regards Arjun memory_testbench.cpp TEXT.txt Quote Link to comment Share on other sites More sharing options...
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.