2018-03-04 15:22:03 -05:00
|
|
|
CAPI=2:
|
2021-05-11 04:28:59 -04:00
|
|
|
name : ::picorv32:1.0
|
2018-03-04 15:22:03 -05:00
|
|
|
|
|
|
|
filesets:
|
|
|
|
rtl:
|
|
|
|
files: [picorv32.v]
|
|
|
|
file_type : verilogSource
|
|
|
|
tb:
|
|
|
|
files: [testbench.v]
|
|
|
|
file_type : verilogSource
|
|
|
|
depend:
|
|
|
|
tb_ez:
|
|
|
|
files: [testbench_ez.v]
|
|
|
|
file_type : verilogSource
|
|
|
|
tb_wb:
|
|
|
|
files: [testbench_wb.v]
|
|
|
|
file_type : verilogSource
|
|
|
|
tb_verilator:
|
|
|
|
files:
|
|
|
|
- testbench.cc : {file_type : cppSource}
|
2021-05-11 04:28:59 -04:00
|
|
|
openlane:
|
|
|
|
files:
|
|
|
|
- openlane_params.tcl : {file_type : tclSource}
|
2018-03-04 15:22:03 -05:00
|
|
|
|
|
|
|
targets:
|
|
|
|
default:
|
|
|
|
filesets: [rtl]
|
|
|
|
lint:
|
|
|
|
filesets: [rtl]
|
|
|
|
default_tool : verilator
|
|
|
|
tools:
|
|
|
|
verilator:
|
|
|
|
mode : lint-only
|
|
|
|
toplevel : [picorv32_axi]
|
2021-05-11 04:28:59 -04:00
|
|
|
|
|
|
|
sky130:
|
|
|
|
default_tool : openlane
|
|
|
|
filesets : [rtl, openlane]
|
|
|
|
parameters :
|
|
|
|
- ENABLE_REGS_16_31=0
|
|
|
|
- ENABLE_REGS_DUALPORT=0
|
|
|
|
- BARREL_SHIFTER=1
|
|
|
|
- TWO_CYCLE_ALU=1
|
|
|
|
- ENABLE_FAST_MUL=1
|
|
|
|
- ENABLE_IRQ=1
|
|
|
|
toplevel : picorv32
|
|
|
|
|
2018-03-04 15:22:03 -05:00
|
|
|
test:
|
|
|
|
default_tool: icarus
|
|
|
|
filesets: [rtl, tb, "tool_verilator? (tb_verilator)"]
|
|
|
|
parameters: [COMPRESSED_ISA, axi_test, firmware, noerror, trace, vcd, verbose]
|
|
|
|
toplevel:
|
|
|
|
- "tool_verilator? (picorv32_wrapper)"
|
|
|
|
- "!tool_verilator? (testbench)"
|
2021-05-11 04:28:59 -04:00
|
|
|
|
2018-03-04 15:22:03 -05:00
|
|
|
tools:
|
|
|
|
verilator :
|
|
|
|
cli_parser : fusesoc
|
|
|
|
mode : cc
|
|
|
|
verilator_options : [-Wno-fatal, --trace]
|
|
|
|
test_ez:
|
|
|
|
default_tool: icarus
|
|
|
|
filesets: [rtl, tb_ez]
|
|
|
|
parameters: [vcd]
|
|
|
|
toplevel: [testbench]
|
|
|
|
test_wb:
|
|
|
|
default_tool: icarus
|
|
|
|
filesets: [rtl, tb_wb]
|
|
|
|
parameters: [COMPRESSED_ISA, firmware, noerror, trace, vcd]
|
|
|
|
toplevel: [testbench]
|
|
|
|
|
|
|
|
parameters:
|
|
|
|
COMPRESSED_ISA:
|
|
|
|
datatype : str
|
|
|
|
default : 1
|
|
|
|
paramtype : vlogdefine
|
2021-05-11 04:28:59 -04:00
|
|
|
ENABLE_REGS_16_31:
|
|
|
|
datatype : int
|
|
|
|
paramtype : vlogparam
|
|
|
|
ENABLE_REGS_DUALPORT:
|
|
|
|
datatype : int
|
|
|
|
paramtype : vlogparam
|
|
|
|
BARREL_SHIFTER:
|
|
|
|
datatype : int
|
|
|
|
paramtype : vlogparam
|
|
|
|
TWO_CYCLE_ALU:
|
|
|
|
datatype : int
|
|
|
|
paramtype : vlogparam
|
|
|
|
ENABLE_FAST_MUL:
|
|
|
|
datatype : int
|
|
|
|
paramtype : vlogparam
|
|
|
|
ENABLE_IRQ:
|
|
|
|
datatype : int
|
|
|
|
paramtype : vlogparam
|
2018-03-04 15:22:03 -05:00
|
|
|
axi_test:
|
|
|
|
datatype : bool
|
|
|
|
paramtype : plusarg
|
|
|
|
firmware:
|
|
|
|
datatype : file
|
|
|
|
paramtype : plusarg
|
|
|
|
noerror:
|
|
|
|
datatype : bool
|
|
|
|
paramtype : plusarg
|
|
|
|
trace:
|
|
|
|
datatype : bool
|
|
|
|
paramtype : plusarg
|
|
|
|
vcd:
|
|
|
|
datatype : bool
|
|
|
|
paramtype : plusarg
|
|
|
|
verbose:
|
|
|
|
datatype : bool
|
2021-05-11 04:28:59 -04:00
|
|
|
paramtype : plusarg
|