spiOverJtag: add 5CEBA4F23C8, fix sdc file and compress rbf file

This commit is contained in:
Gwenhael Goavec-Merou 2021-11-28 10:00:21 +01:00
parent b2e6c1dd07
commit c6b02b4358
2 changed files with 7 additions and 4 deletions

View File

@ -4,8 +4,8 @@ XILINX_PARTS := xc6slx45csg324 xc6slx100fgg484 \
xc7s50csga324
XILINX_BIT_FILES := $(addsuffix .bit,$(addprefix spiOverJtag_, $(XILINX_PARTS)))
ALTERA_PARTS := 10cl025256 ep4ce2217 5ce223
ALTERA_BIT_FILES := $(addsuffix .rbf, $(addprefix spiOverJtag_, $(ALTERA_PARTS)))
ALTERA_PARTS := 10cl025256 ep4ce2217 5ce223 5ce423
ALTERA_BIT_FILES := $(addsuffix .rbf.gz, $(addprefix spiOverJtag_, $(ALTERA_PARTS)))
BIT_FILES := $(ALTERA_BIT_FILES) $(XILINX_BIT_FILES)
@ -16,7 +16,9 @@ $(XILINX_BIT_FILES) : spiOverJtag_%.bit : tmp_%/spiOverJtag.bit
tmp_%/spiOverJtag.bit : xilinx_spiOverJtag.v
./build.py $*
$(ALTERA_BIT_FILES): spiOverJtag_%.rbf: tmp_%/spiOverJtag.sof
$(ALTERA_BIT_FILES): spiOverJtag_%.rbf.gz: tmp_%/spiOverJtag.rbf
gzip -9 -c $< > $@
tmp_%/spiOverJtag.rbf: tmp_%/spiOverJtag.sof
quartus_cpf --option=bitstream_compression=off -c $< $@
tmp_%/spiOverJtag.sof: altera_spiOverJtag.v

View File

@ -82,11 +82,12 @@ else:
"10cl025256": "10CL025YU256C8G",
"ep4ce2217" : "EP4CE22F17C6",
"5ce223" : "5CEFA2F23I7",
"5ce423" : "5CEBA4F23C8",
"5cse423" : "5CSEMA4U23C6",
"5cse623" : "5CSEBA6U23I7"}[part]
files.append({'name': currDir + 'altera_spiOverJtag.v',
'file_type': 'verilogSource'})
files.append({'name': currDir + 'test_jtag.sdc',
files.append({'name': currDir + 'altera_spiOverJtag.sdc',
'file_type': 'SDC'})
tool_options = {'device': full_part, 'family':family}