2017-03-12 16:52:05 -03:00
|
|
|
/** Example configuration file for VILLASnode.
|
|
|
|
*
|
|
|
|
* The syntax of this file is similar to JSON.
|
|
|
|
* A detailed description of the format can be found here:
|
|
|
|
* http://www.hyperrealm.com/libconfig/libconfig_manual.html#Configuration-Files
|
|
|
|
*
|
|
|
|
* @author Steffen Vogel <stvogel@eonerc.rwth-aachen.de>
|
|
|
|
* @copyright 2017, Institute for Automation of Complex Power Systems, EONERC
|
|
|
|
*********************************************************************************/
|
2016-07-11 11:24:42 +02:00
|
|
|
|
|
|
|
# Some global settings are used by multiple configuration files
|
|
|
|
# and therefore defined in separate files
|
|
|
|
@include "global.conf"
|
|
|
|
@include "plugins.conf"
|
|
|
|
|
2017-02-18 10:58:17 -05:00
|
|
|
fpgas = {
|
|
|
|
vc707 = {
|
|
|
|
/* Card identification */
|
|
|
|
id = "10ee:7022";
|
|
|
|
slot = "01:00.0";
|
2017-03-12 16:52:05 -03:00
|
|
|
|
2017-02-18 10:58:17 -05:00
|
|
|
intc = 0x5000;
|
|
|
|
reset = 0x2000;
|
|
|
|
do_reset = true;
|
2017-03-12 16:52:05 -03:00
|
|
|
|
2017-02-18 10:58:17 -05:00
|
|
|
ips = {
|
|
|
|
switch_0 = {
|
|
|
|
vlnv = "xilinx.com:ip:axis_interconnect:2.1"
|
|
|
|
baseaddr = 0x0000;
|
|
|
|
numports = 3;
|
|
|
|
},
|
|
|
|
rtds_0 = {
|
|
|
|
vlnv = "acs.eonerc.rwth-aachen.de:user:rtds_axis:1.0"
|
|
|
|
baseaddr = 0x3000;
|
|
|
|
port = 0;
|
|
|
|
},
|
|
|
|
dma_0 = {
|
|
|
|
vlnv = "xilinx.com:ip:axi_dma:7.1";
|
|
|
|
baseaddr = 0x1000;
|
|
|
|
port = 2;
|
|
|
|
irq = 0
|
|
|
|
}
|
2016-06-15 20:05:09 +02:00
|
|
|
}
|
2017-03-12 16:52:05 -03:00
|
|
|
|
|
|
|
/* Configure switch_0 */
|
2017-02-18 10:58:17 -05:00
|
|
|
paths = (
|
2017-03-12 16:52:05 -03:00
|
|
|
{ in = "dma_0", out = "rtds_0" },
|
|
|
|
{ in = "rtds_0", out = "dma_0" }
|
2017-02-18 10:58:17 -05:00
|
|
|
)
|
|
|
|
}
|
2016-06-15 20:05:09 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
nodes = {
|
2017-03-12 16:52:05 -03:00
|
|
|
rtds = {
|
2016-06-19 19:23:19 +02:00
|
|
|
datamover = "dma_0";
|
|
|
|
use_irqs = false;
|
2016-06-15 20:05:09 +02:00
|
|
|
}
|
2017-03-12 16:52:05 -03:00
|
|
|
}
|