gazel
New Contributor
4 years agoMultiplication using file I/O
I was able to implement a multiplication circuit using high-level synthesis and display the calculation results on the screen using nios.
Now, I want to change the system to read the two numbers to be multiplied from a file and output the calculation results to another file.
We think it will mainly be a rewrite of test.c.
I know that I need to write FILE*fp; etc., but I would like to know in detail how to pass the numbers from the file to a and b, and how to output the calculation results to a file.