//module for extension | |
module FMADD_Extender (Extender_input_A,Extender_input_B,Extender_output_A,Extender_output_B); | |
parameter std =31; | |
parameter man = 22; | |
parameter exp = 7; | |
//input declaration | |
input [std+1:0] Extender_input_A,Extender_input_B; | |
//output declaration | |
output [1+exp+2*(man+2):0] Extender_output_A,Extender_output_B; | |
//main functionlity | |
assign Extender_output_A = {Extender_input_A,{man+2{1'b0}}} ; | |
assign Extender_output_B = {Extender_input_B,{man+2{1'b0}}} ; | |
endmodule |