diff options
author | William D. Jones <thor0505@comcast.net> | 2021-01-31 00:05:41 -0500 |
---|---|---|
committer | gatecat <gatecat@ds0.me> | 2021-02-12 10:36:59 +0000 |
commit | d485dc6ef684c3ad469614036f1f343064a378da (patch) | |
tree | 21f160c542335fb27058e18eb0d931d1f5e7537c /machxo2/bitstream.cc | |
parent | 5415194b39c0e7ade963f5c52f2977f00ed5feeb (diff) | |
download | nextpnr-d485dc6ef684c3ad469614036f1f343064a378da.tar.gz nextpnr-d485dc6ef684c3ad469614036f1f343064a378da.tar.bz2 nextpnr-d485dc6ef684c3ad469614036f1f343064a378da.zip |
machxo2: Add REGMODE to bitstream output.
Diffstat (limited to 'machxo2/bitstream.cc')
-rw-r--r-- | machxo2/bitstream.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/machxo2/bitstream.cc b/machxo2/bitstream.cc index 419b8f07..1502166a 100644 --- a/machxo2/bitstream.cc +++ b/machxo2/bitstream.cc @@ -167,6 +167,7 @@ void write_bitstream(Context *ctx, std::string text_config_file) cc.tiles[tname].add_enum("CLK" + std::to_string(int_index) + ".CLKMUX", intstr_or_default(ci->params, ctx->id("CLKMUX"), "0")); cc.tiles[tname].add_enum("LSR" + std::to_string(int_index) + ".LSRMUX", str_or_default(ci->params, ctx->id("LSRMUX"), "LSR")); cc.tiles[tname].add_enum("LSR" + std::to_string(int_index) + ".LSRONMUX", intstr_or_default(ci->params, ctx->id("LSRONMUX"), "LSRMUX")); + cc.tiles[tname].add_enum(slice + ".REGMODE", str_or_default(ci->params, ctx->id("REGMODE"), "FF")); cc.tiles[tname].add_enum(slice + ".REG0.SD", intstr_or_default(ci->params, ctx->id("REG0_SD"), "0")); cc.tiles[tname].add_enum(slice + ".REG1.SD", intstr_or_default(ci->params, ctx->id("REG1_SD"), "0")); cc.tiles[tname].add_enum(slice + ".REG0.REGSET", |