Update necessary parts for compatibility

This commit is contained in:
ej159 2024-06-27 22:30:16 +01:00
parent 344940c655
commit 52d6e2aeb5
2 changed files with 45 additions and 0 deletions

31
data/icefun.pcf Normal file
View file

@ -0,0 +1,31 @@
# For iceFUN board
# 12 MHz clock
set_io i_clk P7
# RS232
set_io q C10
#set_io --warn-no-port led1 C10
#set_io --warn-no-port led2 A10
#set_io --warn-no-port led3 D7
#set_io --warn-no-port led4 D6
#set_io --warn-no-port led5 A7
#set_io --warn-no-port led6 C7
#set_io --warn-no-port led7 A4
#set_io --warn-no-port led8 C4
#set_io --warn-no-port lcol1 A12
#set_io --warn-no-port lcol2 D10
#set_io --warn-no-port lcol3 A6
#set_io --warn-no-port lcol4 C5
#set_io --warn-no-port spkp M12
#set_io --warn-no-port spkm M6
#set_io --warn-no-port key1 C11
#set_io --warn-no-port key2 C6
#set_io --warn-no-port key3 A11
#set_io --warn-no-port key4 A5
#set_io --warn-no-port red P14
#set_io --warn-no-port green N14
#set_io --warn-no-port blue L14
#
#set_io --warn-no-port clk12MHz P7

View file

@ -151,6 +151,8 @@ filesets:
- servant/service_go_board.v : {file_type : verilogSource}
icebreaker : {files: [data/icebreaker.pcf : {file_type : PCF}]}
icefun : {files: [data/icefun.pcf : {file_type : PCF}]}
icestick : {files: [data/icestick.pcf : {file_type : PCF}]}
@ -410,6 +412,18 @@ targets:
pnr: next
toplevel : service
icefun:
default_tool : icestorm
description: Devantech IceFUN
filesets : [mem_files, soc, service, icefun]
generate: [ice40pll : {freq_out : 16}]
parameters : [memfile, memsize, PLL=ICE40_CORE]
tools:
icestorm:
nextpnr_options: [--hx8k, --package, cb132 --freq, 16]
pnr: next
toplevel : service
icestick:
default_tool : icestorm
description: Lattice iCEstick