Randall, first off all thank you for replying! the thing with my problem is that i have to design a histogram generator. this means i need to have 300700 pixel values( varying from 0-255 ,8bit) and count how many of them appear with the same value. for example if there are 10.000 pixels with intensity value 200 i must somehow be able to count them, probably with accumulators. the thing is, that i can't write manually 300700 values in the waveform vector file(one for every clock cycle), so i thought there might be a way to insert some random values from a text file or something.