// Route LEFT input port low 4 bits to LED's import byucc.jhdl.Logic.*; import byucc.jhdl.platforms.slaac1.*; import byucc.jhdl.Xilinx.*; import byucc.jhdl.base.*; public class leftToLed extends pelca { public static CellInterface[] cell_interface = { in("LEFT", 4), out("LED", 4) }; public leftToLed( pe parent) { super(parent); Wire LEFT = connect("LEFT", wa("Left", 3, 0)); Wire LED = connect("LED", wa("LED")); buf_o(LEFT, LED); // Route 4 lower bits of input data to LED's } }