mirror of
https://github.com/lowRISC/ibex.git
synced 2025-04-24 22:07:43 -04:00
Check that the number of cycles are always as specified for the current configuration for data independent operations. The required input signals for each arithmetic operation are split into different files which are included into the testbench. For each combination of operation and configured configuration (slow/fast/single) a define stores the number of cycles in a separate file. A target exists for each combination. For a convenient execution the targets are grouped together in a makefile. The implementation is based on the formal/icache checks. For the selection of the single cycle multiplication with the fast multiplication the parameter is set directly to the enum integer value.
28 lines
696 B
Text
28 lines
696 B
Text
CAPI=2:
|
|
# Copyright lowRISC contributors.
|
|
# Licensed under the Apache License, Version 2.0, see LICENSE for details.
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
name: "lowrisc:ibex:ibex_multdiv:0.1"
|
|
description: "Multiplier and divider"
|
|
|
|
filesets:
|
|
files_rtl:
|
|
depend:
|
|
- lowrisc:prim:assert
|
|
- lowrisc:ibex:ibex_pkg
|
|
files:
|
|
- rtl/ibex_multdiv_fast.sv
|
|
- rtl/ibex_multdiv_slow.sv
|
|
file_type: systemVerilogSource
|
|
|
|
parameters:
|
|
RV32M:
|
|
datatype: int
|
|
default: 2
|
|
paramtype: vlogparam
|
|
description: "Selection of multiplication implementation. Switch to enable single cycle multiplications."
|
|
|
|
targets:
|
|
default: &default_target
|
|
filesets:
|
|
- files_rtl
|