mirror of
https://git.rwth-aachen.de/acs/public/villas/node/
synced 2025-03-09 00:00:00 +01:00
removed obsolete BRAM IP driver
This commit is contained in:
parent
27bf41d03e
commit
87eb7c13e2
2 changed files with 1 additions and 33 deletions
2
Makefile
2
Makefile
|
@ -65,7 +65,7 @@ endif
|
|||
# Enable VILLASfpga support when libpci is available
|
||||
ifeq ($(shell pkg-config libpci; echo $$?),0)
|
||||
LIB_OBJS += fpga.o pci.o ip.o vfio.o
|
||||
LIB_OBJS += dma.o model.o fifo.o switch.o rtds_axis.o intc.o dft.o timer.o bram.o
|
||||
LIB_OBJS += dma.o model.o fifo.o switch.o rtds_axis.o intc.o dft.o timer.o
|
||||
LDLIBS += -lxil
|
||||
LDFLAGS += -Lthirdparty/xilinx -Wl,-rpath-link,'$$ORIGIN/thirdparty/xilinx'
|
||||
CFLAGS += -Ithirdparty/xilinx/include
|
||||
|
|
|
@ -1,32 +0,0 @@
|
|||
/** Block RAM
|
||||
*
|
||||
* @author Steffen Vogel <stvogel@eonerc.rwth-aachen.de>
|
||||
* @copyright 2015-2016, Steffen Vogel
|
||||
* This file is part of S2SS. All Rights Reserved. Proprietary and confidential.
|
||||
* Unauthorized copying of this file, via any medium is strictly prohibited.
|
||||
**********************************************************************************/
|
||||
|
||||
#include "fpga/ip.h"
|
||||
#include "fpga/timer.h"
|
||||
|
||||
int bram_parse(struct ip *c)
|
||||
{
|
||||
int size;
|
||||
|
||||
if (config_setting_lookup_int(c->cfg, "size", &size))
|
||||
c->bram.size = size;
|
||||
else
|
||||
cerror(c->cfg, "BRAM IP core requires 'size' setting");
|
||||
|
||||
if (size <= 0)
|
||||
error("BRAM IP core has invalid size: %d", size);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
static struct ip_type ip = {
|
||||
.vlnv = { "xilinx.com", "ip", "axi_bram_ctrl", NULL },
|
||||
.parse = bram_parse
|
||||
};
|
||||
|
||||
REGISTER_IP_TYPE(&ip)
|
Loading…
Add table
Reference in a new issue