aboutsummaryrefslogtreecommitdiffstats
path: root/picosoc
diff options
context:
space:
mode:
authorOlof Kindgren <olof.kindgren@gmail.com>2018-09-02 22:48:47 +0200
committerOlof Kindgren <olof.kindgren@gmail.com>2018-09-02 22:48:47 +0200
commit7b9641ad97bb5df53c9dae571f4f42fd7101b7e6 (patch)
tree507ac852289882e654a7095ef0dc8e9e06364ce9 /picosoc
parent23d7bbdc8bb3ff97b4d3ccf9cc2eb9ee291039de (diff)
downloadpicorv32-7b9641ad97bb5df53c9dae571f4f42fd7101b7e6.tar.gz
picorv32-7b9641ad97bb5df53c9dae571f4f42fd7101b7e6.zip
Add FuseSoC support for icebreaker
Diffstat (limited to 'picosoc')
-rw-r--r--picosoc/icebreaker.core36
1 files changed, 36 insertions, 0 deletions
diff --git a/picosoc/icebreaker.core b/picosoc/icebreaker.core
new file mode 100644
index 0000000..5af5fd6
--- /dev/null
+++ b/picosoc/icebreaker.core
@@ -0,0 +1,36 @@
+CAPI=2:
+
+name : ::icebreaker:0
+
+filesets:
+ top:
+ files: [icebreaker.v]
+ file_type : verilogSource
+ depend : [picosoc]
+ tb:
+ files:
+ - icebreaker_tb.v
+ file_type : verilogSource
+ depend : [spiflash, "yosys:techlibs:ice40"]
+
+ constraints:
+ files: [icebreaker.pcf]
+ file_type : PCF
+
+targets:
+ synth:
+ default_tool : icestorm
+ filesets : [constraints, top]
+ tools:
+ icestorm:
+ nextpnr_options : [--freq, 13, --up5k]
+ pnr : next
+ toplevel : [icebreaker]
+ sim:
+ default_tool : icarus
+ filesets : [top, tb]
+ tools:
+ xsim:
+ xelab_options : [--timescale, 1ns/1ps]
+
+ toplevel : [testbench]