hmmm... do you have an MCVE? Note that there are a few incompatible differences between Verilog-2001 and Verilog-2005 when it comes to $readmemb and $readmemh. Yosys implements the Verilog-2005 behavior.
-
-
I can make one, but I think it's a Quartus problem, not a Yosys one. Quartus seems to put the MSB of the file into the LSB of the memory but I must investigate further.
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
The problem was definitely Quartus but not with $readmemb. rom[address][bitindex] returned the wrong bit :-/ doing: reg [7:0] romout; always .. romout = rom[address]; pixel <= romout[bitindex]; does work.. :-?
-
Careful mixing = and <= in the same always block..
- Show replies
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.