diff options
Diffstat (limited to 'rtl/gfx/fp_add.sv')
| -rw-r--r-- | rtl/gfx/fp_add.sv | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/rtl/gfx/fp_add.sv b/rtl/gfx/fp_add.sv new file mode 100644 index 0000000..7f7e2c6 --- /dev/null +++ b/rtl/gfx/fp_add.sv @@ -0,0 +1,29 @@ +`include "gfx/gfx_defs.sv" + +module fp_add +( + input logic clk, + rst_n, + + input logic start, + input fp a, + b, + + output logic done, + output fp q +); + + pipelined_flow #(.STAGES(`FP_ADD_STAGES)) stages + ( + .* + ); + +`ifndef VERILATOR + ip_fp_add ip_add + ( + .areset(0), + .* + ); +`endif + +endmodule |
