FINALFANTASYFAN
Member level 1
I have a design using 2 BRAM blocks, one contains filter coef, one contains image. As simulating this design, I encounter a problem. These are single port RAM and the whole design is synchronized on CLK's rising edge.:
- If CLK starts ( initialized value ) by 0 then everything is OK. It gives me the same result as what I've got in MatLab.
- But if I initialize CLK by 1 then BRAM data output sometimes turns into UNKNOWN VALUE when address input changes. Others, it still works OK.
What is the matter with BRAM ( or synchronous RAM ) simulation? Does anyone experience this? Pls help me!
- If CLK starts ( initialized value ) by 0 then everything is OK. It gives me the same result as what I've got in MatLab.
- But if I initialize CLK by 1 then BRAM data output sometimes turns into UNKNOWN VALUE when address input changes. Others, it still works OK.
What is the matter with BRAM ( or synchronous RAM ) simulation? Does anyone experience this? Pls help me!