[TASK] Refactor user LED module

- Rename functions and adapt references
- Rename types and variables
- Cleanup code
- Add doxygen documentation

Change-Id: If68436d9d5cd11a7f451e82e6321e5e029e3bfea
Reviewed-on: http://brateggevoat1/gerrit/1249
Tested-by: Jenkins <jenkins@brateggevoat1.br-automation.co.at>
Reviewed-by: Joerg Zelenka <joerg.zelenka@br-automation.com>
Reviewed-by: Josef Baumgartner <josef.baumgartner@br-automation.com>
[TASK] Refactor user LED module - Rename includes

- Rename include files and adapt references

Change-Id: I80f2d1aa0ca3fdd9c336cd8c24d2f351a3f0402c
Reviewed-on: http://brateggevoat1/gerrit/1250
Tested-by: Jenkins <jenkins@brateggevoat1.br-automation.co.at>
Reviewed-by: Joerg Zelenka <joerg.zelenka@br-automation.com>
Reviewed-by: Josef Baumgartner <josef.baumgartner@br-automation.com>
[FIX] Use logical OR for MAC comparison in edrv modules.

Change-Id: I10f334309e790abd6a2338ff505886c0babfff8f
Reviewed-on: http://brateggevoat1/gerrit/1278
Tested-by: Jenkins <jenkins@brateggevoat1.br-automation.co.at>
Reviewed-by: Josef Baumgartner <josef.baumgartner@br-automation.com>
[FIX] Fix filter setup of unspecified request

Change-Id: Ia032b5814bd1168fbace52569492e151d635b03f
Reviewed-on: http://brateggevoat1/gerrit/1279
Tested-by: Jenkins <jenkins@brateggevoat1.br-automation.co.at>
Reviewed-by: Josef Baumgartner <josef.baumgartner@br-automation.com>
[FIX] Solve missing update of Ident-/Status-Response in kNmtCsReadyToOperate

If the CN enters ReadyToOperate, the new state must be written into Ident-
and Status-Response frames (like it is done correctly in case
kNmtCsOperational). Therefore the break is removed to enable fall-through.
This fix enables to pass Testcase_3_2_3_T1 in openCONFORMANCE!

Change-Id: I41134c712b431fa82c170c777b5b2b5976fe0ae2
Reviewed-on: http://brateggevoat1/gerrit/1287
Reviewed-by: Joerg Zelenka <joerg.zelenka@br-automation.com>
Tested-by: Jenkins <jenkins@brateggevoat1.br-automation.co.at>
Reviewed-by: Josef Baumgartner <josef.baumgartner@br-automation.com>
[FEATURE] Add possibility to skip the full Quartus compilation

This enables to call create-this-fpga generating the sopcinfo file only for
successful SW compilation.

Change-Id: Iec547ebdba8cfc71afc5dc05b2ced1d29cf6a0bc
Reviewed-on: http://brateggevoat1/gerrit/1273
Tested-by: Jenkins <jenkins@brateggevoat1.br-automation.co.at>
Reviewed-by: Josef Baumgartner <josef.baumgartner@br-automation.com>
[FEATURE] Create common Qsys subsystems

Extract common components of Nios II systems into subsystems:
* mn_pcp.qsys
* mn_host.qsys
* cn_pcp.qsys

Change-Id: I8d95421ab82a9ee5613d1f076f18e518cc29f14f
Reviewed-on: http://brateggevoat1/gerrit/1263
Tested-by: Jenkins <jenkins@brateggevoat1.br-automation.co.at>
Reviewed-by: Joerg Zelenka <joerg.zelenka@br-automation.com>
Reviewed-by: Josef Baumgartner <josef.baumgartner@br-automation.com>
[FIX] Solve permission denied issue with linker.x fix-script

Change-Id: If8ce14682b268b3e890a761aae13b3b4e821c4d4
Reviewed-on: http://brateggevoat1/gerrit/1280
Tested-by: Jenkins <jenkins@brateggevoat1.br-automation.co.at>
Reviewed-by: Josef Baumgartner <josef.baumgartner@br-automation.com>
[FIX] Cleanup of Nios II Eclipse files

Change-Id: I837ac378afab47164b3bddf05c1e90834d60b4e4
Reviewed-on: http://brateggevoat1/gerrit/1281
Tested-by: Jenkins <jenkins@brateggevoat1.br-automation.co.at>
Reviewed-by: Josef Baumgartner <josef.baumgartner@br-automation.com>
[FEATURE] Add binary to seven segment LED decoder

This decoder converts the binary coded digit to a seven segmented LED display.
The component is implemented platform independent, and shall be used by all
available FPGA demos (e.g. TERASIC_DE2-115).

Change-Id: I60ef56b96d76b4c39b3f33b115e98af40b5180be
Reviewed-on: http://brateggevoat1/gerrit/1264
Tested-by: Jenkins <jenkins@brateggevoat1.br-automation.co.at>
Reviewed-by: Josef Baumgartner <josef.baumgartner@br-automation.com>
[TASK] Rework Altera FPGA MN and CN designs for TERASIC DE2-115

