for loop failed to synthesize using oasys
I have no idea why this piece of code failed to synthesis using the oasys tool: for (i = 0; i < N; i = i + 1) begin if( i >= counter & i < new_pos) out[i] <= bit; end where counter, out are reg, and new_pos is wire for full code module provided below: module decompressor #(parameter N = 32)(clk , reset , start , bit , value , store , out); input clk,reset,start,bit; // start decompress , bit is the value to be added input [$clog2(N):0] value; // value is counter for the decoded bit output reg store; // Store to acknwoledge memory manager output reg[N-1:0]out; // out is decoded data reg [$clog2
0 upvotes
View original discussion ↗
Comments
Sign in or sign up to comment and upvote.
No comments yet.