ecp5: Allow setting IO SLEWRATE
Signed-off-by: David Shah <dave@ds0.me>
This commit is contained in:
parent
e005cc6754
commit
04f9b87101
@ -664,6 +664,8 @@ void write_bitstream(Context *ctx, std::string base_config_file, std::string tex
|
||||
if (dir == "INPUT" && !is_differential(ioType_from_str(iotype))) {
|
||||
cc.tiles[pio_tile].add_enum(pio + ".HYSTERESIS", "ON");
|
||||
}
|
||||
if (ci->attrs.count(ctx->id("SLEWRATE")))
|
||||
cc.tiles[pio_tile].add_enum(pio + ".SLEWRATE", str_or_default(ci->attrs, ctx->id("SLEWRATE"), "SLOW"));
|
||||
} else if (ci->type == ctx->id("DCCA")) {
|
||||
// Nothing to do
|
||||
} else if (ci->type == ctx->id("DP16KD")) {
|
||||
|
Loading…
Reference in New Issue
Block a user