1
0
Fork 0
mirror of https://git.rwth-aachen.de/acs/public/villas/node/ synced 2025-03-30 00:00:11 +01:00
Commit graph

110 commits

Author SHA1 Message Date
Daniel Krebs
035c6f8b2a lib/kernel/vfio: add function to get size of device memory region 2018-02-14 07:27:37 +01:00
Daniel Krebs
33ba634d87 lib/directed-graph: add findVertex() and minor refactoring 2018-02-14 07:27:37 +01:00
Daniel Krebs
02e873e8ff lib/ip: remove dependency graph
Replace by static list of VLNVs that will be initialized first.
2018-02-14 07:27:37 +01:00
f621cfc984 Merge branch 'fix/directed_graph_loop_detection_bug' into 'develop'
directed-graph: fix bug in loop detection

See merge request acs/public/villas/VILLASfpga-code!1
2018-02-14 07:22:59 +01:00
Daniel Krebs
409340433d enable -Wall, -Wextra and -Werror and fix new errors (fixes #20) 2018-02-13 16:04:34 +01:00
Daniel Krebs
6dab50824b directed-graph: fix bug in loop detection 2018-02-13 09:54:31 +01:00
8206f867a5 logging: use similar log style in all modules 2018-01-31 20:24:11 +01:00
1b6d0d7700 Merge branch 'feature/hw-testing' into feature/cpp (closes #14 and #15) 2018-01-30 19:38:49 +01:00
Daniel Krebs
5a7989d552 lib/memory-manager: start implementation using DirectedGraph 2018-01-30 19:16:59 +01:00
Daniel Krebs
ba7531ac46 lib/graph: allow stringifying of vertex and edge derived types
This yields nices debug messages and a much nice dump().
2018-01-30 19:16:59 +01:00
Daniel Krebs
22ce8f2b3f lib/graph: slightly change interface to allow for custom edges 2018-01-30 19:16:59 +01:00
Daniel Krebs
201bbde4b6 lib/graph: move identifiers into classes 2018-01-30 19:16:59 +01:00
293f496db0 pci: add function to get currently loaded kernel driver 2018-01-30 19:09:19 +01:00
Daniel Krebs
27c67f206e lib/graph: add path-finding with loop detection and corresponding unittest 2018-01-30 17:28:42 +01:00
Daniel Krebs
ec8e9a1cd1 lib/ip-node: remove dangling function prototype 2018-01-30 15:13:23 +01:00
Daniel Krebs
7582966e16 lib: first draft of memory manager 2018-01-30 15:13:23 +01:00
Daniel Krebs
f6c02b8429 lib: add directed graph implementation incl. unittest 2018-01-30 15:13:23 +01:00
daniel-k
f14df8aa32 lib/ip: adapt to fit new config layout provided by hwdef-parse 2018-01-23 14:47:44 +01:00
daniel-k
f642fa6428 log: provide more macros for text colors 2018-01-23 14:42:26 +01:00
daniel-k
fc98aaecb4 lib/ips/intc: C++-ify interface 2018-01-16 15:07:21 +01:00
daniel-k
e05ff515c7 lib/ips/timer: implement basic functionality 2018-01-16 15:05:37 +01:00
daniel-k
80bc9af0e7 lib/ips/intc: change waitForInterrupt() interface
Return -1 on failure, change type to `int`. int/2 bits should still
be enough to track overflowed interrupts.
2018-01-16 14:51:45 +01:00
daniel-k
f987c29d71 lib/ip: change interface: start() -> init() 2018-01-16 14:46:00 +01:00
daniel-k
44e78643ea lib/log: purge remaining of old logger 2018-01-10 15:49:53 +01:00
daniel-k
09534e83a6 lib/plugin: make type an argument of constructor 2018-01-10 15:49:53 +01:00
daniel-k
3cf50db98d logging: use new spdlog library in favor of Logger 2018-01-10 15:49:53 +01:00
daniel-k
71a54eeab6 lib/ips: implement fifo driver and adapt test 2018-01-10 11:02:08 +01:00
daniel-k
e2e78cf8b3 lib: minor cleanup 2018-01-10 11:02:08 +01:00
daniel-k
81db98e448 lib/ip-node: implement loopback mode if available 2018-01-10 11:02:08 +01:00
daniel-k
6ee860971a ips/intc: supply methods to use with new IrqPort 2018-01-10 11:02:08 +01:00
daniel-k
c710a95352 lib/ip: generalize getting mapped addresses 2018-01-10 11:02:08 +01:00
daniel-k
4035aab49f lib/ip: dependencies cannot be private
Has to be used by derived classes of course!
2018-01-10 11:02:08 +01:00
daniel-k
e96b08c53c lib/ip: implement more comparison operators for IpCore 2018-01-10 11:02:08 +01:00
daniel-k
8345a15db0 lib/card: implement IP lookup
Search for an initialized IP by name.
2018-01-10 11:02:08 +01:00
daniel-k
af234e29c6 lib/ip: provide default implementation for getDependencies() 2018-01-10 11:02:08 +01:00
daniel-k
cb25861c7e ip: remove excess space in output of identifier 2018-01-10 11:02:08 +01:00
daniel-k
f94476b716 ip/node: rename OtherIpNode to StreamPort and other to to 2018-01-10 11:02:08 +01:00
daniel-k
4d3e4dd931 ips: make irqs a list 2018-01-10 11:02:08 +01:00
daniel-k
79f37ce352 ips/switch: add C++ implementation of switch 2018-01-10 11:02:08 +01:00
daniel-k
12024d53e5 lib/ip-node: add IpNode class, IpCore which has streaming ports 2018-01-10 11:02:08 +01:00
daniel-k
f3f0f4d630 lib/ip: pass ip core by reference to factory instead of unique_ptr 2018-01-10 11:02:08 +01:00
daniel-k
9676a9535d lib/ip: re-add IRQ to IpCore 2018-01-10 11:02:08 +01:00
daniel-k
ab183d2111 lib/ip: flip output of IpIdentifier (name first, VLNV second) 2018-01-10 11:02:08 +01:00
daniel-k
c105f1c925 lib/ip: remove unused includes and replace pragma by include guard 2018-01-10 11:02:08 +01:00
daniel-k
a5b5e317d4 wip implementing dependency parsing and proper memeory handling
works and compiles so for. next is to implement different IP interfaces
(Model, Interface, DataMover, Infrastructure, ...)
2018-01-10 11:02:08 +01:00
daniel-k
61ca7aa44f fpga/ip: add C++ timer implementation 2018-01-10 11:02:08 +01:00
daniel-k
3d0afd671e lib/utils: add string tokenizer 2018-01-10 11:02:08 +01:00
daniel-k
35d96ed277 lib: add dependency graph implementation 2018-01-10 11:02:08 +01:00
daniel-k
e590d1a350 add namespace villas::fpga and villas::fpga::ip and some renaming 2018-01-10 11:02:08 +01:00
daniel-k
09815a661e rough implementation of a C++ style logger class
with many sharp edges :)
2018-01-10 11:02:08 +01:00