Revise Quartus project and add Qsys subsystems.
The following designs are reworked:
* CN direct I/O
* MN dual Nios II
* MN parallel PCP
* MN parallel host

Change-Id: I79410736e54ed408d71a230040327fa6bafbac54
Reviewed-on: http://brateggevoat1/gerrit/1271
Reviewed-by: Joerg Zelenka <joerg.zelenka@br-automation.com>
Tested-by: Joerg Zelenka <joerg.zelenka@br-automation.com>
Reviewed-by: Josef Baumgartner <josef.baumgartner@br-automation.com>
[TASK] Revise direct I/O demo software

Due to the reworked FPGA CN design the following changes are necessary:
* Delete Direct I/O features (port-config and input latch)
* Add all available seven segmented LED displays (HEX0 to 7)

Change-Id: I3d3d2908a5594730eb2f38e9b2f41bd5d81eaa4f
Reviewed-on: http://brateggevoat1/gerrit/1269
Tested-by: Jenkins <jenkins@brateggevoat1.br-automation.co.at>
Reviewed-by: Josef Baumgartner <josef.baumgartner@br-automation.com>
[TASK] Relocate SYSTEC FPGA demo design to staging directory

The design needs to be revised for Quartus 12.1sp1 and Qsys!

Change-Id: I622d0df63480a286effab960a8088d8493919d5c
Reviewed-on: http://brateggevoat1/gerrit/1291
Tested-by: Jenkins <jenkins@brateggevoat1.br-automation.co.at>
Reviewed-by: Wolfgang Seiss <wolfgang.seiss@br-automation.com>
Reviewed-by: Josef Baumgartner <josef.baumgartner@br-automation.com>
[TASK] Add arguments to create-this-app scripts to force settings

Some arguments are added to overrule the settings stored in
create-this-app.settings.

Change-Id: I9ec8cc9ddea43aa55ed05aede45fe50cdc6d5ef6
Reviewed-on: http://brateggevoat1/gerrit/1292
Tested-by: Jenkins <jenkins@brateggevoat1.br-automation.co.at>
Reviewed-by: Josef Baumgartner <josef.baumgartner@br-automation.com>
[FIX] Solve make download-elf issue with multi Nios II processors

* Rename the host subsystem CPU to 'cpu_1'.
* Remove the subsystem name from the CPU_NAME in the generate APP Makefile.

Change-Id: I183cff6a74804f4e0b920f107598b1026f8efbff
Reviewed-on: http://brateggevoat1/gerrit/1293
Tested-by: Jenkins <jenkins@brateggevoat1.br-automation.co.at>
Reviewed-by: Josef Baumgartner <josef.baumgartner@br-automation.com>
[FEATURE] Add useful rules to generated Makefile for Nios II demos

Change-Id: Ibc071f7d3af4198bbcb932bfc6b6f02b00a1e3cb
Reviewed-on: http://brateggevoat1/gerrit/1294
Tested-by: Jenkins <jenkins@brateggevoat1.br-automation.co.at>
Reviewed-by: Josef Baumgartner <josef.baumgartner@br-automation.com>
[FEATURE] Add parameter setting to select FPGA Download cable

This feature is useful for dual Nios II system on separated FPGA
platforms.

Change-Id: Ice26af3e262710703a03a210bde593b4c275f04d
Reviewed-on: http://brateggevoat1/gerrit/1295
Tested-by: Jenkins <jenkins@brateggevoat1.br-automation.co.at>
Reviewed-by: Josef Baumgartner <josef.baumgartner@br-automation.com>
[FIX] Disable C++ support in Nios II BSP

This fix prevents issues with the Altera toolchain.

Change-Id: Ifbcbc05824b1bdab1143faccbf9f59ecaee525d1
Reviewed-on: http://brateggevoat1/gerrit/1296
Tested-by: Jenkins <jenkins@brateggevoat1.br-automation.co.at>
Reviewed-by: Josef Baumgartner <josef.baumgartner@br-automation.com>
[FIX] Change size of JTAG UART FIFO size

Set CN's JTAG FIFO size to 64 byte. A larger value leads to errors with
nios2-terminal.

Change-Id: Id1abdfe5c1d96afa108306d0f58702df71a1a535
Reviewed-on: http://brateggevoat1/gerrit/1298
Tested-by: Jenkins <jenkins@brateggevoat1.br-automation.co.at>
Reviewed-by: Josef Baumgartner <josef.baumgartner@br-automation.com>
[TASK] Rename EplObdCdc.h

- Rename EplObdCdc.h to obdcdc.h
- Update all references
- Add include file in CMakeLists.txt files

Change-Id: Iee99271ce71871ca939662c909566a885672e316
Reviewed-on: http://brateggevoat1/gerrit/1303
Tested-by: Jenkins <jenkins@brateggevoat1.br-automation.co.at>
Reviewed-by: Josef Baumgartner <josef.baumgartner@br-automation.com>