anandanips
Junior Member level 1
we need in our program 256 loctions of 8 bit wide i.e., producing 256 Byte ram.
we are using it by array but we are geting error message for declaring the array. actually we are displaying the data stored in ram,therefore it is one output port, so in our program we are written code as follows
module xy(x,y,ram);
input x,y;
output [7:0] ram[0:255];
reg[7:0] ram[0:255];
tell me how to declare array,initialise array..... and clear my error...
thanks in advance
we are using it by array but we are geting error message for declaring the array. actually we are displaying the data stored in ram,therefore it is one output port, so in our program we are written code as follows
module xy(x,y,ram);
input x,y;
output [7:0] ram[0:255];
reg[7:0] ram[0:255];
tell me how to declare array,initialise array..... and clear my error...
thanks in advance