1
0
mirror of https://github.com/olofk/serv.git synced 2026-01-27 04:02:00 +00:00

Add support for setting memory contents during synthesis

This commit is contained in:
Olof Kindgren
2018-11-26 09:49:08 +01:00
parent e1f5bcc4f3
commit 12039dec0e
9 changed files with 2159 additions and 5 deletions

View File

@@ -22,8 +22,8 @@ filesets:
mem_files:
files:
- bitbang.hex : {copyto : bitbang.hex}
- helloservice4000.hex : {copyto : helloservice4000.hex}
- sw/blinky.hex : {copyto : blinky.hex}
- sw/zephyr_hello.hex : {copyto : zephyr_hello.hex}
file_type : user
serv_top_tb:
@@ -65,6 +65,7 @@ targets:
icebreaker:
default_tool : icestorm
filesets : [core, mem_files, wrapper, icebreaker]
parameters : [memfile]
tools:
icestorm:
nextpnr_options: [--up5k, --freq, 12]
@@ -79,6 +80,7 @@ targets:
tinyfpga_bx:
default_tool : icestorm
filesets : [core, mem_files, wrapper, tinyfpga_bx]
parameters : [memfile]
tools:
icestorm:
nextpnr_options : [--lp8k, --package, cm81, --freq, 16]
@@ -120,8 +122,14 @@ parameters:
firmware:
datatype : file
description : Preload RAM with a hex file at runtime (overrides memfile)
paramtype : plusarg
memfile:
datatype : file
description : Preload RAM with a hex file at compile-time
paramtype : vlogparam
signature:
datatype : file
paramtype : plusarg