From a6a92f6b6b586cdb6e300e00b2fcd0145925fff3 Mon Sep 17 00:00:00 2001 From: gatecat Date: Mon, 29 Mar 2021 21:35:44 +0100 Subject: [PATCH] nexus: Fix default IO config Signed-off-by: gatecat --- nexus/fasm.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/nexus/fasm.cc b/nexus/fasm.cc index c818123d..a68e524c 100644 --- a/nexus/fasm.cc +++ b/nexus/fasm.cc @@ -365,6 +365,8 @@ struct NexusFasmWriter const char *iodir = is_input ? "INPUT" : (is_output ? "OUTPUT" : "BIDIR"); write_bit(stringf("BASE_TYPE.%s_%s", iodir, str_or_default(cell->attrs, id_IO_TYPE, "LVCMOS33").c_str())); write_ioattr(cell, "PULLMODE", "NONE"); + write_ioattr(cell, "GLITCHFILTER", "OFF"); + write_ioattr(cell, "SLEWRATE", "MED"); write_cell_muxes(cell); pop(); }