Loading files
This file is pinned to the selected release. Download the original to open it in your design tool.
#!/bin/bash
# SPDX-FileCopyrightText: © 2020 Herbert Poetzl <herbert@13thfloor.at>
# SPDX-License-Identifier: GPL-2.0-only
axiom_scn_reg() {
addr=$(( 0x80000100 + ($1 * 2) ))
axiom_mem_reg -2 $addr $2
}
axiom_scn_regi() {
addr=$(( 0x80000000 + ($1 * 2) ))
axiom_mem_reg -2 $addr $2
}
axiom_gen_reg() {
addr=$(( 0x80100100 + ($1 * 4) ))
axiom_mem_reg -4 $addr $2
}
axiom_gen_regi() {
addr=$(( 0x80100000 + ($1 * 4) ))
axiom_mem_reg -4 $addr $2
}
axiom_mat_reg() {
addr=$(( 0x80200100 + ($1 * 4) ))
axiom_mem_reg -4 $addr $2
}
axiom_mat_regi() {
addr=$(( 0x80200000 + ($1 * 4) ))
axiom_mem_reg -4 $addr $2
}
axiom_pll_reg() {
addr=$(( 0x80400000 + ($1 * 4) ))
axiom_mem_reg -4 $addr $2
}
axiom_lut_reg() {
addr=$(( 0x80500000 + ($1 * 4) ))
axiom_mem_reg -4 $addr $2
}
d442579a6This file is pinned to the selected release. Download the original to open it in your design tool.