Design the datapath of the TinyMicro. The datapath should be parametrizable with the width of the data (DWIDTH) and the width of the memory address (AWIDTH). Use the default values shown in the specification.
Specification
module datapath (Data_Address, ReadData, WriteData, Const, EnA, EnB, Op, MemConst, MemAlu, Zero, Positive, clk, rst); parameter DWIDTH=6; parameter AWIDTH=4; output [AWIDTH-1:0] Data_Address; input [DWIDTH-1:0] ReadData; output [DWIDTH-1:0] WriteData; input [DWIDTH-1:0] Const; input [1:0] Op; input EnA, EnB, MemConst, MemAlu, clk, rst; output Zero, Positive;
Input
Output