- 05 Aug, 2014 9 commits
-
-
Lucas Russo authored
-
Lucas Russo authored
Now, we are using just the offset from a SMIO base address which is set on SMIO boot time. This fixes #23 github issue
-
Lucas Russo authored
There are some cases that we need to write to the LLIO without ORing the SMIO register address with the SMIO base address, such as when we are reading from BAR2 (DDR3 currently). This is part of the github issue #23
-
Lucas Russo authored
This is part of the github issue #23
-
Lucas Russo authored
Now, we must specify the base SMIO core address and its instance. In the future, these parameters will be set by the SDB subsystem. This is part of the github issue #23
-
Lucas Russo authored
Now, this allows us to instantiate various SMIO with the same base name service, apart from the ID appended at the end of the service, such as: BPM0:DEVIO:SWAP0, BPM0:DEVIO:SWAP1, and so on. This is part of the github issue #23
-
Lucas Russo authored
Now, it is possbile to concatenate 2 or 3 strings with a separator inbetween the first and the second strings. This is a very restrict case, but it is the one we need. TODO: make this function more generic
-
Lucas Russo authored
As we are going to use a new SMIO specifier, we update the old ML605 macro definitions here.
-
Lucas Russo authored
Also, we have changed the way we specify the devices. Now, we have only the offsets to a generic base address. In this way, we can instantiate various SMIO with the same name service, apart from an ID at the end, such as: BPM0:DEVIO:SWAP0, BPM0:DEVIO:SWAP1 and so on.
-
- 01 Aug, 2014 1 commit
-
-
Lucas Russo authored
-
- 30 Jul, 2014 7 commits
-
-
Lucas Russo authored
-
Lucas Russo authored
-
Lucas Russo authored
-
Lucas Russo authored
-
Lucas Russo authored
Started the implementation of the SMPR layer, with SPI interface, which sits on top of the SMIO. This layer implements some customary protocols commonly found, such as: SPI, I2C, Onewire, GPIO and a Bypass mode.
-
Lucas Russo authored
We can't use the ASSERT macros, as the goto labels would be repeated throughout the same function.
-
Lucas Russo authored
This makes mre sense, since we are not using a CPU inside the FPGA. This clock refers only to the Wishbone FPGA internal clock.
-
- 29 Jul, 2014 1 commit
-
-
Lucas Russo authored
Now, the GET and SET macros have error checking and "return" the error to the "caller". The sematic is changedm but for now, the only file using the GEt and SET macros was itself. So, no refactoring was necessary.
-
- 24 Jul, 2014 2 commits
-
-
Lucas Russo authored
This is just to keep the consistency between register and unregister methods. Effectivelly, this was not necessary, but it adds a more uniform way creating/destroying the LLIO instance.
-
Lucas Russo authored
This method should only be called once by the owner of this LLIO instance. This fixes #28 github issue.
-
- 18 Jul, 2014 17 commits
-
-
Lucas Russo authored
-
Lucas Russo authored
-
Lucas Russo authored
-
Lucas Russo authored
This commit closes #11 github issue.
-
Lucas Russo authored
Part of the github issue #11.
-
Lucas Russo authored
Now, we have the option to output our debug messages to any FILE stream. We default it to stdout.
-
Lucas Russo authored
It makes sense to have delta-sigma minimum threshold to 0, meaning to effectively disable this feature. Part of the github issue #11.
-
Lucas Russo authored
Part of the github issue #11.
-
Lucas Russo authored
Now, we can specify some per-entity (dev_io, dev_mngr) dynamic and static libraries. Also, we had to change the libbpmclient compilation order, as we need the static library to be compiled before dev_io (now we depend on libbpmclient to configure our SMIOs) Part of the github issue #11.
-
Lucas Russo authored
-
Lucas Russo authored
Now, once this SMIO gets spawn by the DEVIO, its config function will also be called. Part of the github issue #11.
-
Lucas Russo authored
This is part of the github issue #11.
-
Lucas Russo authored
If the SMIO has registred a config function, then the DEVIO, on SMIO registration will call this function to configure the SMIO. Another step to igithub issue #11.
-
Lucas Russo authored
This is the first step towards the github issue #11. In that we use the liblcient to configure some default values for us.
-
Lucas Russo authored
Also, we moved some MACROS and use new halutils function. This is just a trivial patch to better organize the source files.
-
Lucas Russo authored
The new function can concatenate two null terminated C strings with a character separator inbetween.
-
Lucas Russo authored
Now, we can choose whether we want libclient to output debug messages to any FILE stream
-
- 17 Jul, 2014 3 commits
-
-
Lucas Russo authored
Now, we pass the device ID for a DEVIO instance with the option "-i". We could omit this, as the device ID is the same as the /dev/fpga<device_number>.
-
Lucas Russo authored
This is useful if we want to specify a different device ID than the one used in /dev/fpga<device_number>. Also, the previous version had a hardcoded decvice ID of 0
-
Lucas Russo authored
The halutils_stringify_* family of functions changed its interface. So, we update them here.
-