altera


File Operation issue while porting to Altera NIOS II


I've recently started porting the C implementation of my project to the NIOS II system and I seem to have hit a snag. My original implementation uses file operations (fopen, fscanf, fgets,etc.). However I'm using the University Program IP Core and therefore have to use the HAL functions provided by Altera.
So the question is, will I have to rewrite the portions where I read in formatted text and read byte by byte and then format? Or is it possible to keep my current code?
PS
I am using Quartus II 13.0 with Eclipse Build Tools and my development board is the Altera DE1.
The only solution I could think of is to save my whole text file into an array and then change the formatted file operations to their string counterparts, however this would probably take up a lot of space. I don't think using an OS on the NIOS II is an option for me either.

Related Links

Altera Monitor programm unable to acces jarfile
How can I debug Schematic File separately from my project file in Quartus?
Altera Cyclone V baremetal app fail
How to calculate lut mask for Arria10 LUT for arithmetic mode
How to compile drivers on 3.0.32-yocto-standard
How to use new component created in Qsys to vectorize/group together many signals
How to increase the address in ROM-1Port
C to Fpga error with LCD under Altera DE2-70 board
File Operation issue while porting to Altera NIOS II
How to find system library properties in Nios 2 IDE v12?

Categories

HOME
grok
eclipse
merge
gpu
nunit
interface
apache-spark-mllib
components
hpc
frontend
special-characters
pega
resultset
why3
coin3d
linear-algebra
searchview
shortest-path
swagger-2.0
oledb
windows-xp
guzzle
ksh
cgbitmapcontext
gulp-watch
pimcore
draft-js-plugins
expressionengine3
underscore.js
8051
exchangewebservices
recurring-events
dumpbin
magento-1.9.2.4
android-augmented-reality
projects-and-solutions
odroid
google-data-api
setup.py
trigonometry
vmware-fusion
httr
aquamacs
java-bytecode-asm
modelsim
subnet
headless
avx
boo
objectscript
rmongo
materialized-path-pattern
taocp
slackware
docpad
greatest-n-per-group
google-query-language
gcloud-ruby
yajsw
html-to-pdf
thread-sleep
atan2
custom-errors
boomerang
sciruby
fiware-monitoring
computer-architecture
pypiserver
liquid-layout
jsvc
uvc
osc
packet-sniffers
browserify-shim
rickshaw
create.js
tinyxml
dtmf
modular
neos-server
cmmi
web-farm
adobe-media-server
failing-tests
denied
htdocs
lr
rmdir
inline-formset
twitterizer
instantiationexception
binomial-heap
eclipse-marketplace
message-passing
tabpanel
request-headers
xpsdocument
wysiwym
firefox-3

Resources

Encrypt Message