- Convert the provided C-like code, that calculates the difference between the minimum and maximum values in a register file, to an HLSM Write the...

  • Convert the provided C-like code, that calculates the difference between the minimum and maximum values in a register file, to an HLSM

  • Write the Verilog code, and functionally simulate your designed digital system.

o You must use the provided register file module given in the registerFile.v file, and your waveform should look similar to the figure provided below. Note: You may also use the provided testbench, and modify as necessary to instantiate your top module. The figure below includes a ‘done’ signal to indicate when the computation has completed, but you do not have to use that signal in your simulations.



- Convert the provided C-like code, that calculates the difference between the minimum and maximum values in a register file, to an HLSM Write the... 1