Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Local sva variables assignment is resulting in error. #285

Open
Humblefool14 opened this issue Jul 22, 2024 · 0 comments
Open

Local sva variables assignment is resulting in error. #285

Humblefool14 opened this issue Jul 22, 2024 · 0 comments

Comments

@Humblefool14
Copy link

SBY 23:10:00 [ff_flat_basic] base: starting process "cd ff_flat_basic/src; yosys -ql ../model/design.log ../model/design.ys"
SBY 23:10:00 [ff_flat_cover] base: starting process "cd ff_flat_cover/src; yosys -ql ../model/design.log ../model/design.ys"
SBY 23:10:00 [ff_flat_basic] base: dv_lib_ff_flat_mem.sv:37: ERROR: Insufficient number of array indices for mem_nxt.
SBY 23:10:00 [ff_flat_cover] base: dv_lib_ff_flat_mem.sv:37: ERROR: Insufficient number of array indices for mem_nxt.

BITDATA and NUMADDR are arbitrary values.
reg [BITDATA-1:0] mem [0:NUMADDR-1];
reg [BITDATA-1:0] mem_nxt [0:NUMADDR-1];

always_comb begin
mem_nxt = mem;

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant