[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: gEDA-user: Icarus Verilog: selecting parts of an array



integer i;
for (i = 0; i < 64; i = i + 8) begin
    @posedge(clk)
    data = test[i:(i+8)];
end

Don't you mean @(posedge clk)?

-- 
Steve Williams                "The woods are lovely, dark and deep.
steve at icarus.com           But I have promises to keep,
steve at picturel.com         and lines to code before I sleep,
http://www.picturel.com       And lines to code before I sleep."