|
input FIFO_DATAWIDTH-1:0 fifo_wdata; input FIFO_BYTESWIDTH-1:0 fifo_wren; input FIFO_BYTESWIDTH-1:0 fifo_rden; output FIFO_DATAWIDTH-1:0 fifo_rdata; output FIFO_FIFOWIDTH-1:0 fifo_wr_ptr;always @ (/*AUTOSENSE*/fifo_wren) begin bytes_to_write = 0; case (fifo_wren) 8'b1000_0000: bytes_to_write = 1; 8'b1100_0000: bytes_to_write = 2; 8'b1110_0000: bytes_to_write = 3; THis is my given file here Here i have to do read the above file and write it into the another file.THe file ie created must be like dat we have to read all inputs(from the above) into a file created called input_cre,like dat we have to do the same thing for all whats the problem for me here is that i was able to read input and outputs but i couldnt able to read entire always block