-
Notifications
You must be signed in to change notification settings - Fork 2
/
Bender.yml
94 lines (81 loc) · 2.27 KB
/
Bender.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
package:
name: ppu
authors:
- "Francesco Urbani <francesco.urbani@ing.unipi.it>"
export_include_dirs:
- src/include
dependencies:
sources:
-
defines:
# {N, ES, WORD, F} are defined in the makefile
N: 16
ES: 1
WORD: 32
F: 64
NO_PIPELINE: ~
CLK_FREQ: 100
COCOTB : ~
#FMA_ONLY : ~
PIPELINE_DEPTH: 0
FMA_OP: ~
INNER_PIPELINE_DEPTH: 0
FX_M: 31
FX_B: 64
# Enable Float to Posit and Posit to Float conversions. Comment to disasble.
FLOAT_TO_POSIT : ~
POSIT_TO_FLOAT : ~
files:
- src/ppu_pkg.sv
- src/core_ops/ppu_core_ops.sv
- src/accumulator.sv
- src/input_conditioning.sv
- src/extraction.sv
- src/normalization.sv
- src/handle_special_or_trivial.sv
- src/format/total_exponent.sv
- src/fir_ops.sv
- src/core_ops/core_op.sv
- src/core_ops/core_op_fma.sv
- src/core_ops/core_add_sub.sv
- src/core_ops/add_sub.sv
- src/core_ops/router_core_add_sub.sv
- src/core_ops/core_add.sv
- src/core_ops/core_sub.sv
- src/core_ops/core_mul.sv
- src/core_ops/core_fma_accumulator.sv
- src/core_ops/core_div.sv
- src/core_ops/fast_reciprocal.sv
- src/core_ops/lut_reciprocate.sv
- src/core_ops/reciprocal_approx.sv
- src/core_ops/newton_raphson.sv
- src/format/pack_fields.sv
- src/format/unpack_exponent.sv
- src/format/compute_rounding.sv
- src/format/posit_unpack.sv
- src/format/posit_decoder.sv
- src/format/posit_encoder.sv
- src/format/lzc.sv
- src/format/round_posit.sv
- src/sign_decisor.sv
- src/format/set_sign.sv
- src/core_ops/pp_mul.sv
- src/ppu.sv
- src/pipeline.sv
- src/ppu_top.sv
- src/ppu_control_unit.sv
- src/ppu_ap_top.sv
### Conversions
- src/conversions/posit_to_float.sv
- src/conversions/float_to_posit.sv
- src/conversions/float_to_fir.sv
- src/conversions/fir_to_float.sv
- src/conversions/floats/sign_extend.sv
- src/conversions/floats/float_encoder.sv
- src/conversions/floats/float_decoder.sv
- src/conversions/posit_to_fir.sv
- src/conversions/fir_to_posit.sv
- src/conversions/fir_to_fixed.sv
- src/conversions/fixed_to_fir.sv
- target: test
files: