aboutsummaryrefslogtreecommitdiffstats
path: root/techlibs/ecp5/lutram.txt
blob: b943574290ed90666d76d94f145b1b60e733dad6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
bram $__TRELLIS_DPR16X4
  init 1
  abits 4
  dbits 4
  groups 2
  ports  1 1
  wrmode 0 1
  enable 0 1
  transp 0 0
  clocks 0 1
  clkpol 0 2
endbram

match $__TRELLIS_DPR16X4
  make_outreg
  min wports 1
endmatch
ound-color: #f0fff0 } /* Literal.String.Other */ .highlight .sr { color: #008800; background-color: #fff0ff } /* Literal.String.Regex */ .highlight .s1 { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Single */ .highlight .ss { color: #aa6600; background-color: #fff0f0 } /* Literal.String.Symbol */ .highlight .bp { color: #003388 } /* Name.Builtin.Pseudo */ .highlight .fm { color: #0066bb; font-weight: bold } /* Name.Function.Magic */ .highlight .vc { color: #336699 } /* Name.Variable.Class */ .highlight .vg { color: #dd7700 } /* Name.Variable.Global */ .highlight .vi { color: #3333bb } /* Name.Variable.Instance */ .highlight .vm { color: #336699 } /* Name.Variable.Magic */ .highlight .il { color: #0000DD; font-weight: bold } /* Literal.Number.Integer.Long */
#
# Make Performance counter tool
#
# $Id: Makefile,v 1.1 2003/10/13 16:49:44 jrb44 Exp $
#
# $Log: Makefile,v $
# Revision 1.1  2003/10/13 16:49:44  jrb44
# Initial revision
#
#

INSTALL		= install
INSTALL_PROG	= $(INSTALL) -m0755
INSTALL_DIR	= $(INSTALL) -d -m0755

# these are for Xen
XEN_ROOT=../../..
include $(XEN_ROOT)/tools/Rules.mk

CFLAGS      += -Wall -O3 

HDRS         = $(wildcard *.h)
SRCS         = $(wildcard *.c)
OBJS         = $(patsubst %.c,%.o,$(SRCS))

TARGETS      = cpuperf-xen cpuperf-perfcntr

INSTALL_BIN  = $(TARGETS)


all: $(TARGETS)

clean:
	$(RM) *.o $(TARGETS)

%: %.c $(HDRS) Makefile
	$(CC) $(CFLAGS) -o $@ $<

cpuperf-xen: cpuperf.c $(HDRS) Makefile
	$(CC) $(CFLAGS) -I $(XEN_LIBXC) -L$(XEN_LIBXC) -lxenctrl -DXENO -o $@ $<

cpuperf-perfcntr: cpuperf.c $(HDRS) Makefile
	$(CC) $(CFLAGS) -DPERFCNTR -o $@ $<

install: all
	$(INSTALL_PROG) $(INSTALL_BIN) $(DESTDIR)/usr/bin


# End of $RCSfile: Makefile,v $