assert !buffer.redundant() : "trying to generate a file command for a redundant buffer.";
    public void addFileCommand(boolean read, boolean init, int words,                               OffChipBuffer buffer, boolean staticNet) {        assert words > 0 : "trying to generate a file dram command of size 0";        assert buffer.getRotationLength() == 1 :             "The buffer connected to a file reader / writer cannot rotate!";        parent.setMapped();        String functName = "raw_streaming_dram" +             (staticNet ? "" : "_gdn") +             "_request_bypass_" +            (read ? "read" : "write");                String bufferName = buffer.getIdent(0);        JExpression[] args = {            new JFieldAccessExpression(null, new JThisExpression(null),                                       bufferName), new JIntLiteral(words) };        // the dram command        JMethodCallExpression call = new JMethodCallExpression(null, functName,                                                               args);        if (init)            initBlock.addStatement(new JExpressionStatement(null, call, null));        else            steadyLoop.addStatement(new JExpressionStatement(null, call, null));    }