(hls backend with ram) add directive resource RAM_1P for input ports.