1. A Programmable Logic Device (PLD) editor for editing PLD code to be programmed into a PLD, the PLD editor comprising: an interface for communicating with the PLD; a storage system for storing the PLD code, a library of PLD devices, and a library of logic instruction blocks; and a processing system coupled to the interface and the storage system, with the processing system configured to obtain the PLD code, with the PLD code comprising one or more logic instruction blocks and corresponding block parameters for each logic instruction block of the one or more logic instruction blocks, with the PLD code being intended for programming into the PLD, compare the one or more logic instruction blocks of the PLD code to a subset of the library of logic instruction blocks applicable to the PLD according to the library of PLD devices, determine inconsistent logic instruction blocks of the one or more logic instruction blocks, indicate the inconsistent logic instruction blocks, and correct the inconsistent logic instruction blocks using the subset of the library of logic instruction blocks.