diff --git a/ice40.js b/ice40.js index 9b7bff5..5d7d17c 100644 --- a/ice40.js +++ b/ice40.js @@ -640,7 +640,7 @@ function asc_postprocess(chipdb, ts, asc) { // Set active flag. var active_bitidx = chipdb.ramb_tile_bits.function['RamConfig.PowerUp'][0]; // RAMB powerup flag is active-low in 1k device. - var active_value = (chipdb.device.device == "8k" ? 1 : 0); + var active_value = (chipdb.device.device == "1k" ? 0 : 1); for (var y = 0; y < chipdb.device.height; ++y) { if (!(y in ts)) continue;