From 9beea931a7cccad3f2c2f84405a6fce83696e334 Mon Sep 17 00:00:00 2001 From: Qingyao Sun Date: Fri, 2 Oct 2020 12:15:25 +0800 Subject: [PATCH] servant: add iCESugar board support --- data/icesugar.pcf | 5 +++++ servant.core | 19 +++++++++++++++++++ 2 files changed, 24 insertions(+) create mode 100644 data/icesugar.pcf diff --git a/data/icesugar.pcf b/data/icesugar.pcf new file mode 100644 index 0000000..365ce47 --- /dev/null +++ b/data/icesugar.pcf @@ -0,0 +1,5 @@ +# 12 MHz clock +set_io i_clk 35 + +# RS232 +set_io q 6 diff --git a/servant.core b/servant.core index 5d97f38..7896a3a 100644 --- a/servant.core +++ b/servant.core @@ -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: