<commit_before>
S2H = FMComms1Request
H2S = FMComms1Indication
BSVFILES = FMComms1ADC.bsv FMComms1DAC.bsv FMComms1.bsv \
	FPCMult.bsv DDS.bsv ChannelSelect.bsv Top.bsv
CPPFILES=testi2c.c
XBSVFLAGS = -C fmcomms1-$(BOARD).xdc --tcl clock.tcl
#XBSVFLAGS += --bscflags " -D TRACE_AXI"
XBSVFLAGS += --bscflags " -D USE_I2C1 -D IMPORT_HOSTIF -D PinType=FMComms1Pins"

ifeq ($(BOARD),zedboard)
HAS_PS7=true
XBSVFLAGS += -D USE_I2C0
endif
ifeq ($(BOARD),zc702)
HAS_PS7=true
endif


gentarget:: fmcomms1-$(BOARD).xdc sine.bin

fmcomms1-$(BOARD).xdc: fmcomms1-fmc.json ../../boardinfo/$(BOARD).json
	../../scripts/generate-constraints.py ../../boardinfo/$(BOARD).json fmcomms1-fmc.json > fmcomms1-$(BOARD).xdc

sine.bin: sinetable
	./sinetable >sine.bin

sinetable: sinetable.c
	cc -o sinetable sinetable.c -lm

include ../../Makefile.xbsv
<commit_msg>move sinetable to channeltest<commit_after>
S2H = FMComms1Request
H2S = FMComms1Indication
BSVFILES = FMComms1ADC.bsv FMComms1DAC.bsv FMComms1.bsv \
	 Top.bsv
CPPFILES=testi2c.c
XBSVFLAGS = -C fmcomms1-$(BOARD).xdc --tcl clock.tcl
#XBSVFLAGS += --bscflags " -D TRACE_AXI"
XBSVFLAGS += --bscflags " -D USE_I2C1 -D IMPORT_HOSTIF -D PinType=FMComms1Pins"

ifeq ($(BOARD),zedboard)
HAS_PS7=true
XBSVFLAGS += -D USE_I2C0
endif
ifeq ($(BOARD),zc702)
HAS_PS7=true
endif


gentarget:: fmcomms1-$(BOARD).xdc sine.bin

fmcomms1-$(BOARD).xdc: fmcomms1-fmc.json ../../boardinfo/$(BOARD).json
	../../scripts/generate-constraints.py ../../boardinfo/$(BOARD).json fmcomms1-fmc.json > fmcomms1-$(BOARD).xdc


include ../../Makefile.xbsv

{'fraction_non_alphanumeric': 0.16250799744081892, 'fraction_numerical': 0.030710172744721688, 'mean_word_length': 4.196013289036545, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 6, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2981144', 'n_tokens_mistral': 735, 'n_tokens_neox': 689, 'n_words': 119}