1
0
mirror of https://github.com/olofk/serv.git synced 2026-04-05 12:46:09 +00:00

Add support for IceBreaker board

This commit is contained in:
Olof Kindgren
2018-11-22 13:03:23 +01:00
parent fa8def6e7a
commit f2e1e4a52b
2 changed files with 19 additions and 1 deletions

5
data/icebreaker.pcf Normal file
View File

@@ -0,0 +1,5 @@
# 12 MHz clock
set_io wb_clk 35
# RS232
set_io q 9

View File

@@ -51,6 +51,10 @@ filesets:
files:
- data/tinyfpga_bx.pcf : {file_type : PCF}
icebreaker:
files:
- data/icebreaker.pcf : {file_type : PCF}
verilator_tb:
files:
- bench/serv_soc_tb.cpp : {file_type : verilogSource}
@@ -61,6 +65,15 @@ targets:
filesets : [core]
toplevel : serv_top_tb
icebreaker:
default_tool : icestorm
filesets : [core, mem_files, wrapper, icebreaker]
tools:
icestorm:
nextpnr_options: [--up5k, --freq, 12]
pnr: next
toplevel : serv_wrapper
synth:
default_tool : icestorm
filesets : [core, mem_files, wrapper, tinyfpga_bx]
@@ -97,7 +110,7 @@ targets:
verilator_tb:
default_tool: verilator
filesets : [core, wrapper, verilator_tb]
parameters : [firmware, signature, uart_baudrate, vcd]
parameters : [RISCV_FORMAL, firmware, signature, uart_baudrate, vcd]
tools:
verilator:
verilator_options : [-Wno-fatal, --trace]