Examples of BlockType


Examples of edu.byu.ece.rapidSmith.bitstreamTools.configurationSpecification.BlockType

      frames += getFramesPerConfigurationBlock(spec, block,i);
    }
    return frames;
  }
  public static int getFramesPerConfigurationBlock(XilinxConfigurationSpecification spec, int blockNum, int column) {
    BlockType type = spec.getBlockTypes().get(blockNum);
    BlockSubType subType = spec.getBlockSubTypeLayout(type).get(column);
    int result = subType.getFramesPerConfigurationBlock();
    return result;
  }
View Full Code Here

Examples of edu.byu.ece.rapidSmith.bitstreamTools.configurationSpecification.BlockType

    int result = subType.getFramesPerConfigurationBlock();
    return result;
  }

  public static int getNumberOfColumns(XilinxConfigurationSpecification spec, int blockNum) {
      BlockType type = spec.getBlockTypes().get(blockNum);
      int result = spec.getBlockSubTypeLayout(type).size();
      return result;
  }
View Full Code Here

Examples of edu.byu.ece.rapidSmith.bitstreamTools.configurationSpecification.BlockType

        // - minor - 0
       
        int topBottom = 0;
        int blockType = 0;
        int row = spec.getTopNumberOfRows();
        BlockType logicBlockType = spec.getLogicBlockType();
        int numberOfColumns = spec.getBlockSubTypeLayout(logicBlockType).size();
        int column = numberOfColumns - 1;
        int minor = 0;
        return FrameAddressRegister.createFAR(spec, topBottom, blockType, row, column, minor);
       
View Full Code Here

Examples of extrabiomes.blocks.BlockCustomFlower.BlockType

    {
        final CommonProxy proxy = Extrabiomes.proxy;
       
    for (Element element : Element.values()) {
      if (!element.isPresent()) continue;
      final BlockType block;
      try {
        block = BlockCustomFlower.BlockType.valueOf(element.name());
      } catch (Exception e) {
        continue;
      }
      if (block != null) {
        final int color = block.color();
        final ItemStack dye;
        switch (color) {
          case -1:
            continue;
          case 0:
View Full Code Here

Examples of extrabiomes.blocks.BlockCustomFlower.BlockType

      if( maxFlowers > 0 ) {
        List<BlockType> map = flowerMaps.get(settings);
        //LogHelper.finer("[FG] "+eBiome.getDecorationSettings()+" = "+maxFlowers+", "+map.size()+" varieties");
        for (int flowers = 0; flowers < maxFlowers; ++flowers) {
          final int idx = rand.nextInt(map.size());
          final BlockType type = map.get(idx);
          //LogHelper.finest("[FG] "+eBiome.biomeName+" > "+flowers+"/"+maxFlowers+" = "+type);
          applyGenerator(type, world, chunkX, chunkZ, rand);
        }
      }
    }
View Full Code Here

Examples of forestry.core.worldgen.BlockType

    if (block instanceof BlockLog) {
      IAlleleBoolean fireproof = (IAlleleBoolean) tree.getGenome().getActiveAllele(EnumTreeChromosome.FIREPROOF.ordinal());
      if (fireproof.getValue()) {
        BlockLog blockLog = (BlockLog) block;
        ForestryBlock fireproofLogBlock = BlockFireproofLog.getFireproofLog(blockLog);
        return new BlockType(fireproofLogBlock.block(), meta);
      }
    }

    return new BlockType(block, meta);
  }
View Full Code Here

Examples of forestry.core.worldgen.BlockType

    super(tree);
  }

  @Override
  public BlockType getWood() {
    return new BlockType(Blocks.log, 2);
  }
View Full Code Here

Examples of forestry.core.worldgen.BlockType

    super(tree);
  }

  @Override
  public BlockType getWood() {
    return new BlockType(Blocks.log, 0);
  }
View Full Code Here

Examples of forestry.core.worldgen.BlockType

  public WorldGenAcaciaVanilla(ITreeGenData tree) {
    super(tree);
  }
  @Override
  public BlockType getWood() {
    return new BlockType(Blocks.log2, 0);
  }
View Full Code Here

Examples of forestry.core.worldgen.BlockType

  }

  @Override
  public BlockType getWood() {
    return new BlockType(Blocks.log, 3);
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.