-
Notifications
You must be signed in to change notification settings - Fork 0
/
fp_operation_wrapper.sus
32 lines (19 loc) · 1.11 KB
/
fp_operation_wrapper.sus
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
extern module fp_add_sub {
domain clk
interface input: bool[32] s_axis_a_tdata'0, bool s_axis_a_tready'0, bool s_axis_a_tvalid'0,
bool [32] s_axis_b_tdata'0, bool s_axis_b_tready'0, bool s_axis_b_tvalid'0, bool[8] s_axis_operation_tdata'0,
bool s_axis_operation_tready'0, bool s_axis_operation_tvalid'0
interface output: bool[32] m_axis_result_tdata'12, bool m_axis_result_tvalid'12, bool m_axis_result_tready'12
}
extern module fp_mult{
domain clk
interface input: bool[32] s_axis_a_tdata'0, bool s_axis_a_tready'0, bool s_axis_a_tvalid'0,
bool [32] s_axis_b_tdata'0, bool s_axis_b_tready'0, bool s_axis_b_tvalid'0
interface output: bool[32] m_axis_result_tdata'9, bool m_axis_result_tvalid'9, bool m_axis_result_tready'9
}
extern module fp_div {
domain clk
interface input: bool[32] s_axis_a_tdata'0, bool s_axis_a_tready'0, bool s_axis_a_tvalid'0,
bool [32] s_axis_b_tdata'0, bool s_axis_b_tready'0, bool s_axis_b_tvalid'0
interface output: bool[32] m_axis_result_tdata'29, bool m_axis_result_tvalid'29, bool m_axis_result_tready'29
}