Forum Discussion
Altera_Forum
Honored Contributor
15 years agoHi,
The onewire RTL is now tested, and I modified the Maxim 1-wire public domain kit (version 3.1) to be able to read the temperature from DS18B20. But now I have problems packaging the the modified parts of the public domain kit into a HAL (later uC-OS II). I have written the *_sw.tcl file, but SOPC Builder is reporting an error while parsing it, and Nios II EDS did not integrate the specified files into the BSP. The error is the same as mentioned here: http://www.alteraforum.com/forum/showthread.php?t=19616 I am running quartus on Ubuntu Lucid, but I had the same problem on CentOS, would the WinXP version do better? Does anybody have any experience on how to fix it. I would also have some HAL driver related questions if someone is able to help: module_INSTANCE(name, state) usually creates a global (is it) structure with the name given to the module in SOPC Builder. But the Maxim public domain kit is not written to support multiple instances in a SoC is it ok to use a structure with a fixed name? The source code is here: http://github.com/jeras/fpga-hdl/tree/master/hdl/onewire/ Regards, Iztok Jeras