diff options
author | Pepijn de Vos <pepijndevos@gmail.com> | 2022-06-06 14:35:33 +0200 |
---|---|---|
committer | Pepijn de Vos <pepijndevos@gmail.com> | 2022-06-06 14:35:33 +0200 |
commit | de1bee9352c9f760cb21a35912c48ed2f830c023 (patch) | |
tree | b199f924a67bed08ef08eafb1f792eab63a549b9 /gowin/pack.cc | |
parent | 490dddf636bc50945ee6e6858f7c1942faa3aaf5 (diff) | |
download | nextpnr-de1bee9352c9f760cb21a35912c48ed2f830c023.tar.gz nextpnr-de1bee9352c9f760cb21a35912c48ed2f830c023.tar.bz2 nextpnr-de1bee9352c9f760cb21a35912c48ed2f830c023.zip |
lutram actually PnRs
Diffstat (limited to 'gowin/pack.cc')
-rw-r--r-- | gowin/pack.cc | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/gowin/pack.cc b/gowin/pack.cc index fa88772a..7d3a8e98 100644 --- a/gowin/pack.cc +++ b/gowin/pack.cc @@ -695,6 +695,8 @@ static void pack_gsr(Context *ctx) // Pack shadow RAM void pack_sram(Context *ctx) { + log_info("Packing Shadow RAM..\n"); + pool<IdString> packed_cells; std::vector<std::unique_ptr<CellInfo>> new_cells; @@ -755,7 +757,7 @@ void pack_sram(Context *ctx) ramw_slice->constr_abs_z = true; ramw_slice->constr_x = 0; ramw_slice->constr_y = 0; - ramw_slice->constr_z = 4; + ramw_slice->constr_z = BelZ::lutram_0_z; ram_comb[0]->constr_children.push_back(ramw_slice.get()); for (int i = 0; i < 4; i++) @@ -1091,6 +1093,7 @@ bool Arch::pack() try { log_break(); pack_constants(ctx); + pack_sram(ctx); pack_gsr(ctx); pack_io(ctx); pack_diff_io(ctx); |