2022-06-12 20:59:55 +00:00
|
|
|
# SPDX-License-Identifier: GPL-2.0-or-later
|
|
|
|
|
2019-11-28 05:34:01 +00:00
|
|
|
# Copyright (C) 2016,2020 Synopsys, Inc.
|
|
|
|
# Anton Kolesov <anton.kolesov@synopsys.com>
|
|
|
|
# Didin Evgeniy <didin@synopsys.com>
|
|
|
|
|
|
|
|
#
|
|
|
|
# Synopsys DesignWare ARC EM Starter Kit v2.2
|
|
|
|
#
|
|
|
|
|
|
|
|
# Configure JTAG cable
|
2020-04-25 23:25:32 +00:00
|
|
|
# EM Starter Kit has built-in FT2232 chip, which is similar to Digilent HS-1.
|
2019-11-28 05:34:01 +00:00
|
|
|
source [find interface/ftdi/digilent-hs1.cfg]
|
|
|
|
|
|
|
|
# EM11D reportedly requires 5 MHz. Other cores and board can work faster.
|
|
|
|
adapter speed 5000
|
|
|
|
|
|
|
|
# ARCs support only JTAG.
|
|
|
|
transport select jtag
|
|
|
|
|
|
|
|
# Configure FPGA. This script supports both LX45 and LX150.
|
|
|
|
source [find target/snps_em_sk_fpga.cfg]
|