summaryrefslogtreecommitdiffstats
path: root/picosoc/icebreaker.core
blob: 5af5fd6bd3352968a07351635b5bd6b1386dc75c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
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]