1
0
mirror of https://github.com/olofk/serv.git synced 2026-01-11 23:42:50 +00:00

servant: add iCESugar board support

This commit is contained in:
Qingyao Sun 2020-10-02 12:15:25 +08:00 committed by Olof Kindgren
parent 7192fb23e0
commit 9beea931a7
2 changed files with 24 additions and 0 deletions

5
data/icesugar.pcf Normal file
View File

@ -0,0 +1,5 @@
# 12 MHz clock
set_io i_clk 35
# RS232
set_io q 6

View File

@ -52,6 +52,7 @@ filesets:
tinyfpga_bx: {files: [data/tinyfpga_bx.pcf : {file_type : PCF}]}
icebreaker : {files: [data/icebreaker.pcf : {file_type : PCF}]}
icesugar : {files: [data/icesugar.pcf : {file_type : PCF}]}
alhambra : {files: [data/alhambra.pcf : {file_type : PCF}]}
icestick : {files: [data/icestick.pcf : {file_type : PCF}]}
@ -143,6 +144,18 @@ targets:
pnr: next
toplevel : service
icesugar:
default_tool : icestorm
description : iCE40UP5K Development Board by MuseLab
filesets : [mem_files, soc, service, icesugar]
generate: [icesugar_pll]
parameters : [memfile, memsize, PLL=ICE40_PAD]
tools:
icestorm:
nextpnr_options: [--up5k, --package, sg48, --freq, 32]
pnr: next
toplevel : service
lx9_microboard:
default_tool: ise
description : LX9 Microboard
@ -365,6 +378,12 @@ generate:
parameters:
freq_out : 16
icesugar_pll:
generator: icepll
parameters:
freq_in : 12
freq_out : 32
tinyfpga_bx_pll:
generator: icepll
parameters: