mirror of https://github.com/YosysHQ/yosys.git
Fix test of memory vs. memory converted to registers
The purpose of memtest02 in tests/simple/memory.v is to test bit
select on both memory (mem1) and memory converted to registers (mem2).
After 7cfae2c52
, mem1 was automatically converted to registers,
and the test no longer worked as intended. This is fixed by
adding (* nomem2reg *) to mem1.
This commit is contained in:
parent
39fea32c6e
commit
a32d9b6c45
|
@ -44,6 +44,7 @@ input [2:0] bit;
|
|||
output reg y1, y2;
|
||||
output y3, y4;
|
||||
|
||||
(* nomem2reg *)
|
||||
reg [7:0] mem1 [3:0];
|
||||
|
||||
(* mem2reg *)
|
||||
|
|
Loading…
Reference in New Issue