mirror of https://github.com/YosysHQ/picorv32.git
Merge pull request #74 from olofk/picosoc-fusesoc_v2
Picosoc fusesoc v2
This commit is contained in:
commit
2a0cff8672
|
@ -0,0 +1,35 @@
|
|||
CAPI=2:
|
||||
|
||||
name : ::hx8kdemo:0
|
||||
|
||||
filesets:
|
||||
hx8kdemo:
|
||||
files: [hx8kdemo.v]
|
||||
file_type : verilogSource
|
||||
depend : [picosoc]
|
||||
hx8ksim:
|
||||
files:
|
||||
- hx8kdemo_tb.v
|
||||
file_type : verilogSource
|
||||
depend : [spiflash, "yosys:techlibs:ice40"]
|
||||
|
||||
constraints:
|
||||
files: [hx8kdemo.pcf]
|
||||
file_type : PCF
|
||||
|
||||
targets:
|
||||
synth:
|
||||
default_tool : icestorm
|
||||
filesets : [constraints, hx8kdemo]
|
||||
tools:
|
||||
icestorm:
|
||||
arachne_pnr_options : [-d, 8k]
|
||||
toplevel : [hx8kdemo]
|
||||
sim:
|
||||
default_tool : icarus
|
||||
filesets : [hx8kdemo, hx8ksim]
|
||||
tools:
|
||||
xsim:
|
||||
xelab_options : [--timescale, 1ns/1ps]
|
||||
|
||||
toplevel : [testbench]
|
|
@ -0,0 +1,23 @@
|
|||
CAPI=2:
|
||||
|
||||
name : ::picosoc:0
|
||||
|
||||
filesets:
|
||||
picosoc:
|
||||
files:
|
||||
- simpleuart.v
|
||||
- spimemio.v
|
||||
- picosoc.v
|
||||
file_type : verilogSource
|
||||
depend : [picorv32]
|
||||
|
||||
targets:
|
||||
default:
|
||||
filesets : [picosoc]
|
||||
parameters : [PICORV32_REGS]
|
||||
|
||||
parameters:
|
||||
PICORV32_REGS:
|
||||
datatype : str
|
||||
default : picosoc_regs
|
||||
paramtype : vlogdefine
|
|
@ -0,0 +1,24 @@
|
|||
CAPI=2:
|
||||
|
||||
name : ::spiflash:0
|
||||
|
||||
filesets:
|
||||
model:
|
||||
files : [spiflash.v]
|
||||
file_type : verilogSource
|
||||
tb:
|
||||
files : [spiflash_tb.v]
|
||||
file_type : verilogSource
|
||||
|
||||
targets:
|
||||
default:
|
||||
default_tool : icarus
|
||||
filesets : [model, "is_toplevel? (tb)"]
|
||||
parameters : [firmware]
|
||||
toplevel : [testbench]
|
||||
|
||||
parameters :
|
||||
firmware:
|
||||
datatype : file
|
||||
description : Initial SPI Flash contents (in verilog hex format)
|
||||
paramtype : plusarg
|
Loading…
Reference in New Issue