Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding support for the iceFUN board #129

Draft
wants to merge 3 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
31 changes: 31 additions & 0 deletions data/icefun.pcf
Original file line number Diff line number Diff line change
@@ -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
14 changes: 14 additions & 0 deletions servant.core
Original file line number Diff line number Diff line change
Expand Up @@ -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}]}

Expand Down Expand Up @@ -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
Expand Down